The payment object contains information about how an order was paid.Documentation Index
Fetch the complete documentation index at: https://docs.chataigne.ai/llms.txt
Use this file to discover all available pages before exploring further.
| Field | Type | Required | Description |
|---|---|---|---|
id | string | Yes | Unique identifier for the payment |
amount | price.md | Yes | Payment amount with currency information |
status | PaymentStatusDTO | Yes | Payment status (“processing”, “completed”, “failed”, “refunded”) |
type | PaymentTypeDTO | Yes | Payment type (“external”, “stripe”, “store”) external means payment made through third party like Uber or Just eat |
method | PaymentMethodTypeDTO | No | Payment method type (“HandledByStore”, “PersistentCard”, “TemporaryCard”, “Twint”, “RevolutPay”) |
externalId | string | Yes | External reference ID for the payment |
paymentMethodId | string | No | ID of the saved payment method if applicable |