The request must have the following headers:
Content-Type: application/json
Accept-Language: en-US
Origin: { Origin }
We use cookies (our own and those of third parties) to make our websites easier for you to use in accordance with your browser settings. By continuing to use our websites, you consent to the use of cookies. Please see our Cookie Policy for more information on cookies and information on how you can change your browser's cookie settings: Cookie Policy.
Last changes: 09-21-2022
The API method Close Account enables you closing an existing account, created previously through a checkout API call, under the provided "customerAccountId" input parameter.
Field | Mandatory | Description | Type | Length |
closingReason | Yes | The reason why the account is being closed. | String | 255 |
The request must have the following headers:
Content-Type: application/json
Accept-Language: en-US
Origin: { Origin }
Path:
DELETE {Base URL}/accounts/{customerAccountId}
Header:
Content-Type:
application/json
Accept-Language:
en-US
{
"merchantKey": "73afeb44-432e-4b91-be37-a6b3d2fb7447",
"closingReason": "test close account"
}
{
"closingDate": "2022-05-21",
"closingTime": "164500",
"responseDescription": "Successful execution."
}