GET Country Details
Response Sample
{
"id": 225,
"countryCode": "GBR",
"name": "UNITED KINGDOM "
}
Call this API to retrieve data on all country IDs, country codes and names.
Request URL
https://api.scestaging.com/v3/Country/GetCountries
| Field | In | Format | Description | Required |
| token | header | string | Authentication token | Mandatory |
Response codes
| HTTP Status | Description | Message |
| 200 | Success | Success |
| 400 | Incorrect credentials | Not authorized, Please Login again. |
GET Source Currency Details
Response Sample
{
"id": 16,
"currencyCode": "GBP",
"currencyName": "British Pound",
"currencyShortName": "Pound"
}
Call this API to retrieve data on all source currency IDs, currency codes, names and short-names.
Request URL
https://api.scestaging.com/v3/Currency/GetSourceCurrencies
| Field | In | Format | Description | Required |
| token | header | string | Authentication token | Mandatory |
Response codes
| HTTP Status | Description | Message |
| 200 | Success | Success |
| 400 | Incorrect credentials | Not authorized, Please Login again. |
GET Target Currency Details
Response Sample
{
"id": 225,
"countryCode": "GBR",
"name": "UNITED KINGDOM "
}
Call this API to retrieve data on all target currency IDs, currency codes and names.
Request URL
https://api.scestaging.com/v3/Country/GetTargetCurrencies
| Field | In | Format | Description | Required |
| token | header | string | Authentication token | Mandatory |
Response codes
| HTTP Status | Description | Message |
| 200 | Success | Success |
| 400 | Incorrect credentials | Not authorized, Please Login again. |
GET Retrieve FX Contract History
Response Sample
{
"rate": {
"sourceCurrency": "GBP",
"targetCurrency": "EUR",
"sourceAmount": xxx,
"targetAmount": xxx,
"rate": x.xxxxxx,
"id": x
},
"type": "Spot",
"channel": "API",
"timestamp": "2021-12-06T10:51:51.987",
"fxId": xxxx,
"status": "Approved",
"fxContractId": "FX2021-xxx",
"sourceCurrency": "GBP",
"targetCurrency": "EUR",
"sourceAmount": xxx,
"targetAmount": xxxx,
"extRefID": null
}
Call this API to retrieve the list of all contracts you have booked with Smart.
Request URL
https://api.scestaging.com/v3/Trade/GetFxContractHistory
| Field | In | Format | Description | Required |
| token | header | string | Authentication token | Mandatory |
Response codes
| HTTP Status | Description | Message |
| 200 | Success | Success |
| 400 | Incorrect credentials | Not authorized, Please Login again. |
020 7898 0500