Payment
| Field | Type | Required | Description |
|---|---|---|---|
| amount | Money | ||
| checkout_url | string | ||
| created_at | string (date-time) | (date-time) | |
| customer | object | ||
| customer.email | string | ||
| customer.name | string | ||
| customer.phone | string | ||
| description | string | ||
| expires_at | string (date-time) | (date-time) | |
| id | string | ||
| late | boolean | ||
| metadata | object | ||
| method | enum | Values: `promptpay`, `truemoney`, `linepay`, `shopeepay`, `bank_transfer`, `direct_debit`, `installment` | |
| mode | string | ||
| next_action | any | derived from current attempt action_type and action_payload | |
| number | string | ||
| reference | string | ||
| refunded_minor | integer | ||
| return_url | string | ||
| status | enum | Values: `created`, `requires_action`, `failed`, `processing`, `succeeded`, `expired`, `canceled` | |
| succeeded_at | string (date-time) | (date-time) |
Example
Generated from the schema — a shape, not a sample.
{
"amount": {
"currency": "string",
"minor": 0
},
"checkout_url": "string",
"created_at": "2026-10-01T09:00:00Z",
"customer": {
"email": "string",
"name": "string",
"phone": "string"
},
"description": "string",
"expires_at": "2026-10-01T09:00:00Z",
"id": "string",
"late": false,
"metadata": {},
"method": "promptpay",
"mode": "string",
"next_action": null,
"number": "string",
"reference": "string",
"refunded_minor": 0,
"return_url": "string",
"status": "created",
"succeeded_at": "2026-10-01T09:00:00Z"
}