Collection

This endpoint enables you to collect payments from customers - both STK prompt and direct payment to paybill number.

POST https://pretium.africa/api/v1/payment/prompt

Headers


NameTypeDescription

api-key

string

Partner access API key

Request Body


NameTypeDescription

amount

number

Amount to collect from customer

mobile

string

Customer's phone number

mobile_network

string

Mobile money network i.e Safaricom, MTN or Airtel

callback_url

url

URL to receive payment notification

{
   "status": true,
   "transaction_code": "SDF34D"
}

Last updated