Payment Features
Request Payment
The Payment request API allows you create a payment and send payment link directly to customer email or phone directly on your integration.
Create Payment Request
Create a payment link on your integration
Endpoint: /request_payment
Method: POST
Header
Param | Type | Required? | Decription |
---|---|---|---|
authorization | string | Yes | Set value to Bearer SECRET_KEY |
content-type | string | Yes | Set value to application/json |
Body Param
Param | Type | Required? | Decription |
---|---|---|---|
recipient | string | Yes | payment recipients. to be seperated by "," phone number and emails mixture allowed. |
amount | string | Yes | Payment Amount |
currency | string | Yes | payment currency |
description | string | Yes | payment description. |
Sample Post
curl https://api.budpay.com/api/v2/request_payment
-H "Authorization: Bearer YOUR_SECRET_KEY"
-H "Content-Type: application/json"
-d '{
"recipient":"toluxsys@yahoo.ca,07036218209,sam@bud.africa,08161112404",
"amount":"200",
"currency":"NGN",
"description":"Testing Payment Request"
}'
-X POST
Sample Response
{
"status": true,
"message": "Payment request processed successfully"
}