Webhooks

Find Webhook Delivery

Retrieve a specific webhook delivery status, raw event payload, attempt count, and last HTTP delivery error.

get/v1/aggregators/{raast-aggregator-id}/webhooks/{endpoint}/deliveries/{delivery}

Request

  • Base URL: https://api.getsafepay.com/raastwire
  • URL: https://api.getsafepay.com/raastwire/v1/aggregators/{raast-aggregator-id}/webhooks/{endpoint}/deliveries/{delivery}
  • Auth: API key in header X-SFPY-AGGREGATOR-SECRET-KEY

Response

This response contains details of a webhook delivery

api_versionstring

The current version of the API spec

Example response

{
  "api_version": "v1",
  "data": {
    "type": "payment.completed",
    "payload_json": "{\"source\":\"SAFEPAY_RAAST\",\"kind\":\"PAYMENT_EVENT\",\"code\":\"PAYMENT_CAPTURED\",\"version\":\"V1_0_0\",\"timestamp\":\"2026-09-14T10:15:30.123456Z\",\"identifier\":\"txnlog_5246fdcc-6c86-49bb-9da2-aa38262e0291\",\"partner_id\":\"partner_12345678-1234-1234-1234-123456789012\",\"aggregator_id\":\"agg_2288490a-2176-4de5-b373-0ffb6f8e2e6e\",\"subject\":{\"payment\":{\"token\":\"pm_12345678-1234-1234-1234-123456789012\",\"aggregator_id\":\"agg_2288490a-2176-4de5-b373-0ffb6f8e2e6e\",\"order_id\":\"order-1042\",\"type\":\"RTP_NOW\",\"amount\":\"250000\",\"status\":\"P_CAPTURED\"}},\"destinations\":[],\"raast_channel\":\"\",\"webhook_event_type\":\"payment.completed\"}",
    "next_attempt_at": "2025-03-13T09:12:34Z",
    "created_at": "2025-03-13T09:12:34Z",
    "delivered_at": "2025-03-13T09:12:34Z"
  }
}

Changes

No recorded changes to this operation across all 1 revision of this API.