Checkout Sessions

Archetype's Backend Utilities

Create Checkout session


If you want to create a checkout session in your backend and not on your frontend, you can do so with our backend SDKs.

To get started on integrating the SDK to your backend, go over to Configuring the SDK .

checkout_url = archetype.Customer.CheckoutSession(


custom_uidYour custom UID that you've generated for the user. Make sure this correlates to the UID you've mapped to Archetype.
product_idThe product_id field inside the product that the user clicks on or wants to subscribe to.


This returns a url as a string that you can then send to your end user.


Interested in the frontend Checkout Session?

Check out Pricing Integration for more details on doing this inside your site.