List Customers
Returns a list of customers for the organization.
query Parameters
pagelimitorderHeaders
PLANBOK-X-API-KEYAPI key for authentication
List Customers › Responses
List of customers
successstatusmessageCreate Customer
Creates a customer profile, idempotently. If the organization already has
a customer with this name and refId, the existing customer is returned
and no second row is written; data.created tells you which happened, and
the id is the same on every retry, so a repeated click or a retried
request is safe.
Two concurrent calls with the same pair can only write one row. The
losing call returns the winner, so both responses carry the same id.
The status is 201 in both cases; read data.created to distinguish a
new customer from an existing one.
Headers
PLANBOK-X-API-KEYAPI key for authentication
Create Customer › Request Body
nameName of the customer
refIdReference ID of the customer
Create Customer › Responses
Returns the customer. data.created is true when this call wrote
the row and false when an existing customer with the same name and
refId was returned.
successstatusmessageInitialize Customer
Starts the PIN setup process for a customer.
path Parameters
idCustomer ID
Headers
PLANBOK-X-API-KEYAPI key for authentication
Initialize Customer › Request Body
redirectUrlURL to redirect to after challenge completion.
Initialize Customer › Responses
Initialization challenge created
successstatusmessageUpdate PIN
Starts the PIN update process for a customer.
path Parameters
idCustomer ID
Headers
PLANBOK-X-API-KEYAPI key for authentication
Update PIN › Request Body
redirectUrlURL to redirect to after challenge completion.
Update PIN › Responses
PIN update challenge created
successstatusmessageReset PIN
Starts the PIN reset process via recovery questions.
path Parameters
idCustomer ID
Headers
PLANBOK-X-API-KEYAPI key for authentication
Reset PIN › Request Body
redirectUrlURL to redirect to after challenge completion.
Reset PIN › Responses
PIN reset challenge created
successstatusmessageSetup Recovery
Starts the recovery method setup process for a customer.
path Parameters
idCustomer ID
Headers
PLANBOK-X-API-KEYAPI key for authentication
Setup Recovery › Request Body
redirectUrlURL to redirect to after challenge completion.
Setup Recovery › Responses
Recovery challenge created
successstatusmessageExport Private Keys
Starts a challenge for exporting the private keys of all customer wallets.
path Parameters
idCustomer ID
Headers
PLANBOK-X-API-KEYAPI key for authentication
Export Private Keys › Request Body
redirectUrlURL to redirect to after challenge completion.
Export Private Keys › Responses
Export challenge created
successstatusmessage