This endpoint creates a checkout for the authenticated user based on the provided data. It supports
different payment platforms, promotional codes, and can handle both one-time and recurring payments.
You can either specify a product_code
directly or supply the traditional combination of
product_type
, country_id
, and product_protocol
.
Important considerations
product_code
is provided alongside product_type
/country_id
/product_protocol
, their values must match the actual product attributes.0
, it means your available credit fully covered the cost and the service is considered immediately paid.invoice_url
to complete checkout.Private API key for user-level authentication.
Public API key for user-level authentication.
Content type for the request body as application/json.
The data needed to create the checkout.
The body is of type object
.
Successfully created a checkout. Depending on the remaining invoice amount, it may already be paid by credit, or you may need to complete payment at the returned invoice URL.
The response is of type object
.