v1

latestOpenAPI 3.1.02026-07-2631037.6 KB

Initialize a payment

post/payments

Request body

OR
OR

Example request

{
  "amount": 5000,
  "currency": "XAF",
  "email": "john@example.com",
  "customer": "cus_123456789",
  "description": "Paiement pour commande",
  "reference": "order_123",
  "callback": "https://example.com/callback",
  "locked_currency": "XAF",
  "locked_channel": "cm.mtn",
  "locked_country": "CM"
}

Response

Payment initialized

statusstring required
messagestring required
codeinteger required
authorization_urlstring

Example response

{
  "status": "Accepted",
  "message": "Payment initialized",
  "code": 201,
  "authorization_url": "https://pay.notchpay.co/pay_123456789"
}