Create Payment Intent
create_payment_intentCreate a PayMongo payment intent to initiate and track a payment through its lifecycle. Specify the amount in centavos, currency, and allowed payment methods to set up payment processing.
Instructions
Create a PayMongo payment intent — the object that tracks a payment through its lifecycle.
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>"
},
"name": "create_payment_intent"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| amount | Yes | Amount in centavos as an integer (e.g. 10000 = ₱100.00). PayMongo minimum is usually 2000 (₱20.00) and varies by method. | |
| currency | No | ISO currency code (PayMongo is PHP-centric). | PHP |
| description | No | Payment description | |
| payment_method_allowed | No | Allowed payment methods. Common PayMongo values: card, gcash, grab_pay, paymaya, billease, dob, qrph. PayMongo may add more over time. |