Query Virtual Account
Query a specific virtual account by account number.
Endpoint
POST /v1/virtual-accounts/queryAuthentication
Header
Value
Request body
Field
Type
Required
Description
Example request
curl -X POST https://ramp-api.ivorypay.io/api/v1/virtual-accounts/query \
-H "x-api-key: your_api_key" \
-H "Content-Type: application/json" \
-d '{
"accountNumber": "9900123456"
}'const response = await fetch("https://ramp-api.ivorypay.io/api/v1/virtual-accounts/query", {
method: "POST",
headers: {
"x-api-key": "your_api_key",
"Content-Type": "application/json",
},
body: JSON.stringify({
accountNumber: "9900123456",
}),
});
const data = await response.json();
console.log(data);import requests
response = requests.post(
"https://ramp-api.ivorypay.io/api/v1/virtual-accounts/query",
headers={
"x-api-key": "your_api_key",
"Content-Type": "application/json",
},
json={
"accountNumber": "9900123456",
},
)
print(response.json())Example response
Last updated