Enterprise feature. Contact us for access.
Prerequisites
- API Key: A server-side API key with the
orders.createandorders.readscopes. - Verified buyer: The buyer completes KYC before the order can take a Cash App payment. Crossmint links the KYC data to the order through
payment.receiptEmail. See User Onboarding. - Recipient wallet: The recipient is a wallet on Base or Solana.
- Refund address (optional): Ask the buyer for a refund address in the
user@domainformat, and send it asrefundAddress. Without arefundAddress, a refund needs Crossmint support. - Buyer location: Cash App payments are not available to residents of New York State. Crossmint refuses the order with a 403 error.
Create a Cash App Order
1
Create the order
Call Create Order with these This exact-in order sets the most that the buyer pays, and the invoice can be lower than that amount. When the payment link appears,
payment fields:A Cash App order delivers USDC on Base or Solana. Set
lineItems[].tokenLocator to the USDC locator of the chain, and set recipient.walletAddress to a wallet on the same chain.- Base
- Solana
lineItems[].quote.quantityRange shows the quantity that the order delivers.2
Open Cash App
The response holds the payment details in
order.payment.preparation:Response (excerpt)
depositAddress: the invoice that the buyer pays. The invoice fixes the amount, so the response has notransactionParameters.paymentLink: a Cash App link that opens the invoice in Cash App.
paymentLink, or show it as a QR code. The two fields are present only while payment.status is awaiting-payment and quote.status is valid, so stop showing the link when quote.status is expired.An invoice takes one payment and expires after about 5 minutes, for exact-in and exact-out orders.3
Track the order
Subscribe to the
orders.delivery.completed and orders.delivery.failed webhooks. Crossmint sends the first when the order completes, and the second when the payment is refunded. If you cannot receive webhooks, poll Get Order until phase is completed.- Read the delivered quantity from
lineItems[].delivery.tokens[].quantity. It can differ from the requested amount because of fees. - The buyer cannot pay an invoice after it expires. A payment sent before the expiry can settle later, and the order still completes, even when
quote.statusisexpired.
Next Steps
Onramp to Non-Crossmint Wallets
Verify ownership of the recipient wallet
Create Order
Full reference for the onramp order payload

