⛓️ 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.
Rendering checkout view
You can use TurinPay's native checkout experience by redirecting your user to the checkout endpoint:
Last updated