List after-order payment options
after_order_paymentsList available after-order payment options for an unpaid order part and return the payment ID to complete payment via the mobile API.
Instructions
List the after-order payment options for an unpaid order part (mobile API getafterorderpayments). Use when the user has an unpaid order (see order) and wants to pay it through the mobile API; pass the returned payment id to pay_after_order. Do not use for legacy web WCF orders — that path is web_pay_after_order (list ids via mobile_read operation=web_after_payment_dialog). Requires a loaded mobile API access token — check account_status first; if none is loaded, run auth_start, have the user complete the browser sign-in, then auth_exchange with the returned code and state. Read-only.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"order_id": "<order_id>",
"part_id": "<part_id>"
},
"name": "after_order_payments"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| part_id | Yes | The order part id to pay (from `order`). | |
| order_id | Yes | The unpaid order id (from `order`). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| err | No | ||
| msg | No | ||
| data | No |