Skip to main content
POST
Create a hold

Authorizations

Authorization
string
header
required

An API key, pk_live_… or pk_test_….

Headers

Idempotency-Key
string
required

Your unique key for this write, at most 255 characters. A retry with the same key and body gets the first answer back.

Maximum string length: 255

Body

application/json
accountId
string
required
amount
string
required

Minor units, as a string.

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

"500000"

currency
string
required
Example:

"NGN"

reason
string
Example:

"Customer unreachable for 180 days"

expiresAt
string<date-time>

Response

OK

id
string

hld_…

accountId
string
accountName
string
currency
string
amount
string

Minor units, as a string.

captured
string

Minor units, as a string.

status
enum<string>

CAPTURED: fully captured

Available options:
ACTIVE,
CAPTURED,
RELEASED,
EXPIRED
reason
string
entryId
string

the pending entry this hold protects, if any

expiresAt
string<date-time>
createdAt
string<date-time>
updatedAt
string<date-time>