Skip to main content
GET
/
v1
/
events
/
{id}
/
payload
Retrieve the webhook payload for an event
curl --request GET \
  --url https://api.useduro.com/v1/events/{id}/payload \
  --header 'Authorization: Bearer <token>'
{
  "id": "evt_01HKBZ4PQ9Z3K7T8V9X2Y1B5C6",
  "type": "checkout_completed",
  "createdAt": "<string>",
  "data": {
    "customer": {
      "id": "<string>",
      "email": "<string>",
      "phone": "<string>",
      "name": "<string>",
      "merchantRef": "<string>",
      "blacklisted": true,
      "blacklistReason": "<string>",
      "createdAt": "<string>"
    },
    "plan": {
      "id": "<string>",
      "name": "<string>",
      "amount": 123,
      "currency": "<string>",
      "intervalCount": 123,
      "trialDays": 123,
      "maxCycles": 123,
      "createdAt": "2023-11-07T05:31:56Z"
    },
    "subscription": {
      "id": "<string>",
      "planId": "<string>",
      "currentPeriodStart": "<string>",
      "currentPeriodEnd": "<string>",
      "cyclesCompleted": 123,
      "createdAt": "<string>"
    },
    "invoice": {
      "id": "<string>",
      "subscriptionId": "<string>",
      "amount": 123,
      "currency": "<string>",
      "periodStart": "<string>",
      "periodEnd": "<string>",
      "paidAt": "<string>",
      "createdAt": "<string>"
    }
  }
}

Authorizations

Authorization
string
header
required

A secret key (sk_test_… / sk_live_…), OAuth token, or identity token.

Path Parameters

id
string
required

Response

200 - application/json

The delivered webhook payload

The exact payload delivered to webhook endpoints — identical to the POST body.

id
string
Example:

"evt_01HKBZ4PQ9Z3K7T8V9X2Y1B5C6"

type
string
Example:

"checkout_completed"

createdAt
string
data
object

Event data with related resources expanded inline. Which objects are present depends on the event type; flat *Id fields are omitted when the object is embedded.