Create Checkout Session
create_checkoutCreate a hosted checkout session for PayMongo payments, returning a checkout URL to redirect customers for payment.
Instructions
Create a hosted checkout session (returns a checkout URL).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| amount | Yes | Amount in centavos as an integer (e.g. 10000 = ₱100.00). | |
| currency | No | ISO currency code. | PHP |
| cancel_url | Yes | URL to redirect to on cancel. | |
| description | No | Checkout / line-item description. | |
| success_url | Yes | URL to redirect to on success. | |
| payment_method_types | No | Payment method types. Common PayMongo values: card, gcash, grab_pay, paymaya, billease, dob, qrph. |