Bank Transfer
This endpoint calls the Pretium payment protocol to verify that the payment has been made to the settlement wallet and settle the payment to the recipient bank account number.
POST {{uri}}/v1/pay/MWKBody Request
Name
Type
Description
type
String
Type of payment, BANK_TRANSFER
account_number
String
Recipient bank account number
bank_code
String
This is the code assigned to each bank by the central bank
amount
Integer
Amount to disburse
chain
String
CELO, BASE ,STELLAR, TRON or SCROLL
transaction_hash
String
0x2cc419f14f6f1fefdb58e0359480fa321866a10668513488e71677c345339f27
callback_url
URL
URL to receive payment notification
{
"type": "BANK_TRANSFER",
"account_name": "John Doe",
"account_number": "001918181",
"bank_name": "Standard Bank",
"bank_code": "247247",
"amount": "500",
"fee": "10",
"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