On-Chain Payment Initiation Example

Swagger UI: POST /gateway/api/bitcoin/v1/payment/send

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 '{
  "bitcoin_address": "bcrt1qjzxtr7ejknsa5662vljkf44k3ufw8pek49en2e",
  "amount" : "20000",
  "merchant_id": "test_merchant_id",
  "nonce" : "1699926593"
}'

Note that amount should be specified in satoshi (1 BTC = 100 000 000 sats).

Last updated