Skip to main content
Use a draft quote to show users what to expect before converting stablecoins to fiat. You can start from either side of the conversion. For example, enter 300 USDC to see the estimated payout in Mexican pesos, or enter 4,500 MXN to see how much USDC the user would need to send. The quote also includes the applicable fees. Crossmint does not store a draft, and a draft cannot be paid or turned into an order. Display the quote, then discard the response. When the user proceeds, create a new order.

Request a Quote

Call Create Order with state: "draft". The rest of the body is the same as a real order. Use exact-in to fix the stablecoin the user sends, or exact-out to fix the fiat they receive (see Send or Receive an Exact Amount). Both code samples pay out in MXN.
The user sends exactly 300 USDC and the quote estimates how many MXN they receive after fees.
cURL

Read the Quote

Response excerpts for each mode. The amounts are illustrative.
The user sends 300 USDC, pays 0.24 USDC in fees, and the remaining 299.76 USDC converts into an estimated 5,137.89 MXN (quantity).
Draft response (excerpt)

Display the Quote

Use these fields to build the quote summary:

Place the Order

Once the user is ready to continue, discard the draft and send the request again without state: "draft". The draft was only a preview and cannot be reused. The new order includes a fresh quote and instructions for sending the funds. If the amounts have changed, show the updated quote to the user before continuing.

Next Steps

Manage Orders

Status, webhooks, and failures

Create Order API

Every request and response field