Skip to main content
Partna provides real-time conversion rates between supported currencies. Rates are fetched via the API and locked using rate keys before initiating a transaction.

Fetching rates

Use the Get Rate endpoint to fetch current conversion rates.
The response includes a key field for each rate pair:

Rate keys

A rate key locks in a quoted conversion rate for a limited time. When you initiate an onramp or offramp request, pass the rateKey from the rate response to guarantee the quoted price. You can also create a custom rate key using the Create Ratekey endpoint if you need to apply a custom spread or margin. Verify a rate key is still valid using Verify Ratekey. Rate keys expire. If a rate key expires before the transaction completes, the expireAction parameter on the ramp request controls what happens:

Fee bearer

When creating transactions, the feeBearer parameter controls who pays the transaction fee: Configure the default fee bearer in your merchant settings via the Update Settings endpoint.