# Схема: PaymentDetail

Source: <https://telegafirst.com/docs/schema-36020d88ed5126a880a7f4a37491e24831deac0114a987a169f0eaf81773e833>
Locale: ru
releaseGitSha: fc570c76ffc9cb87e2462d45b14f5c1b52fbaf0d
sourceContentDigest: 75e45e623ee79d073333ef10feac64e7d2eff3e033f4b1dfdda10096d4c2e81b
Version: 3

# Схема: 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](https://telegafirst.com/docs/schema-bd5599e8f66b8299c18fb691619fb2a9d46fb3c2c91b800e83b2eadd36e57400) |
| 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](https://telegafirst.com/docs/schema-1839c4c209ab5591c9c1d7add4da8d781f07dcf97b015b3bbe765cc35b005c90) |
| properties.updated\_at.format | "date-time" |
| properties.updated\_at.type | "string" |
| properties.user.$ref | [UserPublic](https://telegafirst.com/docs/schema-54e00f9c4c4d5463a1cebdcad51e3fcd7bc5e3279901183d125c54989f10de20) |
| 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" |
