Create a payment linked to your order
A hosted crypto checkout is a payment page where your customer picks a coin or token and pays for an order your store created. Every Coino Live checkout starts on your server.
Using your API key, send POST /api/v2/payments with the amount as a decimal string (up to two decimal places). The currency is USD by default. Other listed fiat currencies are converted to USD at the current rate. Put your own order reference in order_id (up to 128 characters) so every payment, webhook and support request can be matched to the right purchase.
Other fields you can send:
- description and customer_email
- success_url and cancel_url, where the customer returns
- notify_url, the webhook address for this payment (otherwise your gateway's webhook URL is used)
- metadata, up to 4 KB
- asset, to preselect a coin
- expires_in, from 15 minutes to 7 days (24 hours by default)
Include an Idempotency-Key header so a retried request never creates a duplicate payment. The response includes the hosted checkout URL. Redirect the customer there. The API guide documents every field.
Choose the asset, then the network
On the hosted payment page, the customer chooses an asset (a coin or token), then a network available for that asset. The same ticker can exist on several networks, so a ticker alone is not a complete payment instruction. The sending wallet must use the network shown at checkout. Each payment gets its own deposit address.
Once the asset and network are chosen, the crypto amount is quoted and held for 20 minutes. A deposit seen up to 10 minutes after that quote expires still counts at the quoted rate.
This quote period is separate from the payment's expiry window, which you set with expires_in.
Read payment statuses before updating the order
Keep your store's order status separate from the payment status. Opening checkout or returning to success_url does not prove that an order is paid. The payment status is the source of truth:
- open: waiting for payment
- confirming: transaction seen, waiting for blockchain confirmations
- partially_paid: less than the amount received
- paid: confirmed
- expired: the payment window ended
- cancelled
A payment short by at most 0.5% (wallet rounding) still counts as paid.
Verify the webhook and re-check the payment
Every status change sends a signed webhook. The X-Coino-Signature header carries a timestamp and an HMAC-SHA256 signature of the timestamp and raw request body, made with your webhook secret. The X-Coino-Event and X-Coino-Delivery headers name the event and the delivery. Failed deliveries are retried up to 7 more times over about two days, after 1, 5, 30, 120, 360, 720 and 1440 minutes.
Before fulfilling an order, take these steps:
- Verify the signature.
- Re-fetch the payment with GET /api/v2/payments/{id}, or look it up by order_id.
- Fulfill only after confirming the paid status.
Give each outcome a clear next step
Explain pending states clearly, so a customer waiting on confirming does not assume the deposit failed. A paid result can return the customer to your store. An expired payment can be replaced with a fresh checkout. If a status lookup fails, say that the status is unknown rather than failed. If the customer has already sent funds, keep the order reference and contact support before they repeat the transfer.
Confirmed payments are credited to your Coino Live balance in the coin paid. You can then withdraw them to your own wallet.
Use a plugin or build with an SDK
Ready-made plugins handle this whole flow automatically, including the server-side re-check. They are available for WooCommerce, WHMCS, OpenCart, Shopware, PrestaShop, Easy Digital Downloads and GiveWP. For custom integrations, SDKs are available for PHP, Node.js and Python.
Explore the workflow
Coino Live supports 117 coin and token assets on 11 networks. The account is free with no KYC. The platform fee is 0.25% per payment, and network fees are separate.
Explore the payment gatewayGet help