payment_intent_update
Update an existing payment intent by ID to modify its amount, currency, customer details, metadata, return URL, description, split payment orders, or merchant order ID.
Instructions
Update a payment intent.
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_update"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Payment intent ID | |
| amount | No | New payment amount as decimal string | |
| currency | No | ISO 4217 currency code | |
| customer | No | Customer details | |
| metadata | No | Key-value metadata | |
| return_url | No | URL to redirect customer after payment | |
| customer_id | No | Customer ID to associate with this payment | |
| description | No | Payment description | |
| 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_orders | No | Split payment order details | |
| merchant_order_id | No | Your unique order ID |