curl --request POST \
--url https://api.notchpay.co/payments \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--data '
{
"amount": 5000,
"currency": "XAF",
"email": "[email protected]",
"phone": 237600000000,
"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",
"items": [
{}
],
"shipping": {},
"address": {},
"customer_meta": {}
}
'