Get Payment Setup Status
get_payment_setup_statusWhether the account can pay for an order: saved payment method and billing details (country, name) for the first paid order. When something is missing (or with includeSetupLink=true) it returns paymentSetup.url, a 60-minute link the user opens in their browser to set the billing country and add a payment method. Use it when preview_order reports NO_PAYMENT_METHOD or BILLING_PROFILE_INCOMPLETE, and after the user says they are done. Never ask for card details in the chat. Read-only apart from issuing the link.
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": "get_payment_setup_status"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| includeSetupLink | No | true to also get a setup link when nothing is missing, e.g. because the user wants to change their payment method before ordering. A link is always included when something is missing. |