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.rateis the amount of fiat per 1 unit of crypto, with fees included.networkis required. Pick it fromsupported_networksin the configuration.- Payout:
payment_methodis required. For corridors priced by amount (most non-INR fiats), also send exactly one ofsending_amountorreceiving_amount. - Payin: for USD, also send
payment_methodandsending_amount. feeslists the bank’s fee per payment method, for display only. It isn’t applied torate.unitisflatorpercentage.
Quotations
A quotation locks the rate and fees for one order.- Expiry. Read
expiry_timefrom 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
LINKEDand you can’t use it again. - Amount. Payin quotations take
sending_amountin fiat. Payout quotations takesending_amountin crypto orreceiving_amountin fiat, never both. Remittance quotations follow the payout rule. - Status.
UNLINKED(new),LINKED(used by an order) orEXPIRED. Fetch a quotation by ID to check it.
The fees object
Every quotation and order returns afees 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 needrisk_parameters. The configuration endpoint lists the keys your organization must send in required_risk_parameters.
Remittance quotations take an empty object:
"risk_parameters": {}.