API
  • Introduction
  • Authentication
  • Error Handling
  • API ENDPOINTS
    • Payment
    • Invoices
      • Create Invoice
      • Re-send Invoice
      • Get Invoice - customerEmail
      • Get Invoice - invoiceNo
      • Get Invoice - orderNo
    • Payment Link
      • Create Link
      • Get Link
      • Update Link
      • Delete Link
    • Charge Token
      • Create Token
      • Get Token
      • Charge Token
      • Bulk Charge
      • Query Bulk Charge with BacthId
    • Subscriptions
      • Create Subscription
      • Charge Subscription
      • Get Customer Subscription
      • Update Customer Subscription
      • Get Merchant Subscription
    • Virtual Account
      • Create Virtual Account
      • Get Virtual Account
      • Delete Virtual Account
      • Get Payment
    • Pay with Transfer
    • Pay with USSD
    • Mobile Money Payments
    • Bank Account Payments
    • Card Payment
      • Initializing a Card Payment
      • Scenario 1 (Verve Card Type)
      • Scenario 2 (Master Card and Visa Card Type)
      • Scenario 3
Powered by GitBook
On this page
  1. API ENDPOINTS

Mobile Money Payments

POST https://seerbitapi.com/api/v2/payments/initiates

The code snippet below shows an example request for generating a payment link to complete a payment

curl --location 'https://seerbitapi.com/api/v2/payments/initiates' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer YOUR_ENCRYPTION_KEY' \
--data-raw '{   
  "fullName":"FirstName LastName",
  "email":"firstname@mail.com",
  "mobileNumber":"23309494949498",
  "publicKey":"merchant_publicKey",
  "paymentReference": "MOMOTYTSF4VA",
  "deviceType":"nokia 3310",
  "sourceIP":"1.0.1.0",
  "currency": "UGX",
  "productDescription": "snacks",
  "country": "UG",
  "fee": "1.00",
  "network":"MTN",
  "voucherCode":"",
  "amount": "10.01",
  "paymentType": "MOMO"
}'
{
  "status": "SUCCESS",
  "data": {
      "code": "INP",
      "payments": {
          "paymentReference": "O67456S537798799QWEWAT0MPTYP",
          "linkingReference": "CF323190231596441884237"
      },
      "message": "Kindly Enter Otp"
  }
}
PreviousPay with USSDNextBank Account Payments

Last updated 8 months ago