payment_intent_confirm
Confirms a payment intent to initiate payment by submitting payment method details such as card or PayNow, with optional return URL, IP address, and browser info for 3DS authentication.
Instructions
Confirm a payment intent to initiate the payment. The payment_method structure varies by type. Card example: {"type":"card","card":{"number":"4111111111111111","exp_month":"12","exp_year":"2026","cvc":"123"}}. PayNow example: {"type":"paynow"}. Check available_payment_method_types on the payment intent to see what methods are supported.
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": {
"id": "<id>"
},
"name": "payment_intent_confirm"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Payment intent ID | |
| ip_address | No | Customer IP address (recommended for fraud detection) | |
| return_url | No | Override return URL for this confirmation | |
| browser_info | No | Customer browser info for 3DS authentication (accept_header, user_agent, java_enabled, language, color_depth, screen_height, screen_width, time_zone_offset) | |
| on_behalf_of | No | Sub-account ID to act on behalf of. Pass the short account ID (e.g. "CB4488338944") to operate on a sub-account; omit to operate on the master account. | |
| payment_method | No | Payment method details. Card: {"type":"card","card":{"number":"...","exp_month":"12","exp_year":"2026","cvc":"123"}}. PayNow: {"type":"paynow"}. |