Payins

Get exchange rate for payin

Changed on

Gets the exchange rate for a given fiat amount and payin rail.

post/api/payins/exchange-rate

Request

Request body

Example request

{
  "amount": {
    "fiatCurrencyCode": "USD"
  }
}

Response

Exchange rate for payin

exchangeRatenumber required

The exchange rate for the payin.

sourceCurrency'USD' | 'COP' | 'ARS' | 'EUR' | 'MXN' | 'BRL' | 'CLP' | 'PEN' | 'BOB' | 'CRC' | 'ZAR' required

The source currency for the payin.

Changes

    • breaking

      added to the response body oneOf list for the response status

    • breaking

      the response's body type changed from object to no type for status

    • breaking

      removed the required property from the response with the status

    • breaking

      removed the required property from the response with the status

    • breaking

      removed the required property from the response with the status

    • breaking

      removed the required property from the response with the status

    • warning

      added the new TRON enum value to the ///// response property for the response status

    • info

      added the new TRON enum value to the request property /////

    • info

      added response discriminator for the response status

    • info

      added the non-success response with the status