Confirm Payment Intent
confirm_payment_intentConfirm a PaymentIntent to initiate payment processing. Optionally attach a payment method for redirect or manual confirmation.
Instructions
Confirm a PaymentIntent to initiate the payment. Optionally attach a payment method.
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": {
"payment_intent_id": "<payment_intent_id>"
},
"name": "confirm_payment_intent"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| payment_intent_id | Yes | PaymentIntent ID (pi_...) | |
| payment_method | No | Payment method ID to use for confirmation | |
| return_url | No | Return URL for redirect-based payment methods | |
| idempotency_key | No | Optional idempotency key for safe retries |