Execute Payment

A resource you use to pay Lightning Invoices generated by other Lightning Services.

PUT https://example.com/v1/payments

Headers

Name
Type
Description

X-Pouch-Api-Key*

string

X-Pouch-Signature

string

Request Body

Name
Type
Description

paymentRequest*

string

format: bolt11

referenceId*

string

format: uuid

walletId*

string

format: uuid

{
  "data": {
    "id": "cb98328b-1b5d-4ebc-bbb2-8691222ca9a7",
    "referenceId": "32426acc-5291-43ee-a108-f7e1fae23f67",
    "type": "payment",
    "status": "completed",
    "amount": "100",
    "currency": "SAT",
    "fees": [
      {
        "type": "processingFee",
        "amount": "0.75"
      }
    ],
    "total": "101",
    "createdAt": "2023-08-03T06:07:42.838Z",
    "updatedAt": "2023-08-03T06:07:42.838Z"
  }
}

Last updated