Skip to main content
POST

Authorizations

x-api-key
string
header
required

Your secret API key from the dashboard. Keys starting sk_sandbox_ work in test mode and keys starting sk_live_ in live mode, on the same base URL. Don't send an Authorization header with it.

Headers

x-idempotency-key
string<uuid>
required

Unique key for idempotent request processing. Retrying with the same key and body within 24 hours returns the original result, except after a retriable 5xx, which is processed again so the retry can succeed. Reusing a key with a different body returns 409 IDEMPOTENCY_KEY_REUSED.

Example:

"baf6a8e2-0c89-46ef-9ca5-faa65b99bcd5"

x-correlation-id
string<uuid>

Unique identifier for request tracing. Generated by the client or server if not provided.

Example:

"550e8400-e29b-41d4-a716-446655440000"

Body

application/json

Settlement account details

Request to register a settlement account (seller bank account)

name
string
required

Account holder name.

Maximum string length: 255
Example:

"Mohammed Ali Alharbi"

id_type
required

Saudi National ID of an individual seller (10 digits, starts with 1)

Allowed value: "NATIONAL_ID"
Example:

"NATIONAL_ID"

id_number
string
required

Account holder ID number for id_type. The IBAN must belong to this ID.

Pattern: ^[0-9]{10}$
Example:

"1012345078"

iban
string
required

Saudi IBAN of the account holder, in uppercase without spaces. Its check digits must be valid.

Pattern: ^SA[0-9]{2}[0-9A-Z]{20}$
Example:

"SA0380000000608010167519"

currency
enum<string>
required

ISO 4217 currency code of the account. Required; it is never assumed.

Available options:
SAR
Example:

"SAR"

certificate_number
string

Freelancers only: the account holder's freelance certificate number, sent with id_type NATIONAL_ID or IQAMA. When present, the account is registered as a freelancer. Not allowed with CR.

Pattern: ^FL-[0-9]+$
Example:

"FL-147333714"

Response

The same IBAN, id_type, id_number, certificate_number and name are already registered as an active settlement account, so no new settlement account was created. The existing one is returned. Names are compared ignoring case and extra spaces.

A settlement account (seller bank account) that can receive payouts from an acceptance account

id
string<uuid>
required

Unique settlement account identifier

Example:

"4b0f6c1e-2d3a-4f5b-8c7d-9e0f1a2b3c4d"

status
required

Verified and able to receive payouts

Allowed value: "ACTIVE"
name
string
required

Account holder name as submitted

Example:

"Mohammed Ali Alharbi"

id_type
enum<string> | null
required

Type of the account holder's ID. Null for accounts added outside the API (for example from the dashboard).

Available options:
NATIONAL_ID,
IQAMA,
CR,
null
Example:

"NATIONAL_ID"

masked_id_number
string | null
required

Account holder ID number, masked. Null for accounts added outside the API.

Example:

"1***78"

masked_iban
string
required

Account IBAN, masked

Example:

"SA03***7519"

currency
string | null
required

ISO 4217 currency code. Null for accounts added outside the API without a currency.

Example:

"SAR"

created_at
string<date-time>
required

Timestamp when the account was registered

Example:

"2026-09-29T10:00:00.000Z"

updated_at
string<date-time>
required

Timestamp of the last update

Example:

"2026-09-29T10:00:00.000Z"