Kaminari
CtrlK
  • Contents
  • About Lightning Network
  • About Kaminari
  • Account Creation Process
    • Step 1: Sign Up
    • Step 2: Verify Email
    • Step 3: Sign In
  • API Key Generation
  • Navigating the Customer Dashboard
    • Virtual Balance
    • Virtual Balance API Example
    • Lightning Payment List
    • On-Chain Payment List
    • Home Tab
  • Generating a Lightning Invoice
    • Lightning Invoice Creation Example
  • Initiating a Lightning Payment
    • Lightning Payment Initiation Example
  • Generating an On-Chain Invoice
    • On-Chain Invoice Creation Example
  • Initiating an On-Chain Payment
    • On-Chain Payment Initiation Example
  • Webhook Registration
    • Verifying Webhook Signatures
  • LNURL
    • Create LNURL Pay invoice
    • Pay the LNURL invoice
  • API Error Codes
  • SDK
Powered by GitBook
On this page
  1. Generating an On-Chain Invoice

On-Chain Invoice Creation Example

Swagger UI: POST /gateway/api/bitcoin/v1/invoice

Curl example:

curl --location --request POST 'https://api.kaminari.cloud/gateway/api/bitcoin/v1/payment/send' \
--header 'X-kaminari-api-key: <API_KEY>' \
--header 'X-kaminari-api-signature: <API_SIGNATURE>' \
--header 'Content-Type: application/json' \
--data-raw '{
  "amount": "10000",
  "description": "test_invoice",
  "merchant_id": "test_merchant",
  "nonce" : "1699926593"
}'

Amount should be specified in satoshi (1 BTC = 100 000 000 sats).

PreviousGenerating an On-Chain InvoiceNextInitiating an On-Chain Payment

Last updated 1 year ago