json icon

Payment Failed

v1.0.0events

Published by Stripe when a charge fails.

1{
2  "$schema": "http://json-schema.org/draft-07/schema#",
3  "title": "PaymentFailed",
4  "description": "Published when a charge fails",
5  "type": "object",
6  "properties": {
7    "paymentId": { "type": "string", "format": "uuid" },
8    "orderId": { "type": "string", "format": "uuid" },
9    "reason": {
10      "type": "string",
11      "enum": ["CARD_DECLINED", "INSUFFICIENT_FUNDS", "EXPIRED_CARD", "PROCESSING_ERROR"]
12    },
13    "failedAt": { "type": "string", "format": "date-time" }
14  },
15  "required": ["paymentId", "orderId", "reason", "failedAt"]
16}
17

Details

Format
JSON Schema
Resource
events
Filename
schema.json

Versions