- TranSwap Api v1.8.8
- Access Token
- Accounts
- Contacts
- Conversions
- References
- Transfers
- Wallets
- CallBacks
Get Conversion Quotation by ID
GET
/v1/conversions/quotations/{quotation_id}
Conversions
Last modified:2024-09-11 00:41:03
Maintainer:Not configured
Conversion Quotation
by ID.Request
Authorization
Provide your bearer token in the
Authorization
header when making requests to protected resources.Example:
Authorization: Bearer ********************
Path Params
quotation_id
string <uuid>
required
Request 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 '/v1/conversions/quotations/'
Responses
🟢200OK
application/json
Body
Quotation information return in Response.
id
string <uuid>
optional
Example:
6d4545f5-2e53-4793-9f12-e57349d89490
payment_channel
enum<string>
optional
We support 3 payment channels depending on destination country. Please refer to the respective payment channel Appendix for details information.
Allowed values:
bankcashewallet
source_country
string
optional
Example:
SG
source_currency
string
optional
Example:
SGD
source_amount
number <double>
optional
Example:
777
min_source_amount
number <double>
optional
Example:
100
destination_country
string
optional
Example:
CN / US / JP / ID
destination_currency
string
optional
Example:
MOP
destination_amount
number <double>
optional
Example:
712.79
rate
number <float>
optional
Example:
1.03319
ts_rate
number <float>
optional
Example:
1.03319
ts_inverse_rate
number <float>
optional
fee
number <float>
optional
Example:
87.11
transaction_fee
number <float>
optional
Example:
87.11
valid_until
string <date-time>
optional
Example:
2020-12-02T11:40:56.7395777+00:00
created_timestamp
string <date-time>
optional
Example:
2020-12-01T11:40:56.7395714+00:00
last_modified_timestamp
string <date>
optional
Example
{
"id": "f3a50e32-90bd-4251-9b82-c63f546eef24",
"source_currency": "HKD",
"destination_currency": "SGD",
"source_amount": 5615.5247,
"destination_amount": 1000,
"rate": 0.18,
"fee": 60,
"valid_until": "2020-06-08T09:14:50.4272597+00:00",
"created_timestamp": "2020-06-07T09:14:50.4272361+00:00",
"last_modified_timestamp": null
}
🟠400Bad Request
🟠401Unauthorized
🟠429429
🔴500Server Error
Modified at 2024-09-11 00:41:03