Skip to main content
POST
Authorize transfer collection
Use this endpoint only when a transfer’s payin_action.type is submit_otp. The payer has received a code from the operator; send it here. See Customer actions for the full flow.
  • The transfer stays collecting. The collection result arrives by webhook or GET /transfers/{transfer_id}, as for any transfer.
  • No Idempotency-Key is needed. A transfer accepts one code; sending another after it was accepted returns 409.
  • A wrong code returns 422 and leaves the transfer waiting, so the payer can try again.
  • 503 with reason provider_outcome_unknown means the provider did not confirm the code. Fetch the transfer before retrying: if payin_action is gone, the code was accepted.

Authorizations

X-Api-Key
string
header
required

Public API key from the merchant dashboard.

X-Api-Secret
string
header
required

Secret shown once when the API key is created.

Path Parameters

transfer_id
string<uuid>
required

Body

application/json
otp_code
string
required
write-only

The code the customer received after submission. Never returned by the API.

Example:

"654321"

Response

The transfer, still collecting, with payin_action removed once the code is accepted.

id
string<uuid>
merchant_id
string<uuid>
customer_id
string<uuid>
quote_id
string<uuid>
merchant_reference
string | null

The merchant_reference you sent on creation.

merchant_metadata
object

The merchant_metadata you sent on creation, or an empty object.

status
enum<string>
Available options:
pending,
collecting,
disbursing,
completed,
failed
payin_status
string
payin_action
object

What the customer must do now that the provider accepted the request. It appears shortly after the payin is created, not in the 201 response itself.

payout_status
string
send_amount
string
Pattern: ^[0-9]+(\.[0-9]+)?$
Example:

"10000"

send_currency
enum<string>

Supported currencies for payins, payouts, and transfers.

Available options:
XAF,
XOF
Example:

"XAF"

receive_amount
string
Pattern: ^[0-9]+(\.[0-9]+)?$
Example:

"10000"

receive_currency
enum<string>

Supported currencies for payins, payouts, and transfers.

Available options:
XAF,
XOF
Example:

"XAF"

payin_amount
string
Pattern: ^[0-9]+(\.[0-9]+)?$
Example:

"10000"

payin_currency
enum<string>

Supported currencies for payins, payouts, and transfers.

Available options:
XAF,
XOF
Example:

"XAF"

payout_amount
string
Pattern: ^[0-9]+(\.[0-9]+)?$
Example:

"10000"

payout_currency
enum<string>

Supported currencies for payins, payouts, and transfers.

Available options:
XAF,
XOF
Example:

"XAF"

corridor_code
string
corridor_type
string
execution
object
payer
object
recipient
object
pricing
object
history
object[]
created_at
string<date-time>
updated_at
string<date-time>
Last modified on October 30, 2026