Disburse
This endpoint calls the Pretium payment protocol to verify that the payment has been made to the settlement wallet and release the equivalent fiat.
POST {{uri}}/v1/pay/GHSBody Request
Name
Type
Description
shortcode
String
Recipient mobile number
amount
Integer
Amount to disburse
account_name
String
Recipient Name
transaction_hash
String
0x2cc419f14f6f1fefdb58e0359480fa321866a10668513488e71677c345339f27
chain
String
CELO, BASE ,STELLAR, TRON or SCROLL
mobile_network
String
Supported mobile network ie Airtel go
callback_url
URL
URL to receive payment notification
{
"shortcode": "0799770833",
"account_name: "John Doe",
"amount": "500",
"fee": "10",
"mobile_network": "Airtel go"
"chain": "CELO",
"transaction_hash":"0x55a572efe1720250e442f38741477a4fc3f7f152e5cd208cc52f8222a1c2a13b",
"callback_url": "https://pretium.africa/callback"
}{
"code": 200,
"message": "Disburse initiated",
"data": {
"status": "PENDING",
"transaction_code": "TSALX",
"message": "Success! Processing payment."
}
}{
"code": 400,
"message": "Failed - Bad Request"
}Last updated