Skip to main content
POST
Make Card Payment

Authorization

string
required
Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.

Request Body

integer
required
Your unique service identifier. You’ll receive this when you register your service with us.
string
required
Your internal reference for this payment.
string
required
A unique identifier for this transaction. Ensure this is unique for each request to avoid duplicate transactions. Use this to track the transaction in your system.
string
required
The type of transaction. Use ‘CTM’ for customer-to-merchant payments (customer payments).
number
required
The amount to be transacted. Use a decimal point for fractional amounts (e.g., 10.50).
string
required
The network for card payments. Use ‘CRD’ for card payments or ‘CRD’ for both card and mobile money.
string
required
You can use your service name or the purpose of the transaction as the nickname as this will be shown on the payers phone when they receive the payment request.
string
required
The payment method. Use ‘CRD’ for card payments or ‘CRM’ for both card and mobile money.
string
required
The currency code for the transaction. For example, use ‘GHS’ for Ghanaian Cedi, ‘USD’ for US Dollars.
string
required
The currency value. This is typically the amount in the currency specified in the currency_code unless you’re dealing with a specific exchange rate scenario.
string
required
Your URL where we’ll send transaction status updates. Ensure this endpoint is set up to receive POST requests.
string
required
Your landing page after the transaction has been completed.
string
required
The timestamp of your request. Use the format YYYY-MM-DD HH:MM (e.g., ‘2024-06-28 12:46’).

Response

string
A human-readable message describing the result of the payment initiation.
string
A code indicating the status of the payment initiation. Refer to our response code documentation for details.
string
The Card payment page to redirect your app or users to for the actual payment.

Example Request

Example Response