Skip to main content

Get FX Trade Details (Atlas)

Overview

The GET /banking/ibans/v2/fx/{reference} endpoint retrieves comprehensive details for a specific FX trade using its unique order reference (e.g. EN-01011900-001).

The returned record includes execution amounts, applied exchange rate, fee breakdowns, counterparty details, inward/outward settlement timestamps, SWIFT MT103 logs, and UETR tracking keys.

Resource Access

  • HTTP Method: GET
  • Endpoint: /banking/ibans/v2/fx/{reference}
  • Authentication: Bearer token required

Request Headers

HeaderValueRequiredDescription
AuthorizationBearer {access_token}YesJWT Bearer access token
Acceptapplication/jsonYesResponse payload format

Path Parameters

ParameterTypeRequiredDescription
referencestringYesThe unique FX order or trade reference (e.g. EN-01011900-001).

Response

Success Response (200 OK)

{
"id": "10492",
"userId": 5820,
"reference": "EN-01011900-001",
"currencyFrom": "USD",
"amountFrom": 5000.00,
"currencyTo": "GBP",
"amountTo": 3927.00,
"rate": 0.7854,
"state": "confirmed",
"source": "wallet",
"sourceId": 101,
"target": "account",
"targetId": 948201,
"inwardSettlementTime": "2026-09-16T02:00:05.000Z",
"outwardSettlementTime": "2026-09-16T02:00:15.000Z",
"createdAt": "2026-09-16T02:00:00.000Z",
"tracking": {
"uetr": "dd60300f-25e6-4fb3-bb87-36ceb02844f2",
"mt103": ":71A:OUR\n:72:TRADE SETTLEMENT"
},
"transaction": {
"receiver": {
"name": "Acme Global Logistics Ltd",
"accountNumber": "20406080",
"bankName": "Barclays Bank UK",
"bankCode": "200000"
}
}
}

Response Fields

FieldTypeDescription
referencestringUnique identifier of the FX transaction.
statestringCurrent lifecycle state (confirmed, inwardSettlementDone, outwardSettlementDone, archived).
ratenumberApplied exchange rate.
inwardSettlementTimestringTimestamp when funding was settled.
outwardSettlementTimestringTimestamp when payout leg was dispatched.
tracking.uetrstringUnique End-to-End Transaction Reference.

Code Examples

cURL

curl -X GET "https://gateway.ahrvo.network/banking/ibans/v2/fx/EN-01011900-001" \
-H "Authorization: Bearer YOUR_ACCESS_TOKEN" \
-H "Accept: application/json"

Python

import requests

url = "https://gateway.ahrvo.network/banking/ibans/v2/fx/EN-01011900-001"
headers = {
"Authorization": "Bearer YOUR_ACCESS_TOKEN",
"Accept": "application/json"
}

response = requests.get(url, headers=headers)
print("Trade Details:", response.json())

JavaScript (Node.js)

const axios = require('axios');

const url = 'https://gateway.ahrvo.network/banking/ibans/v2/fx/EN-01011900-001';
const headers = {
'Authorization': 'Bearer YOUR_ACCESS_TOKEN',
'Accept': 'application/json'
};

axios.get(url, { headers })
.then(res => console.log('Trade State:', res.data.state))
.catch(err => console.error(err.response ? err.response.data : err.message));

Interactive API Explorer