π¦Accounts
API reference for account-related endpoints
Creating a New Account for a Customer
A new account for a customer can be created using the POST endpoint: /customers/{customerId}/accounts. .
Creates new account for the customer and generates a challenge to be signed in order to create a related blockchain account
Unique customer ID
HTTP message signature
HTTP message signature input
Idempotency key (UUID)
Content digest
Type of the account
Currencies of the account, at least one is required (ISO-4217)
Successful operation
Invalid request
Not authorised
Customer not found
Internal error
Account Entity Updates
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.
Blockchain Updates
To proceed with account deployment and activation, a challenge issued by the endpoint must be signed and verified (see Blockchain Updates).
Retrieve Account Entities
To retrieve a list of all account entities registered for the programme, make a GET request to /accounts.
Retrieves accounts' details
HTTP message signature
HTTP message signature input
Successful operation
Invalid request
Not authorised
Internal error
Retrieve an Individual Customer's 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.
Retrieves customer's accounts
Unique customer ID
HTTP message signature
HTTP message signature input
Successful operation
Invalid request
Not authorised
Customer not found
Internal error
Retrieve an Individual Account
To retrieve information about an individual account, make a GET request to /accounts/{accountId}.
Retrieves account's details
Unique account ID
HTTP message signature
HTTP message signature input
Successful operation
Invalid request
Not authorised
Account not found
Internal error
Deactivate an Account
To deactivate an account, use a PATCH request to /accounts/{accountId}/deactivate. This action will also deactivate all associated resources, such as cards.
Deactivates account and all associated resources
Unique account ID
HTTP message signature
HTTP message signature input
Idempotency key (UUID)
Successful operation
Invalid request
Not authorised
Account not found
Invalid state transition
Internal error
Reactivate an Account
To reactivate a previously deactivated account, use a PATCH request to /accounts/{accountId}/activate.
Activates account and all associated resources
Unique account ID
HTTP message signature
HTTP message signature input
Idempotency key (UUID)
Successful operation
Invalid request
Not authorised
Account not found
Invalid state transition
Internal error
Closing an Account
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.
Closes account and generates a challenge to be signed in order to delete related blockchain account
Unique account ID
HTTP message signature
HTTP message signature input
Idempotency key (UUID)
Successful operation
Invalid request
Not authorised
Account not found
Invalid state transition
Internal error
No content
Last updated