OpenNode · Example Payload

Create Charge Response

BitcoinLightning NetworkPaymentsPayment ProcessingCryptocurrencyFintechWebhooksInvoicingPayoutsLNURL

Create Charge Response is an example object payload from OpenNode, with 1 top-level field. It illustrates the shape of data this provider's APIs accept or return.

Top-level fields

data

Example Payload

create-charge-response.json Raw ↑
{
  "data": {
    "id": "ch_abc123def456",
    "description": "Order #1234 payment",
    "amount": 14844,
    "status": "unpaid",
    "fiat_value": 10.00,
    "currency": "USD",
    "source_fiat_value": 10.00,
    "lightning_invoice": {
      "expires_at": 1749772800,
      "payreq": "lnbc100u1pn3zqvppsp5example..."
    },
    "chain_invoice": {
      "address": "bc1qxy2kgdygjrsqtzq2n0yrf2493p83kkfjhx0wlh",
      "settled_at": null
    },
    "address": "bc1qxy2kgdygjrsqtzq2n0yrf2493p83kkfjhx0wlh",
    "created_at": 1749686400,
    "order_id": "order-1234",
    "callback_url": "https://example.com/webhooks/opennode",
    "success_url": "https://example.com/thank-you",
    "auto_settle": false
  }
}