Create a Checkout Session

Changed on

Use secret API key to create a Checkout Session

post/v1/checkout_sessions

Request

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

Headers

Content-Typestring

Request body

Response

200

object required

Changes

    • breaking

      the request property //// became required

    • breaking

      the request property //// became required

    • breaking

      the request property //// became required

    • breaking

      the request property ///// became required

    • breaking

      removed the enum value fixed of the request property /////

    • breaking

      removed the enum value percentage_net of the request property /////

    • breaking

      the // request property type changed from no type to object

    • breaking

      the //// request property format changed from no format to int32

    • breaking

      the //// request property format changed from no format to int32

    • breaking

      the ///// request property format changed from no format to int32

    • warning

      removed from the // request property allOf list

    • warning

      removed the request property //

    • warning

      removed the request property //

    • warning

      removed the request property //

    • warning

      removed the request property //

    • warning

      removed the request property //

    • warning

      removed the optional property from the response with the status

    • warning

      removed the optional property from the response with the status

    • warning

      removed the optional property from the response with the status

    • info

      api operation id create_checkout_sessions removed and replaced with create-a-checkout

    • info

      the endpoint scheme security BasicAuth was removed from the API

    • info

      api tag Checkout Sessions removed

    • info

      added the new optional header request parameter Content-Type

    • info

      added the new optional request property ///

    • info

      added the new optional request property ///

    • info

      added the new optional request property ///

    • info

      added the new optional request property ///

    • info

      request body became optional

    • info

      the request property //// with a default value became required

    • info

      the request property default value PHP was added

    • info

      the request property default value was added

    • info

      the request property default value false was added

    • info

      the request property default value true was added

    • info

      the request property default value true was added

    • info

      removed the non-success response with the status