[Beta] Remove a merchant account

Removes a merchant account from the platform - It will no longer be accessible via API or in the Yeeld dashboard.

All data associated with the account will also be removed and will no longer be accessible.

This will also cancel any existing subscription if applicable.

NOTE: If the account has an external identifier set, then it can be restored by recreating the account again with the same external identifier.

POST/api/v1/platform/surcharging/accounts/{accountId}/remove

Removes a merchant account from the platform - It will no longer be accessible via API or in the Yeeld dashboard.

All data associated with the account will also be removed and will no longer be accessible.

This will also cancel any existing subscription if applicable.

NOTE: If the account has an external identifier set, then it can be restored by recreating the account again with the same external identifier.

Path Parameters

accountIdpathrequired

The ID of the merchant account (acct_***)

NOTE: If using external identifiers, this can be used instead of the account ID.

Responses

200Default Response
RequestPOST/api/v1/platform/surcharging/accounts/{accountId}/remove
curl 'https://api.theyeeld.com/api/v1/platform/surcharging/accounts/{accountId}/remove' \
  --request POST
Response
{
"id": "string"
}