Skip to main content
POST
Create escrow

Authorizations

Authorization
string
header
required

Your secret key as a Bearer token. The key prefix selects the environment: sk_test_... (staging) or sk_live_... (production); a key on the wrong host is refused with 403 Unauthorized Access. Each key is limited to 10 requests per minute (429 beyond that) and, on production, to the IP addresses on your dashboard allowlist when one is configured.

Headers

customer-id
string

The merchant customer this request acts on behalf of. Omit it to act as your own business account (only a business-type account can sell on its own behalf).

Body

multipart/form-data
amount
number
required

Escrow amount in major units (NGN), not kobo: send 150000 for ₦150,000. Kobo are allowed as decimals (₦100.20 is 100.2) and are rounded to two places. Minimum 1000.

Required range: x >= 1000
Example:

150000

purpose
string
required

Short title of what is being sold.

Example:

"MacBook Pro 14\""

whoPays
enum<string>
required

Which party pays the Payluk fee.

Available options:
buyer,
seller,
both
Example:

"both"

maxDelivery
integer
required

Length of the delivery window, in deliveryTimeline units. Required. Between 1 and 365.

Required range: 1 <= x <= 365
Example:

3

deliveryTimeline
enum<string>
required

Unit for maxDelivery. Required.

Available options:
minutes,
hours,
days
Example:

"days"

description
string
Example:

"Space grey, sealed"

totalQuantity
integer

Units for sale off this link. Above 1, each buyer's payment mints its own escrow; see the multi-quantity guide.

Example:

1

categoryId
string
Example:

"665f1b2c9a1e4d0012ab3c30"

imageUrl
file

Product image. Attach the field up to 5 times to upload multiple images.

Response

Escrow created.

status
integer
Example:

200

message
string
Example:

"Operation successful"

data
object