Payout Api
Payout Initiated
https://peavenue.in/production/api/payment/order/create
Payout Initiated is a payment gateway that allows you to accept payments from your customers. It is a payment gateway that allows you to accept payments from your customers. It is a payment gateway that allows you to accept payments from your customers.
Header
| Name | Type | Description |
|---|---|---|
| api-key | string | (get it from api credentials in api panel) |
| content-type | string | application/json |
| accept | string | application/json |
$headers = array(
'api-key' => 'your-api-key',
'content-type' => 'application/json',
'accept' => 'application/json',
);
Request Body Parameters
| Name | Type | Value |
|---|---|---|
| partner_id | integer | Get it from API Panel (Your Partner ID) |
| mode | String | IMPS/NEFT |
| name | String | Account Holder Name |
| account | Number | Account Number |
| bank | String | Account Bank |
| ifsc | String | Bank Ifsc Code |
| mobile | String | Customer mobile number |
| amount | Double | Transfer amount |
| webhook | String | Callback URL to receive transfer status |
| latitude | String | Location Latitude |
| longitude | String | Location Longitude |
| apitxnid | String | Unique ID for the transaction |
$parameter = [
'partner_id' => '2',
'mode' => 'IMPS',
'name' => 'Test',
'account' => '123456',
'bank' => 'Icici Bank',
'ifsc' => 'ICIC000001',
'mobile' => '9999999999',
'amount' => '100',
'webhook' => 'https://domain.com',
'latitude' => '11.2222',
'longitude'=> '11.2222',
'apitxnid' => 'TXN12345'
];
$body_json_string = json_encode($parameter);
Response
| Name | Type | Condition | Possible Value |
|---|---|---|---|
| statuscode | String | All Time | TXN / TUP / TXF / ERR |
| message | String | All Time | Transaction Response Message |
| txnid | String | In Case TXN/TXF | Payout reference id |
| refno | String | In Case TXN | Payout Bank Refrence |
