Wait for the user to approve the PayPal payment
wait_for_payment_approvalWait (up to 45s per call) until PayPal reports the user approved the payment. Returns still_waiting if the user has not approved yet.
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": "wait_for_payment_approval"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| api_key | No | Sandbox key from create_checkout (not needed if the connection already carries one). | |
| session_id | Yes | ||
| timeout_seconds | No |