Skip to main content
POST
Error

Authorizations

Authorization
string
header
required

Secret API key. Use sk_test_... for sandbox data or sk_live_... for live data (after verification and live mode). Do not use pk_ keys.

Headers

Idempotency-Key
string
required

Path Parameters

escrowId
string
required

Body

application/json

Optional amount in naira (defaults to remaining held) and optional reason.

amount
number

Amount to refund in naira. Omit to refund the remaining held balance.

Example:

400

reason
string

Why the funds are being refunded.

Example:

"unable_to_fulfill"

Response

Resource created

success
boolean
Example:

true

data
object
meta
object