Delete Account

The Account is marked for Deletion.

Optional Query Strings:

  • ? DeleteDuplicateCard (required to allow Account Delete if Card already exists)

If you are an ISO (Independent Sales Organization), you will need to specify a SubClientID (see notes below).


URL:

https://FQDN/v1/clients/ClientID/accounts/Account ID
https://FQDN/v1/clients/ClientID/accounts/AccountID?DeleteDuplicateCard

Note:
ReadMe currently does not support empty query strings, so building a request interactively with query strings (ie ?DeleteDuplicateCard) is unavailable. However, works today in sandbox/production.


Request:

No Request Data


Response:

Status Codes:

Status Code Description
200 OK The Account is marked for deletion.
207 Multi-Status Account marked for deletion, but Delete Duplicate Card Check Failed.

See Status Codes for other possible Status Codes that might be returned.


Response Data:

JSON Name Value Description Status Code
200 207 Other
SC Integer
3-digit code
HTTP Status Code O
EC String
1 or 8 characters
Internal Error Code O
EM String Error Message O

Sample Response:

Account marked for deletion:
{
  "SC": 200,
  "EC": "0"
}

Notes:

For Clients who are an ISO (Independent Sales Organization), to specify your ClientID and a SubClientID, use the underscore character ("_") to separate the two values: <ClientID>_<SubClientID> where:

  • ClientID is your unique 22-character string and
  • SubClientID is an assigned 4, 6 or 8-digit value.