⛓️ Receiving bitcoin payments

Start accepting bitcoin on-chain payments

You need to create a 'charge' to receive payments through TurinPay. A charge contains both a Lightning Network BOLT11 invoice, capable of accepting payments through the LN protocol, and a on-chain address for standard on-chain transactions.

Webhooks

In order to receive notifications when a 'charge' changes its status, you need to subscribe to the 'charge' events. You can subscribe by passing a 'callback_url' parameter on the charge payload.

Lightning Network limit

The API does not return a lightning invoice when creating a charge with an amount bigger than 4294967 sats (~ 0.0429 BTC).

Rendering checkout view

You can use TurinPay's native checkout experience by redirecting your user to the checkout endpoint:

https://turinpay.com/CHARGE_ID_HERE

Last updated