Get FX Rate Quote
GET/v2/fxrate/:id
(In Development)
Get get exchange rate quote.
The quote must be created using POST /v2/customers/{customerId}/fxrate
API.
Use the quote when currency exchange operation is required to have predictable exchange rate applied.
Each quote is only valid for certain period of time. If the quote passed is expired the transaction will be rejected.
If quote is not passed Paysafe will apply the latest exchange rate, that will be availabe at transaction time.
Note! Since exchange rate quotes expire, they will be available only for 30 days. Older quotes will not be kept in the system.
Request
Path Parameters
Exchange rate quote id
Responses
- 200
OK
- application/json
- Schema
- Example (from schema)
- GET_EXCHANGE_QUOTE
Schema
Possible values: >= 3 characters
and <= 3 characters
Currency alphabetic code as specified by ISO 4217
Possible values: >= 3 characters
and <= 3 characters
Currency alphabetic code as specified by ISO 4217
Wallet customer Id for the FX rate sender.
Wallet customer id of the recipient. Pass this for quotes during Peer to Peer transfer. Defaults to sender if not passed.
Represents RFC 3339, section 5.6 date-time.
Represents RFC 3339, section 5.6 date-time.
FX exchange rate between source and target currency.
{
"sourceCurrency": "EUR",
"targetCurrency": "EUR",
"sender": "string",
"recipient": "string",
"id": "string",
"creationTime": "2021-07-15T17:54:12Z",
"expirationTime": "2021-07-15T17:54:12Z",
"fxRate": 0
}
{
"id": "404679be-ccbf-4528-b880-e14cc5041753",
"sourceCurrency": "EUR",
"targetCurrency": "GBP",
"creationTime": "2021-07-15T17:54:12Z",
"expirationTime": "2021-07-15T20:54:12Z",
"fxRate": 0.87,
"sender": "6755433",
"recipient": "6755433"
}