Skip to main content

Merchant — Other methods

Below are the additional methods in the merchant group. Parameter details are the same as in the API docs.


Delete a Merchant​

const result = await client.merchant.delete({ merchantId: 12345 });
FieldTypeRequiredDescription
merchantIdnumber✓ID of the Merchant to delete

Get the Merchant's bank account configurations​

const result = await client.merchant.getPagingConfig({ skipCount: 0, maxResultCount: 10 });

Create or update the Merchant's bank account configuration​

const result = await client.merchant.createOrUpdateConfig({ merchantId: 12345, /* ... */ });

Delete the Merchant's bank account configuration​

const result = await client.merchant.deleteConfig({ merchantId: 12345, configId: 1 });

Configure the Merchant's business account​

Applies to ACB accounts only

const result = await client.merchant.configAccountBusiness({ merchantId: 12345, /* ... */ });

Delete the Merchant's business account configuration​

Applies to ACB accounts only

const result = await client.merchant.deleteConfigAccountBusiness({ merchantId: 12345, /* ... */ });