POST
Block an account
Blocks the account: payments stop, and cards linked to the account are blocked with it. Send a reason — it’s stored on the account’s status history. Blocking is reversible with Unblock. An account that’s already blocked (or closed) can’t be blocked again — you’ll get a 422.

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