Skip to main content
GET

Notes

  • The response is a plain number, not wrapped in an object.
  • Exchange rates are fetched in real-time. The rate may change between calls.
  • Supported currencies: MXN (Mexican Peso), USD (US Dollar).

Authorizations

Authorization
string
header
required

Bearer token — use your secret key (sk_prod_xxx) for server-side calls, or the user's JWT for client-side calls

x-api-key
string
header
required

Your Chipi public API key (pk_xxx)

Query Parameters

currencyAmount
number
required

The amount in the source currency

currency
enum<string>
required

The source currency code Fiat currency code

Available options:
MXN,
USD

Response

The equivalent USD amount

The converted USD amount

Example:

13.42