KashierDevelopersKashier Developers
Accept payments

Currency conversion

Look up live exchange rates for cross-currency pricing

Kashier exposes a lightweight exchange-rate lookup you can use to price cross-currency amounts before creating a payment — for example, quoting a customer a price in USD while the actual charge settles in EGP.

Rate lookup only

This endpoint only reads a rate. It does not convert a payment and does not change how a payment session behaves.

Get exchange rate

Query parameters

KeyDescription
fromSource currency code (e.g. USD). Optional — defaults to USD. Returned as base.
toTarget currency code (e.g. EGP). Optional — defaults to EGP. Becomes the key inside rates.
curl --location 'https://test-api.kashier.io/v3/payment/exchange-rate?from=USD&to=EGP'

Response

{
  "success": true,
  "timestamp": 1787654094144,
  "base": "USD",
  "date": "2026-08-25",
  "rates": {
    "EGP": 50.76884413
  }
}
FieldDescription
successtrue when a rate was resolved.
timestampWhen the rate was produced, in milliseconds since the epoch.
baseThe source currency — echoes from.
dateThe rate's date, YYYY-MM-DD.
ratesAn object with a single key: the to currency, mapped to the rate. Multiply an amount in base by this number to get the amount in to.

So 1 USD = 50.76884413 EGP in the example above.

Response shape

Successful responses do not use the status/response/messages wrapper that the rest of the API uses. Error responses do.

Supported currencies

from and to accept ISO 4217 codes. EGP, USD, EUR, GBP, SAR, AED, KWD, JPY, CAD, CHF, and AUD all resolve, and so do many others. An unrecognised code is rejected rather than silently defaulted.

A rate you can look up is not a currency you can charge in

This endpoint quoting USD → JPY does not mean Kashier can take a payment in JPY. Payment sessions accept EGP, USD, GBP, and EUR only — see create payment session. Use this endpoint to price or display a cross-currency amount; charge in a currency your account actually supports.

Errors

Errors use the standard envelope, with "status": "FAILURE" and an error.cause. Check status and error.cause to handle them.

Supported display currencies

When currency conversion is on for your account, the hosted payment page shows a dropdown of display currencies. These are the 151 codes it lists. To pre-select one, pass it as currencyConversionDefault when you create a payment session. The field is display only: it never changes the amount, currency or amount charged.

AED · AFN · ALL · AMD · ANG · AOA · ARS · AUD · AWG · AZN · BAM · BBD · BDT · BGN · BHD · BIF · BMD · BND · BOB · BRL · BSD · BTN · BWP · BYN · BZD · CAD · CDF · CHF · CLP · CNY · COP · CRC · CUC · CVE · CZK · DJF · DKK · DOP · DZD · EGP · ERN · ETB · EUR · FJD · FKP · GBP · GEL · GHS · GIP · GMD · GNF · GTQ · GYD · HKD · HNL · HTG · HUF · IDR · INR · IQD · IRR · ISK · JMD · JOD · JPY · KES · KGS · KHR · KMF · KPW · KRW · KWD · KYD · KZT · LAK · LBP · LKR · LRD · LSL · LYD · MAD · MDL · MGA · MKD · MMK · MNT · MOP · MRO · MUR · MVR · MWK · MXN · MYR · MZN · NAD · NGN · NIO · NOK · NPR · NZD · OMR · PAB · PEN · PGK · PHP · PKR · PLN · PYG · QAR · RON · RSD · RUB · RWF · SAR · SBD · SCR · SDG · SEK · SGD · SHP · SLL · SOS · SRD · STD · SYP · SZL · THB · TJS · TMT · TND · TOP · TRY · TTD · TWD · TZS · UAH · UGX · USD · UYU · UZS · VEF · VND · VUV · WST · XAF · XCD · XOF · XPF · YER · ZAR · ZMW

Matching ignores case. A code that is not in this list is ignored and the page starts on USD.

On this page