Create a Payment Request (v2.1)
Overview
Submits a payment withdrawal request to disburse funds from a specified currency wallet directly to a verified beneficiary's bank account.
HTTP Request
POST /banking/ibans/v2/profile/v2.1/request
Authentication
This endpoint requires an active Bearer JWT token in the Authorization header obtained via POST /banking/ibans/v2/users/login:
Authorization: Bearer <your_access_token>
Request Body Fields
| Field | Type | Description |
|---|---|---|
beneficiaryId | int | Sample value: 284 |
purposeId | int | Sample value: 3 |
amount | int | Sample value: 100 |
walletId | int | Sample value: 3 |
clientReference | str | Sample value: Payment-100 |
Code Examples
- cURL
- JavaScript (Axios)
- Python (Requests)
curl -X POST "https://api.ahrvo.network/banking/ibans/v2/profile/v2.1/request" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer <your_access_token>" \
-d '{
"beneficiaryId": 284,
"purposeId": 3,
"amount": 100,
"walletId": 3,
"clientReference": "Payment-100"
}'
import axios from 'axios';
const response = await axios.post('https://api.ahrvo.network/banking/ibans/v2/profile/v2.1/request', {
"beneficiaryId": 284,
"purposeId": 3,
"amount": 100,
"walletId": 3,
"clientReference": "Payment-100"
}, {
headers: {
'Content-Type': 'application/json',
'Authorization': 'Bearer <your_access_token>'
}
});
console.log(response.data);
import requests
url = "https://api.ahrvo.network/banking/ibans/v2/profile/v2.1/request"
headers = {
"Content-Type": "application/json",
"Authorization": "Bearer <your_access_token>"
}
payload = {
"beneficiaryId": 284,
"purposeId": 3,
"amount": 100,
"walletId": 3,
"clientReference": "Payment-100"
}
response = requests.post(url, json=payload, headers=headers)
print(response.json())
Response (201)
{
"success": true,
"payment": {
"id": 416,
"userId": 4,
"reference": "TO-16062022-007",
"clientReference": "Payment-100",
"account": {
"id": 284,
"accountNumber": "2000293918130",
"bankName": "PUNJAB NATIONAL BANK",
"beneficiaryAddress": "INSTITUTIONAL AREA, PLOT, NO.05 PNB SWIFT CENTRE - FLOOR 1 GURUGRAM - SECTOR 32",
"beneficiaryCity": "HARYANA",
"beneficiaryCompanyName": "OLSEN INDUSTRIA E COMERCIO SA",
"beneficiaryCountryCode": "IN",
"beneficiaryEntityType": "company",
"country": "India",
"reference": "RP-09062022-003",
"beneficiaryFirstName": "",
"beneficiaryLastName": "",
"nationalId": "PUNB0644100",
"currency": "INR",
"clientReference": "Test-Bene100",
"status": "approved"
},
"currency": "INR"
}
}
Interactive API Explorer
Test this endpoint live against the Ahrvo gateway and Verto sandbox environments: