# set\_order\_payment\_type

Source: <https://telegafirst.com/docs/mcp-tool-set-order-payment-type>
Locale: ru
releaseGitSha: 005a4dc9d76f69a0815df4e3f98b9050d4d46afb
sourceContentDigest: 12bbd5cd9634a1ed43b8a2953a3c59fdbfb56a636b9fa9573ca82fce7020cb1d
Version: 5

# set\_order\_payment\_type

Switch how the buyer pays an open, unpaid order: order\_id is the order number (its seq\_num), payment\_type is manual (the buyer's card loses the payment-provider buttons and you record the payment yourself with mark\_paid) or online (the provider links are issued again; needs a connected payment provider and an order card sent to the buyer). manual on an order with no card sent through the platform is refused with FAILED\_PRECONDITION while the order still offers online payment. An order already on that branch answers outcome unchanged. A paid order is refused with ORDER\_ALREADY\_PAID.

## Права и условия

required\_scopes: ALL.

| Поле | Значение |
| - | - |
| description | "Switch how the buyer pays an open, unpaid order: order\_id is the order number (its seq\_num), payment\_type is manual (the buyer's card loses the payment-provider buttons and you record the payment yourself with mark\_paid) or online (the provider links are issued again; needs a connected payment provider and an order card sent to the buyer). manual on an order with no card sent through the platform is refused with FAILED\_PRECONDITION while the order still offers online payment. An order already on that branch answers outcome unchanged. A paid order is refused with ORDER\_ALREADY\_PAID." |
| domain | "orders" |
| name | "set\_order\_payment\_type" |
| platform\_version | "1.0.34" |
| required\_scopes | \["orders:write"] |
| risk | "money" |
| scope | "orders:write" |
| title | "Set Order Payment Type" |

## Входные параметры

[set\_order\_payment\_type: inputSchema](https://telegafirst.com/docs/schema-221014d42d265124c86ed085b27196013eb78ce7a624494697d4775a8edd0702)

## Результат

[set\_order\_payment\_type: outputSchema](https://telegafirst.com/docs/schema-09d1411e459c52819d3b8042cbe471871b33d14dc49ba93d09abf3a1f66f103f)
