cURL
curl --request POST \ --url https://api.fingopay.io/v1/mpesa/charge \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "phoneNumber": "+254712345678", "amount": 10000, "narration": "Invoice #1234", "merchantTransactionId": "mtx_123", "webhookUrl": "https://example.com/webhooks/fingo", "metadata": {} }'
{ "status": "success", "message": "Transaction initiated successfully", "data": { "merchantTransactionId": "mtx_123", "transactionId": "txn_01j7b6f9p5y9h" } }
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Unique key to safely retry POST without duplicates.
Accepted — final result will be delivered via webhook.
The response is of type object.
object