# Update merchant codes for collection account

## Collection account codes update

```json
POST "https://api-fsdh360-test.fsdhgroup.com/api/MerchantCodes/merchant/collectionAccount/update"
```

Query Parameters

| Name        | Type   | Description        |
| ----------- | ------ | ------------------ |
| api-version | String | api version is '1' |

{% tabs %}
{% tab title="Request body" %}

```json
{
  "id": 0,
  "requesterName": "string",
  "collectionAccount": "string",
  "collectionAccountName": "string",
  "sweepAccountNumber": "string",
  "isSweepEnabled": true
}
```

{% endtab %}
{% endtabs %}

<figure><img src="https://1085485156-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FCvMerIdO3ETvUtkUdDyc%2Fuploads%2FDTD5UEshmZ3J29ujXUPr%2F1.PNG?alt=media&#x26;token=e2922921-e098-4372-a290-262c54afe716" alt=""><figcaption><p>Curl and Request URL</p></figcaption></figure>
