Accept counter and pay
accept_quote_and_payAccept a seller's quoted price and charge it with the same payment options as confirm_purchase. Requires buyer purchase access. Requires sign-in with buyer access. OAuth discovery: /.well-known/oauth-authorization-server (scope buyer:purchase). Sensitive: requires user approval each time.
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": {
"quote_id": "<quote_id>",
"payment": "<payment>",
"idempotency_key": "<idempotency_key>"
},
"name": "accept_quote_and_pay"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| payment | Yes | Same payment object as confirm_purchase. | |
| quote_id | Yes | Quote id from list_my_quotes or get_quote_status. | |
| idempotency_key | Yes | Required. 8–200 characters (letters, digits, . _ : -). The same key returns the original result for 24 hours and is sent to Stripe as Idempotency-Key. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| status | Yes | ||
| is_test | No | ||
| currency | No | ||
| order_id | No | ||
| action_url | No | ||
| checkout_id | No | ||
| amount_charged_cents | No |