Skip to main content

Rate or quotation

Fetch a rate as often as your UI needs. Create a quotation only when the user is ready to pay.

Fetch a rate

All inputs are query parameters.
  • rate is the amount of fiat per 1 unit of crypto, with fees included.
  • network is required. Pick it from supported_networks in the configuration.
  • Payout: payment_method is required. For corridors priced by amount (most non-INR fiats), also send exactly one of sending_amount or receiving_amount.
  • Payin: for USD, also send payment_method and sending_amount.
  • fees lists the bank’s fee per payment method, for display only. It isn’t applied to rate. unit is flat or percentage.

Quotations

A quotation locks the rate and fees for one order.
  • Expiry. Read expiry_time from each response. It’s usually 10 minutes. Initiate before it passes, and create a new quotation after it.
  • Single use. One quotation creates one order. After that, it’s LINKED and you can’t use it again.
  • Amount. Payin quotations take sending_amount in fiat. Payout quotations take sending_amount in crypto or receiving_amount in fiat, never both. Remittance quotations follow the payout rule.
  • Status. UNLINKED (new), LINKED (used by an order) or EXPIRED. Fetch a quotation by ID to check it.

The fees object

Every quotation and order returns a fees breakdown. Show the user the quotation’s receiving_amount, not your own calculation.
Fee values depend on your pricing. Contact partnerships@zapyd.com to change your client fee.

Risk parameters

Quotations need risk_parameters. The configuration endpoint lists the keys your organization must send in required_risk_parameters. Remittance quotations take an empty object: "risk_parameters": {}.