This endpoint requires authentication. Include your Bearer token in the Authorization header.
Code Examples
Authorizations
JWT Authorization header using the Bearer scheme. Format: "Bearer {token}"
Path Parameters
Beneficiary ID
curl --request GET \
  --url https://server26-dot-royalti-project.uc.r.appspot.com/integrations/vertofx/beneficiaries/{id} \
  --header 'Authorization: Bearer <token>'{
  "success": true,
  "data": {
    "id": 4754,
    "accountNumber": "2092805598",
    "bankName": "United Bank for Africa Plc",
    "firstName": "John",
    "lastName": "Doe",
    "currency": "NGN",
    "beneficiaryCountryCode": "NG"
  }
}Get VertoFX Beneficiary Details
curl --request GET \
  --url https://server26-dot-royalti-project.uc.r.appspot.com/integrations/vertofx/beneficiaries/{id} \
  --header 'Authorization: Bearer <token>'{
  "success": true,
  "data": {
    "id": 4754,
    "accountNumber": "2092805598",
    "bankName": "United Bank for Africa Plc",
    "firstName": "John",
    "lastName": "Doe",
    "currency": "NGN",
    "beneficiaryCountryCode": "NG"
  }
}const response = await fetch('https://server26-dot-royalti-project.uc.r.appspot.com/integrations/vertofx/beneficiaries/example-id', {
  method: 'GET',
  headers: {
    'Authorization': `Bearer ${token}`,
  },
});
const data = await response.json();
console.log(data);
JWT Authorization header using the Bearer scheme. Format: "Bearer {token}"
Beneficiary ID