Get Quote by Id
Endpoint: GET https://api.zamplabs.com/api/v1/transfer/rfq/:quoteId
This API will fetch the requested quote by quote Id
Response JSON Representation
{
"data": {
"id": "iihr42_HVLTQgQJTSahdqSmSXrHeF_06_02",
"corridor_id": "iihr42_Vm6YbkiPJjuNySeoRdoBp8_05_17",
"source_currency_code": "USD",
"destination_currency_code": "USD",
"source_amount": 10,
"exchange_rate": 1,
"receiving_amount": 9.8,
"total_fees_currency": "USD",
"total_fees": 0.2,
"converted_amount": 9.8,
"created_at": "2023-06-02T07:19:40.379579706Z",
"updated_at": "2023-06-02T07:19:40.379579791Z",
"expired_at": "2023-06-02T07:21:40.379579852Z"
}
}
Error Codes
HTTP Code | Error Response | Description |
---|---|---|
400 | {"code":"QUOTE_EXPIRED","message":"This quote is expired"} | The requested quote has expired. |