payment_intent_create
Initiates a payment by creating a payment intent with amount, currency, order ID, description, and return URL to redirect customers after checkout.
Instructions
Create 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": {
"amount": "<amount>",
"currency": "<currency>",
"merchant_order_id": "<merchant_order_id>",
"return_url": "<return_url>",
"description": "<description>"
},
"name": "payment_intent_create"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| amount | Yes | Payment amount as decimal string, e.g. "100.00". Must be a string, not a number. | |
| currency | Yes | ISO 4217 currency code, e.g. "USD" | |
| metadata | No | Key-value metadata for your internal reference | |
| ip_address | No | Customer IP address for fraud detection | |
| return_url | Yes | URL to redirect customer after payment | |
| description | Yes | Description of the payment shown to the customer | |
| browser_info | No | Customer browser info for 3DS authentication | |
| 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 (varies by method type) | |
| payment_orders | No | Split payment order details | |
| merchant_order_id | Yes | Your unique order ID for this payment |