Create payment
// POST
/api/merchant/payments/moncash/
headers ={
Authorization: Bearer <token>
}// BODY /JSON
{
"amount": 2500, //required (htg)
"reference_id": "ORDER-001", //optional - your internal order/reference ID. Returned as-is in callbacks.
"customer_name": "Jean Pierre", //optional
"customer_email": "[email protected]", //optional
"description": "Commande #001" //optional
}
response
// response example
{
"success": true,
"data": {
"id": "550e8400-e29b-41d4-a716-446655440000",
"reference_id": "ORDER-001",
"amount": "2500.00",
"status": "pending",
"redirect_url": "https://moncashbutton.digicelhaiti.com/Moncash-middleware/..."
}
}Last updated