Payment Requested
v1.0.0eventsPublished when the Payment Processing System requests a charge from the payment processor.
1{
2 "$schema": "http://json-schema.org/draft-07/schema#",
3 "title": "PaymentRequested",
4 "description": "Published when a charge is requested from the payment processor",
5 "type": "object",
6 "properties": {
7 "paymentId": { "type": "string", "format": "uuid" },
8 "orderId": { "type": "string", "format": "uuid" },
9 "customerId": { "type": "string", "format": "uuid" },
10 "amount": {
11 "type": "integer",
12 "minimum": 0,
13 "description": "Amount to charge, in minor units (e.g. cents)"
14 },
15 "currency": { "type": "string", "pattern": "^[A-Z]{3}$" },
16 "requestedAt": { "type": "string", "format": "date-time" }
17 },
18 "required": ["paymentId", "orderId", "amount", "currency", "requestedAt"]
19}
20Details
- Format
- JSON Schema
- Resource
- events
- Filename
- schema.json