Complete Checkout
complete_checkoutSubmit the order after updating the checkout session to receive a payment URL. The user opens this URL in their browser to complete payment via PostFinance Checkout.
Instructions
Submit the order and return the payment URL.
Use this after update_checkout_session to finalise the purchase. Returns a payment_url the user must open in their browser to pay via PostFinance Checkout.
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": {
"session_id": "<session_id>"
},
"name": "complete_checkout"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| session_id | Yes | From create_checkout_session result. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||