Checkout Sessions

Create checkout session

Creates a new checkout session without creating a Payment Intent. Uses the merchant's secret API key for authentication/authorization but does not persist it in checkout-api-go.

If you are building a new integration, we recommend using v2 (POST /v2/checkout_sessions) instead — new features are only supported on v2. For example, v2 currently supports pass-on fees.

post/v1/checkout_sessions

Request

  • Base URL
    https://api.paymongo.com
  • URL
    https://api.paymongo.com/v1/checkout_sessions
  • Auth
    HTTP basic

Request body

Example request

{
  "data": {
    "attributes": {
      "capture_type": "manual"
    }
  }
}

Response

Checkout session created successfully

has_moreboolean

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.