Skip to main content
DELETE
Delete an External Account

Authorizations

Authorization
string
header
required

Token from POST /auth/token

Path Parameters

externalAccountId
string
required

External Account ID (ext_ prefix).

Query Parameters

emergencyRevoke
boolean

Delete even while a converting send to this account is in flight, and stop every such send not yet issued. Requires reason. See the operation description.

reason
string

Why the account is being cut off. Required with emergencyRevoke=true: 3 to 500 characters once leading and trailing whitespace is trimmed, otherwise 400 InvalidParameter. The limits apply to the trimmed value only, so this schema sets no length on the raw string: a value padded with whitespace is accepted when what is left fits. The trimmed value is recorded on every transaction the revoke stops and in operations logs, for operations review. It must not carry personal data (names, emails, phone numbers, addresses or account numbers): say what happened, for example "wallet reported compromised", and keep any reference to your own case id.

Response

The outcome of DELETE /external-accounts/{externalAccountId}?emergencyRevoke=true. The account is deleted in every case. Both lists name transactions by their txn_ id and are empty when nothing matched.

The outcome of DELETE /external-accounts/{externalAccountId}?emergencyRevoke=true. The account is deleted in every case. Both lists name transactions by their txn_ id and are empty when nothing matched.

revokedTransactionIds
string[]
required

Converting sends to this account (a crypto send that swaps to another asset, then sends to this account) whose send had not been issued yet, and which the revoke stopped. Their funds stay with the provider and are held for operations review: nothing is sent to this account, and nothing is returned automatically. The transaction never completes: it reads failed, with the funds held for review.

Public TypeID, e.g. txn_01h455vb4pex5vsknk084sn02q.

Pattern: ^[a-z]+_([0-9a-hjkmnp-tv-z]{26}|[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12})$
sendsNotRecalledTransactionIds
string[]
required

Sends to this account that may already have been issued and may still complete. Only crypto to crypto sends by Coinme are covered: a converting or same-asset withdrawal or deposit address crypto payout, a retry of one, or any other crypto to crypto send by that provider to this account (such as a virtual account's crypto forward). One is listed while it is pending or processing, or recorded as failed after an unclear provider answer that the provider may still deliver. An issued send cannot be recalled: it is not affected by the revoke. A pending send is listed even if its call had not gone out yet, because that cannot be told apart from one already on its way; if it had not, it fails when it re-checks the account. A converting send whose send was never issued is in revokedTransactionIds instead.

One narrow case is in neither list: a same-asset send whose re-check of the account passed in the instant before the delete committed, and whose transaction did not exist yet when the lists were read, can still be issued. The transaction query below finds it only once its transaction exists, so repeat the query shortly after the revoke.

Not covered, so never listed: every other send to this account, notably any deposit address or virtual account crypto payout by Erebor, and any crypto buy delivered to this account. An empty list does not mean nothing can still reach the account. To find those, list the customer's transactions that are pending or processing (GET /transactions with customerId and status) and check those whose destination is walletExternal with this account's id.

Public TypeID, e.g. txn_01h455vb4pex5vsknk084sn02q.

Pattern: ^[a-z]+_([0-9a-hjkmnp-tv-z]{26}|[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12})$