Initialize a payment
Changed onpost/payments
Request
- Base URLhttps://api.notchpay.co
- URLhttps://api.notchpay.co/payments
- Auth
- API key in header Authorization
- or API key in header X-Sync
Request body
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
Changes
- breaking
the response's body type changed from no type to
objectfor status - breaking
the response's body type changed from no type to
objectfor status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the required property
to the response with the status - info
added the required property
to the response with the status - info
added the required property
to the response with the status - info
added the required property
to the response with the status - info
added the required property
to the response with the status - info
added the required property
to the response with the status
- breaking