Lightning Payment Initiation Example
Swagger UI: POST /gateway/api/lightning/v1/payment/send
Curl example:
curl --location --request POST 'https://api.kaminari.cloud/gateway/api/lightning/v1/payment/send' \
--header 'X-kaminari-api-key: <API_KEY>' \
--header 'X-kaminari-api-signature: <API_SIGNATURE>' \
--header 'Content-Type: application/json' \
--data-raw '{
"invoice": "lnbcrt30n1pjyhhm0pp5a0d9fcpc7hjgtdjx807mxxplc5aycl30j3mtkfxxrqklyzk7vz2sdqqcqzpgxqyz5vqsp59frlcse2rhe87j7fjuqt9rcuwjjqmh8e7yuplmkxhx0mksypvdys9qyyssqz57l8jlt3gtjxnf8udmsjqhu80p7cd3dcatx8tv55ww5wz8aymthpxspvh3tlpygjufxhak2ucvym2vz955y4wcrcvv4d322gwk2ancpraul9r",
"merchant_id": "test_merchant_id",
"nonce" : "1699926593"
}'
Endpoint will respond with HTTP status 200 if everything ok, otherwise response will contain body with error description, check API Error Codes section to get more details.
Last updated