Upsert Webhook

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

Headers

Name
Type
Description

X-Pouch-Api-Key*

string

X-Pouch-Signature*

string

Request Body

Name
Type
Description

events*

string[]

enums:

lightning-invoice.completed

lightning-payment.completed

lightning-payment.failed

onchain-deposit.completed

internal-credit.completed

url*

string

format: url

{
  "data": {
    "id": "36501cd7-1343-437b-b3c0-997a9d15e26e",
    "url": "https://example.com/callback",
    "event": "lightning-invoice.completed",
    "createdAt": "2023-08-03T06:07:42.838Z",
    "updatedAt": "2023-08-03T06:07:42.838Z"
  }
}

Last updated