Skip to main content

Add stablecoin payments

One API call. Two redirects. Cray handles everything else.

Before you start: Create your API credentials and configure your webhook URL in the Cray Merchant Dashboard.
1. Create a payment POST
Header
Body
redirectUrl is where Cray sends the customer after the payment flow ends.
Response
2. Redirect the customer to Cray Redirect to the returned url. Cray handles crypto wallet connection, payment processing, compliance screening, and confirmation. 3. Customer returns to your website After the payment is completed, failed or cancelled, Cray automatically redirects the customer to the redirectUrl Use the returned orderId and status to update the corresponding order in your system.
Update the corresponding order in your system. That’s the complete integration. Optional: Verify payment status For additional verification or missed redirects, retrieve the latest status using the Order Status API. GET