# Схема: prepare\_refund: inputSchema

Source: <https://telegafirst.com/docs/schema-982a043ba5e86350efac863250e8cf6ee6b0fc569ac8232a6506f6654a956dde>
Locale: ru
releaseGitSha: fc570c76ffc9cb87e2462d45b14f5c1b52fbaf0d
sourceContentDigest: b992f4c64d21ff67960da7e6a35dced62d2e4aabb3c18769b786d4333a7aa290
Version: 2

# Схема: prepare\_refund: inputSchema

| Поле | Значение |
| - | - |
| $schema | "<https://json-schema.org/draft/2020-12/schema>" |
| additionalProperties | false |
| properties.bot.description | "Optional slug of the bot you expect to act on (get\_active\_bot). If the active bot differs, the call is refused with ACTIVE\_BOT\_CHANGED and nothing runs." |
| properties.bot.maxLength | 128 |
| properties.bot.minLength | 1 |
| properties.bot.type | "string" |
| properties.order\_id.description | "Value for order id." |
| properties.order\_id.maximum | 2147483647 |
| properties.order\_id.minimum | 1 |
| properties.order\_id.type | "integer" |
| properties.reason.description | "Value for reason." |
| properties.reason.maxLength | 500 |
| properties.reason.minLength | 1 |
| properties.reason.type | "string" |
| properties.scope.description | "Value for scope." |
| properties.scope.oneOf.0.additionalProperties | false |
| properties.scope.oneOf.0.description | "Value for scope option." |
| properties.scope.oneOf.0.properties.kind.const | "full" |
| properties.scope.oneOf.0.properties.kind.description | "Value for kind." |
| properties.scope.oneOf.0.properties.kind.type | "string" |
| properties.scope.oneOf.0.required | \["kind"] |
| properties.scope.oneOf.0.type | "object" |
| properties.scope.oneOf.1.additionalProperties | false |
| properties.scope.oneOf.1.description | "Value for scope option." |
| properties.scope.oneOf.1.properties.kind.const | "line" |
| properties.scope.oneOf.1.properties.kind.description | "Value for kind." |
| properties.scope.oneOf.1.properties.kind.type | "string" |
| properties.scope.oneOf.1.properties.line\_no.description | "Value for line no." |
| properties.scope.oneOf.1.properties.line\_no.maximum | 9007199254740991 |
| properties.scope.oneOf.1.properties.line\_no.minimum | 1 |
| properties.scope.oneOf.1.properties.line\_no.type | "integer" |
| properties.scope.oneOf.1.properties.quantity.description | "Value for quantity." |
| properties.scope.oneOf.1.properties.quantity.maximum | 9007199254740991 |
| properties.scope.oneOf.1.properties.quantity.minimum | 1 |
| properties.scope.oneOf.1.properties.quantity.type | "integer" |
| properties.scope.oneOf.1.required | \["kind","line\_no"] |
| properties.scope.oneOf.1.type | "object" |
| required | \["scope","order\_id"] |
| type | "object" |
