Create FX Rate Quote
POST/v2/customers/:customerId/fxrate
(In Development)
Create currency exchange rate quote for specific currency to specific target currency from Paysafe.
There are two type of exchange operations that can be triggered usint this quote:
- Currency conversion inside customer account
- Currency conversion during transfer operation between two customer, where currency do not match
The quote can be passed as parameter during currency conversion and allows predictable behavior of the operation. Each quote is valid for specific time. If expired quote is passed the currency conversion will fail.
Note ! The exchange rate includes the respective Paysafe fees. It should be noted, that because of the way Paysafe applies the fee some rounding might internlly cause minor difference in the actual conversion output. Usually this would be in customer benefit.
Request
Path Parameters
- application/json
Body
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.
Responses
- 200
OK
- application/json
- Schema
- Example (from schema)
- GET_LOCAL_CONVERSION_QUOTE_RESPONSE
- GET_TRANSFER_CONVERSION_QUOTE_RESPONSE
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"
}
{
"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": "328738"
}