Skip to main content

Documentation Index

Fetch the complete documentation index at: https://d24.mintlify.app/llms.txt

Use this file to discover all available pages before exploring further.

Orders are a great way to manage your business’s transactions. Using an order, you can collect a customer’s personal information and tie it to transaction details. Payment flowchart Every order comprises of three major components:
  1. The customer’s information - This object, customer, stores all user-related information. This includes their first and last names, their email, mobile number and country of residence.
  2. The order information - This object holds transaction data like the transaction amount, unique reference, currency and the transaction description.
  3. A payment object, that holds the transaction redirect URL on completed payment.
Follow these steps to create an order for your customer’s payments
  1. Encrypt the create order request. This request should contain the customer’s information (firstname, lastname, mobile, country and email) and transaction details (amount, reference, currency and description).
  2. Send the encrypted request to the create order endpoint.
{
   "customer":{
      "firstname":"James",
      "lastname":"Jones",
      "mobile":"08101234542",
      "country":"US",
      "email":"jones@gmail.com"
   },
   "order":{
      "amount":100,
      "reference":"12345678",
      "description":"Pay",
      "currency":"USD"
   },
   "payment":{
      "RedirectUrl":"https://www.google.com"
   }
}
With your order created, you can now proceed to initiate payment.