curl --request GET \
--url https://api.royalti.io/integrations/vertofx/payment-requests/{id} \
--header 'Authorization: Bearer <token>'{
"success": true,
"data": {
"id": "vfx-payment-123",
"amount": 1000.5,
"currency": "USD",
"status": "completed",
"reference": "PAY-12122024-001",
"memo": "Monthly payment"
}
}Get VertoFX Payment Request Details
curl --request GET \
--url https://api.royalti.io/integrations/vertofx/payment-requests/{id} \
--header 'Authorization: Bearer <token>'{
"success": true,
"data": {
"id": "vfx-payment-123",
"amount": 1000.5,
"currency": "USD",
"status": "completed",
"reference": "PAY-12122024-001",
"memo": "Monthly payment"
}
}/integrations/vertofx/payment-requests/{id} endpoint retrieves detailed information about a specific payment request.
Method: GET
Path Parameter:
| Parameter | Type | Description |
|---|---|---|
| id | string | The unique identifier of the payment request |
const response = await fetch('https://api.royalti.io/integrations/vertofx/payment-requests/example-id', {
method: 'GET',
headers: {
'Authorization': `Bearer ${token}`,
},
});
const data = await response.json();
console.log(data);