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
redirectUrl is where Cray sends the customer after the payment flow ends.
Response
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.
