Junipay API
  1. Collections
Junipay API
  • JuniPay API Documentation
  • Authentication
    • Get Token for Payment Form (Client ID + Secret)
      GET
  • Collections
    • Initiate Collection Payment
      POST
  • Disbursements
    • Transfer Funds
      POST
  • Remittance
    • Send Remittance
      POST
  • Transaction Status
    • Check Transaction Status
      GET
  • Verify Recipient
    • Verify Recipient
      POST
  • Webhooks
    • Webhook/Callback
      POST
  1. Collections

Initiate Collection Payment

POST
/payment
Initiates a mobile money collection payment request.
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST '/payment' \
--header 'Authorization: Bearer {{token}}' \
--header 'clientid: {{clientId}}' \
--header 'Content-Type: application/json' \
--data-raw '{
  "email": "customer@example.com",
  "phoneNumber": "233XXXXXXXXX",
  "channel": "mobile_money",
  "provider": "mtn",
  "amount": 150,
  "description": "Invoice #12345",
  "foreignID": "TXN_12345",
  "callbackUrl": "https://yourapp.com/callback"
}'
Response Response Example
{
  "status": "pending",
  "message": "TRANSACTION PENDING",
  "transID": "COL1000001221896",
  "foreignID": "17263839290373",
  "reqToken": "COL100001221896"
}

Request

Header Params

Body Params application/json

Examples

Responses

🟢200Success
text/plain
Body

🟢200Pending
Modified at 2025-08-21 16:06:18
Previous
Collections
Next
Disbursements
Built with