Integrations
Accept crypto payments on Shopify
Shopify keeps card checkout closed to outside gateways on most plans, so crypto payment gateways connect the same way worldwide: a CryBit invoice per order, opened as an additional payment option or a manual one. The customer pays USDT or another coin, your store gets a webhook.
How it fits into Shopify
Add a manual payment method named “Crypto / USDT” in Settings → Payments → Manual payment methods. When an order comes in with that method, your backend (a small Shopify app, a Flow automation, or an order-webhook handler) calls the CryBit API to create an invoice and sends the customer the payment link by email or on the order status page.
Shopify Plus stores with checkout extensibility can instead call the API from a checkout UI extension and redirect straight to the CryBit payment page, skipping the manual-method step.
Create the invoice on order creation
Node.js (Shopify order webhook handler)
app.post('/webhooks/orders-create', verifyShopifyHmac, async (req, res) => {
const order = req.body
const inv = await fetch('https://api.crybit.net/api/v1/payments', {
method: 'POST',
headers: {
'X-Public-Key': process.env.CRYBIT_PUBLIC_KEY,
'X-Private-Key': process.env.CRYBIT_PRIVATE_KEY,
'Content-Type': 'application/json',
},
body: JSON.stringify({
amount: order.total_price,
currency: order.currency,
order_id: String(order.id),
purpose: 'Shopify order #' + order.order_number,
return_url: order.order_status_url,
}),
}).then(r => r.json())
// отправьте письмо/уведомление со ссылкой inv.callback_url
res.sendStatus(200)
})Confirm the order by webhook
Point the CryBit webhook (merchant settings, event payment.paid) at an endpoint that marks the Shopify order as paid via the Shopify Admin API (POST /orders/{id}/transactions.json with kind capture), keyed by your order_id.
FAQ
Is there a CryBit app in the Shopify App Store?
Not yet — today the integration is a payment-link workflow described above, built on the same API and webhooks used everywhere else on CryBit. It takes a few hours for a developer familiar with Shopify webhooks.
Can the customer pay without leaving the store?
On Shopify Plus, yes, with a checkout UI extension rendering the CryBit widget. On standard plans, the customer follows the payment link to pay.crybit.net and returns via return_url.
