# Схема: PaymentPublic

Source: <https://telegafirst.com/docs/schema-a1c24d3026b36268c3eaf259ad8c318ee16dacde22ffad29f78e1659ec3ca844>
Locale: ru
releaseGitSha: fc570c76ffc9cb87e2462d45b14f5c1b52fbaf0d
sourceContentDigest: 738e89d2f95e6140678cceacbbae1c308a4191ad90882ec92043d9185804cbe0
Version: 3

# Схема: PaymentPublic

| Поле | Значение |
| - | - |
| 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\_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\_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" |
