Request Fund
POST {{BASE_URL}}/request/fund
The endpoint to initiate fund request
| Fields | Data Type | Description | Required |
|---|---|---|---|
| amount | Integer | Amount in kobo | Mandatory |
| isNaira | Boolean | Flag true to send amount as naira instead of Kobo | Optional |
| type | String | This is used to determine the request type. there are two types user-to-businesscases where a business is requesting funds from a user and user-to-usercases where a user is requesting funds from a user | Mandatory |
| sender_email | string | Email of the sender | Mandatory |
| receiver_email | string | Email of the receiver | Mandatory |
| payment_name | string | request title | Mandatory |
| description | string | Request description | Mandatory |
| metadata | object | Define custom keys here | Optional |
Request Body
{"type"=>"user-to-business", "amount"=>3000, "sender_email"=>"okeayodeji.a@gmail.com", "receiver_email"=>"osunifedayo@gmail.com", "description"=>"Product description", "payment_name"=>"Product title"}
HEADERS
| Key | Datatype | Required | Description |
|---|---|---|---|
api-key | string | ||
public-key | string | ||
reference-id | string | ||
idempotencykey | string |