Webhooks

The recovery path for any delivery you missed, and the reason none of these flows needs a polling loop.

Ordering isn't guaranteed. Deduplicate on id and apply in resource_version order. Undelivered events dead-letter after 72 hours.

See Webhooks and events.

get/v1/events

Request

  • Base URL
    https://api.sandbox.alfredpay.io
  • URL
    https://api.sandbox.alfredpay.io/v1/events
  • Auth
    • HTTP bearer
    • or API key in header api-key and API key in header api-secret

Query parameters

sincestring date-time required
typestring
limitinteger
cursorstring

Opaque. Pass next_cursor from the previous page.

Response

OK

has_moreboolean
next_cursorstring nullable

Example response

{
  "data": [
    {
      "type": "deposit.credited"
    }
  ]
}

Changes