Для AI-агентов: markdown этой страницы — /docs/schema-36020d88ed5126a880a7f4a37491e24831deac0114a987a169f0eaf81773e833.mdиндекс документации — /llms.txt
Схема: PaymentDetail
Обновлено
| Поле | Значение |
|---|---|
| additionalProperties | false |
| properties.amount.description | "Gross amount, decimal string" |
| properties.amount.type | "string" |
| properties.amount_net.description | "Amount after the provider fee, decimal string; null until the provider reports it" |
| properties.amount_net.type | ["string","null"] |
| properties.cancelled_at.format | "date-time" |
| properties.cancelled_at.type | ["string","null"] |
| properties.created_at.format | "date-time" |
| properties.created_at.type | "string" |
| properties.currency.maxLength | 5 |
| properties.currency.minLength | 3 |
| properties.currency.type | "string" |
| properties.id.maximum | 2147483647 |
| properties.id.minimum | 1 |
| properties.id.type | "integer" |
| properties.is_paid.type | "boolean" |
| properties.kind.enum | ["one_time","sub_initial","sub_renewal","refund","chargeback","manual_reversal","failed","expired","canceled","duplicate","unknown"] |
| properties.kind.type | "string" |
| properties.order.$ref | PullOrderProjection |
| properties.order_id.maximum | 2147483647 |
| properties.order_id.minimum | 1 |
| properties.order_id.type | "integer" |
| properties.paid_at.format | "date-time" |
| properties.paid_at.type | ["string","null"] |
| properties.provider.type | "string" |
| properties.provider_payment_id.maxLength | 128 |
| properties.provider_payment_id.minLength | 1 |
| properties.provider_payment_id.type | "string" |
| properties.provider_reference.description | "The operation id in the payment provider's own system — quote it to the provider's support. Absent for a payment recorded by hand." |
| properties.provider_reference.maxLength | 128 |
| properties.provider_reference.minLength | 1 |
| properties.provider_reference.type | "string" |
| properties.status.$ref | PaymentStatus |
| properties.updated_at.format | "date-time" |
| properties.updated_at.type | "string" |
| properties.user.$ref | UserPublic |
| properties.user_id.maximum | 2147483647 |
| properties.user_id.minimum | 1 |
| properties.user_id.type | "integer" |
| required | ["id","amount","amount_net","currency","provider","status","kind","is_paid","paid_at","cancelled_at","created_at","updated_at"] |
| type | "object" |