Quote

Get a qoute for a currency exhange.

SecurityBearer
Request
path Parameters
version
required
string
Request Body schema: application/json
required
object (SourceTransferDetail)

Source details for currency exchange currency exchange quote

required
object (DestinationTransferDetail)

Destination details for currency exchange quote

amount
number <double>

Amount in source currency for currency exchange quote
Supply destination_amount or amount, but not both.

currency
required
string non-empty

Source currency for currency exchange quote
Must be different than destination_currency

destination_amount
number <double>

Amount in destination currency for currency exchange quote.
Supply destination_amount or amount, but not both.

destination_currency
required
string non-empty

Destination currency for currency exchange quote
Must be different than currency

Responses
201

Returns the newly created quote

400

Bad request

401

Unauthorized

404

Account not found

500

Server Error

post/api/{version}/transfers/quote
Request samples
application/json
{
  • "source": {
    • "account_guid": "d2b7c9d2-85e7-4c51-92d0-3f97a47f8d76",
    • "wallet_guid": "17eaeda9-c0ab-4ac3-8ef9-27ac9b388a03",
    • "wallet_id": "string",
    • "card_proxy": "string",
    • "outside_instrument_guid": "f2fb9354-2f4f-40d1-819c-4ff2a66a4bd8"
    },
  • "destination": {
    • "outside_instrument_guid": "f2fb9354-2f4f-40d1-819c-4ff2a66a4bd8",
    • "account_guid": "d2b7c9d2-85e7-4c51-92d0-3f97a47f8d76",
    • "wallet_guid": "17eaeda9-c0ab-4ac3-8ef9-27ac9b388a03",
    • "wallet_id": "string",
    • "card_proxy": "string"
    },
  • "amount": 0.1,
  • "currency": "string",
  • "destination_amount": 0.1,
  • "destination_currency": "string"
}
Response samples
application/json
{
  • "source": {
    • "account_guid": "d2b7c9d2-85e7-4c51-92d0-3f97a47f8d76",
    • "wallet_guid": "17eaeda9-c0ab-4ac3-8ef9-27ac9b388a03",
    • "wallet_id": "string",
    • "card_proxy": "string",
    • "outside_instrument_guid": "f2fb9354-2f4f-40d1-819c-4ff2a66a4bd8"
    },
  • "destination": {
    • "outside_instrument_guid": "f2fb9354-2f4f-40d1-819c-4ff2a66a4bd8",
    • "account_guid": "d2b7c9d2-85e7-4c51-92d0-3f97a47f8d76",
    • "wallet_guid": "17eaeda9-c0ab-4ac3-8ef9-27ac9b388a03",
    • "wallet_id": "string",
    • "card_proxy": "string"
    },
  • "fees": [
    • {
      • "name": "string",
      • "amount": 0.1,
      • "currency": "string"
      }
    ],
  • "conversionDetails": {
    • "reference": "string",
    • "conversion_rate": 0.1,
    • "from_currency": "string",
    • "to_currency": "string",
    • "from_amount": 0.1,
    • "to_amount": 0.1,
    • "expiry_seconds": 0,
    • "expiry_at": "2019-08-24T14:15:22Z"
    }
}
Copyright © Qolo 2019-2023. All right reserved.