Check Payment Status
auth_check_paymentCheck if the patient has completed payment and upgrade the token to full scope. Call this after sharing the checkout payment link with the patient.
Poll every 10-15 seconds. When payment is detected, the token is automatically upgraded to full scope, unlocking portal tools (care plan, refills, messaging, weight logs, etc.).
Requires the guest token from auth_verify_otp as bearer_token.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "auth_check_payment"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| bearer_token | No | Guest token from auth_verify_otp |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |