Execute a web after-order payment (working path)
web_pay_after_orderPay an unpaid web-placed order using a selected payment method and a one-time confirmation token. Lists available payment IDs first, then completes the after-order payment through the verified payment gateway.
Instructions
Execute the after-order payment for an unpaid legacy-web order through the live-verified EShopService.svc CreateAfterPayment chain (the recorded real-payment path: e.g. MojePlatba 144 → KB SSO gateway). Use when the user needs to pay a web-placed order that is still unpaid. First list the available payment ids via mobile_read with operation=web_after_payment_dialog (GetAfterPaymentDialog). High-impact, money movement: requires a one-time token from prepare_mutation (action=web_after_order_payment) and explicit user confirmation.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| price | No | Override the amount to pay in CZK. Omit to pay the full due amount. | |
| order_id | Yes | The unpaid order id (from `order` or the order-detail link). | |
| invoice_id | No | Invoice id for the payment. Default "0" (server default). | 0 |
| order_hash | No | The `?x=` order hash from the order-detail link, if present. | |
| payment_id | Yes | Payment method id from the after-payment dialog (e.g. 144 MojePlatba, 143 Platba 24, 103 proforma). | |
| confirmation_token | Yes | One-time token from `prepare_mutation` prepared with the matching action. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| err | No | ||
| msg | No | ||
| data | No |