Accounts
API reference for account-related endpoints
Last updated
API reference for account-related endpoints
Last updated
A new account for a customer can be created using the POST
endpoint: /customers/{customerId}/accounts
. .
Any internal updates to the account entity will be reported through webhook update events. For details on how to set up and manage webhook subscriptions, please refer to Webhooks.
To proceed with account deployment and activation, a challenge issued by the endpoint must be signed and verified (see Blockchain Updates).
To retrieve a list of all account entities registered for the programme, make a GET
request to /accounts
.
To retrieve information about an individual customer's accounts, make a GET
request to /customers/{customerId}/account
with the customer ID as a path parameter.
To retrieve information about an individual account, make a GET
request to /accounts/{accountId}
.
To deactivate an account, use a PATCH
request to /accounts/{accountId}/deactivate
. This action will also deactivate all associated resources, such as cards.
To reactivate a previously deactivated account, use a PATCH
request to /accounts/{accountId}/activate
.
An account can be closed and subsequently removed from the programme using a DELETE
request to /account/{accountId}
. This will also deactivate all associated resources, including cards, and irreversibly deactivate the smart contract associated with it. All data will be preserved for audit and compliance purposes.
Creates new account for the customer and generates a challenge to be signed in order to create a related blockchain account
/customers/{customerId}/accounts
Unique customer ID
HTTP message signature
HTTP message signature input
Idempotency key (UUID)
Content digest
Type of the account
card_account
Retrieves customer's accounts
/customers/{customerId}/accounts
Unique customer ID
HTTP message signature
HTTP message signature input
Retrieves account's details
/accounts/{accountId}
Unique account ID
HTTP message signature
HTTP message signature input
Deactivates account and all associated resources
/accounts/{accountId}/deactivate
Unique account ID
HTTP message signature
HTTP message signature input
Idempotency key (UUID)
Activates account and all associated resources
/accounts/{accountId}/activate
Unique account ID
HTTP message signature
HTTP message signature input
Idempotency key (UUID)
Closes account and generates a challenge to be signed in order to delete related blockchain account
/accounts/{accountId}
Unique account ID
HTTP message signature
HTTP message signature input
Idempotency key (UUID)
No body