Get an FX Trade (v2.1)
Overview
Fetches the full lifecycle details and execution settlement state of an existing FX trade order by its unique numerical order identifier.
HTTP Request
GET /banking/ibans/v2/orders/v2.1/fx/{id}
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>
Path Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
id | string | Yes | Unique numerical order identifier of the FX trade (e.g. 140) |
Code Examples
- cURL
- JavaScript (Axios)
- Python (Requests)
curl -X GET "https://api.ahrvo.network/banking/ibans/v2/orders/v2.1/fx/{id}" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer <your_access_token>"
import axios from 'axios';
const response = await axios.get('https://api.ahrvo.network/banking/ibans/v2/orders/v2.1/fx/{id}', {
headers: {
'Content-Type': 'application/json',
'Authorization': 'Bearer <your_access_token>'
}
});
console.log(response.data);
import requests
url = "https://api.ahrvo.network/banking/ibans/v2/orders/v2.1/fx/{id}"
headers = {
"Content-Type": "application/json",
"Authorization": "Bearer <your_access_token>"
}
response = requests.get(url, headers=headers)
print(response.json())
Response (200)
{
"success": true,
"order": {
"id": 140,
"reference": "EN-16062022-003",
"amountFrom": "106.00",
"amountTo": "67.75",
"rate": "0.6391593000",
"transactionState": "inward_remittance_pending",
"clientReference": "Test-1000",
"currencyFrom": "USD",
"currencyTo": "GBP"
}
}
Interactive API Explorer
Test this endpoint live against the Ahrvo gateway and Verto sandbox environments: