Create FX Rate Quote
POST/profile/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
Header Parameters
Default value: application/json
application/json
- 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
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
Represents RFC 3339, section 5.6 date-time.
Represents RFC 3339, section 5.6 date-time.
FX exchange rate between source and target currency.
Wallet customer Id for the FX rate requester.
{
"sourceCurrency": "EUR",
"targetCurrency": "EUR",
"id": "string",
"creationTime": "2021-07-15T17:54:12Z",
"expirationTime": "2021-07-15T17:54:12Z",
"fxRate": 0,
"sender": "string"
}
{
"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
}
{
"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
}