Create Account

Create a bank account for an onboarded entity. The onboarding referenced by onboarding_id must have status: SUCCEEDED.

The response includes region-specific banking identifiers. See Account identifiers by region for which fields are returned per region.

POST/banking/accounts

Header Parameters

x-idempotency-keystringrequired

Unique identifier used in HTTP headers to ensure that a request is processed only once, even if it is retried due to network issues or timeouts. See authentication for details (UUID).

Body application/json

account_idstringrequired

The unique identifier of the merchant’s WHITELABEL account. Found on the WHITELABEL dashboard (UUID, 36 characters).

onboarding_idstringrequired

The id of a successful onboarding obtained from Create Entity Onboarding. The onboarding must have status: SUCCEEDED.

account_type"CHECKING" | "SAVINGS" | "INVESTMENT"required

The type of bank account to create.

currencystringrequired

The currency for the account (ISO 4217, 3 characters). Supported values depend on the provider region: USD (US), GBP (UK), AUD (Australia), EUR (EU).

Response

Created

idstring

The unique identifier of the Banking Connectivity account (prefixed acct_).

entity_idstring

The id of the entity associated with this account.

onboarding_idstring

The id of the onboarding used to create this account.

account_idstring

The merchant’s WHITELABEL account identifier.

providerobject

Provider-side identifiers for the account.

Show provider properties
account_idstring

The provider’s internal account identifier.

account_type"CHECKING" | "SAVINGS" | "INVESTMENT"

The type of bank account.

status"ACTIVE" | "PENDING" | "INACTIVE"

The current status of the account.

account_numberstring

The bank account number.

routing_numberstring

The US routing number. Present for US-based accounts.

ibanstring

The International Bank Account Number. Present for UK and EU accounts.

currencystring

The account currency (ISO 4217).

balanceobject

The current balance information for the account.

Show balance properties
availablenumber

The available balance that can be used for transfers.

currentnumber

The current total balance including pending transactions.

pendingnumber

The amount currently in pending transactions.

account_detailsobject

Additional account details and region-specific identifiers.

Show account_details properties
account_namestring

The display name for the account.

sort_codestring

The UK sort code. Present for UK-based accounts.

bsbstring

The Australian BSB number. Present for Australia-based accounts.

swiftstring

The SWIFT/BIC code for international transfers.

payment_railsobject

The payment rails supported by this account.

Show payment_rails properties
incomingstring[]

Payment rails available for receiving funds.

outgoingstring[]

Payment rails available for sending funds.

supports_book_transfersboolean

Whether the account supports internal (book) transfers between accounts on the same provider.

created_atstring

The timestamp when the account was created (ISO 8601).

updated_atstring

The timestamp when the account was last updated (ISO 8601).

Bad Request

codestring
messagesstring[]
http_codeinteger

Not Found

codestring
messagesstring[]
http_codeinteger
Request
curl -X POST "https://api-sandbox.whitelabel.com/v1/banking/accounts" \
  -H "Content-Type: application/json" \
  -H "x-idempotency-key: <x-idempotency-key>" \
  -H "public-api-key: <public-api-key>" \
  -H "private-secret-key: <private-secret-key>" \
  -d '{
  "account_id": "550e8400-e29b-41d4-a716-446655440000",
  "onboarding_id": "onb_990e8400-e29b-41d4-a716-446655440000",
  "account_type": "CHECKING",
  "currency": "USD"
}'
Response
(no body)