Skip to Content
RunePayDocs

payment.failed

Sent to your endpoint, signed with `RunePay-Signature`. The full object is snapshotted at emit time.

Sent to your endpoint, signed with RunePay-Signature. The full object is snapshotted at emit time.

Header Parameters

RunePay-Signature*string

t=unix-seconds,v1=HMAC-SHA256; multiple v1 signatures during rotation.

RunePay-Event-Id*string
RunePay-Event-Type*string

Request Body

application/json
  1. body
id*string
object*string
type*string
api_version*string
livemode*boolean
created*integer

Unix timestamp in seconds.

data*
request*|

The originating API request, or null for processor webhooks, cron and dashboard actions.

Response Body

Return any 2xx quickly to acknowledge the event.

Example Requests
POST/payment.failed
Request Body
application/json
{  "id": "evt_01KA8E5F7G9H1J3K5M7N9P1Q3R",  "object": "event",  "type": "payment.failed",  "api_version": "2026-12-15",  "livemode": false,  "created": 1767225600,  "data": {    "object": {      "id": "pay_01KA4Y0Z9V3T6N8Q2W5E7R1T3Y",      "object": "payment",      "livemode": false,      "status": "failed",      "amount": 1999,      "amount_refunded": 0,      "amount_tax": 0,      "customer": null,      "currency": "USD",      "fee": null,      "description": "Pro plan, 1 month",      "customer_email": "buyer@example.com",      "metadata": {        "order_id": "1042"      },      "checkout_session": "cs_01KA4XZY8T2R5M7P1Q4W6E8R0T",      "card": {        "brand": "visa",        "last4": "4242"      },      "decline_code": "do_not_honor",      "decline_message": "The card was declined.",      "outcome": {        "risk_level": "normal",        "risk_score": 12      },      "available_on": null,      "created": 1767225600    }  },  "request": null}
Header Parameters
{  "RunePay-Signature": "string",  "RunePay-Event-Id": "string",  "RunePay-Event-Type": "payment.failed"}