Skip to main content
POST
Collect a payment from a customer

Authorizations

Authorization
string
header
required

Scoped Bearer token from POST /merchant/api/auth.

Body

application/json
amount
number<float>
required

Minimum 100 XOF for a collection.

Required range: 100 <= x <= 1000000
Example:

5000

payment_method
enum<string>
required

Mobile-money provider for collections/deposits.

Available options:
OrangeMoney,
Wave,
Moov
customer_phone
string
required
Example:

"+22370000000"

currency
string
default:XOF
Example:

"XOF"

customer_email
string<email>
reference
string

Your unique idempotency reference. Auto-generated if omitted.

description
string
return_url
string<uri>

Redirect after success (hosted checkout providers).

cancel_url
string<uri>

Redirect after cancel (hosted checkout providers).

fee_bearer
enum<string>

Who pays Kori's collection fee for this payment. Defaults to your dashboard setting (Paramètres → Paiements). merchant: the customer is charged amount and you receive amount minus the fee. customer: the fee is added on top — the customer is charged amount_charged (amount + fee) and you receive exactly amount. Show the customer the total before they pay.

Available options:
merchant,
customer

Response

Payment initiated; awaiting customer confirmation.

success
boolean
Example:

true

message
string
request_id
string<uuid>
data
object