Overview
An ecommerce purchase checkout allows customers to buy physical goods — nutraceuticals, peptides, supplements, and other products. This uses line items to define what the customer is buying, with a traditional shopping cart experience.How It Works
Create Your Products
Before creating a checkout, you must first create products in Soap that represent your physical goods (nutraceuticals, peptides, supplements, etc.). Contact your Soap account team to set up your product catalog.
Create a Checkout Session
Create a checkout session with
type: "deposit" and include line_items referencing those products.Customer Completes Purchase
The customer is redirected to the Soap-hosted checkout page showing the cart and total, selects a payment method, and completes the purchase.
API Request
Key Parameters
| Parameter | Required | Description |
|---|---|---|
customer_id | Yes | The customer’s unique identifier |
type | Yes | Must be "deposit" |
line_items | Yes | Array of products with product_id and quantity |
experience | No | "web" or "webview" |
return_url | No | Where to redirect the customer after completion |
When to Use
- Nutraceuticals and peptide products
- Supplements and wellness items
- Any physical goods catalog
← Back to Create Checkout
View the full API reference for creating checkouts.

