Checkout Sessions
Create checkout session V2
Creates a new checkout session without creating a Payment Intent, intended for deferred payment intent flows. Uses the merchant's secret API key for authentication/authorization but does not persist it in checkout-api-go.
Recommended for new integrations: future features are only supported on v2. It currently supports pass-on fees.
post/v2/checkout_sessions
Request
- Base URLhttps://api.paymongo.com
- URLhttps://api.paymongo.com/v2/checkout_sessions
- AuthHTTP basic
Request body
Example request
{
"data": {
"attributes": {
"capture_type": "manual"
}
}
}Response
Checkout session created successfully
Example response
{
"data": {
"attributes": {
"checkout_url": "https://checkout.paymongo.com/xxx"
}
}
}Changes
No recorded changes to this operation across all 1 revision of this API.