POST
Close an account
Closes the account permanently and closes its linked cards. A blocked account can be closed directly.
Closing can’t be undone. If the customer needs an account again, you’d open a new one.

Authorizations

Authorization
string
header
required

The user's id_token from authentication — the ID token, not the access_token. The program and environment come from the token.

Path Parameters

customerId
string
required

The customer's ID.

accountId
string
required

The account's ID.

Body

application/json
reason
string
required

Required. Why the status is changing — stored on the account's status history.

Minimum string length: 1

Response

Status changed

success
boolean
Example:

true

data
object