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.
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. |