Deprecated

Use platform_id for Lightning payments in Checkout

To take a Lightning Network payment through Checkout, send the Lightning platform_id instead of the lightning_network flag. The flag is deprecated.

BeforeNow
lightning_network: trueplatform_id: the ID of the Lightning platform

Get the Lightning platform's ID from List platforms. It's the platform with id_name lightning_btc.

curl -X POST https://api.coingate.com/v2/orders/{order_id}/checkout \
  -H "Authorization: Token YOUR_API_KEY" \
  -d pay_currency=BTC \
  -d platform_id={lightning_platform_id}
🚧

Update your integration

lightning_network still works for now, but it will be removed in a future API version. Switch to platform_id so your integration keeps working.