Retrieve a previously locked rate. Passing a rate that hasn't been locked will result in a 404 not found error.
Request
Authorization
Provide your bearer token in the
Authorization
header when making requests to protected resources.
Example:
Authorization: Bearer ********************
Path Params
Request Code Samples
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl--location--request GET 'https://api-gateway-uat.mmacs.io/platform/trade-service/api/v1/fx-rates/fxr_lck_gg07CgHLWk5280'
Responses
🟢200OK
application/json
Body
Example
{"message":"The FX rate has been successfully fetched.","code":"fxr_lck_gg07CgHLWk5280","sourceAmount":"100","sourceCurrency":"NGN","rate":"0.0006102484350000001","targetCurrency":"USD","targetAmount":"163867.68775572523","tradeAmount":"100","tradeReference":"DnIrBZyanfHjll","status":"processing","createdAt":"2024-12-20T13:42:37.966Z","updatedAt":"2024-12-20T13:42:38.401Z"}