Docs

The Checkout Session object

A Checkout Session represents your customer's session as they pay for one-time purchases or subscriptions through Checkout or Payment Links. Create a new Session each time your customer attempts to pay. Once payment succeeds, the Session references the Customer and either the successful PaymentIntent or an active Subscription. Create a Session on your server and redirect to its url to begin Checkout.

Attributes

id string

Unique identifier for the object. Zoneless Checkout Session IDs are prefixed with cs_z_.

object string

String representing the object's type. Objects of the same type share the same value.

amount_subtotalnullable integer

Total of all items before discounts or taxes are applied, in the smallest currency unit.

amount_totalnullable integer

Total of all items after discounts and taxes are applied, in the smallest currency unit.

cancel_urlnullable string

If set, Checkout displays a back button and customers are directed to this URL if they decide to cancel payment.

created timestamp

Time at which the object was created. Measured in seconds since the Unix epoch.

currencynullable string

Three-letter ISO currency code, in lowercase. For Zoneless, this is usdc.

Difference from Stripe: Zoneless settles in USDC on Solana rather than fiat currencies.

customernullable string Expandable This can be expanded into an object with the expand request parameter.

The ID of the Customer for this Session. For Checkout Sessions in subscription mode, or in payment mode with customer_creation set to always, Checkout creates a new Customer unless an existing one was provided.

customer_emailnullable string

If provided, this value is used to prefill the customer's email at Checkout. Use this if you already have an email on file.

expires_at timestamp

The timestamp at which the Checkout Session expires.

line_itemsnullable object

The line items purchased by the customer. Not returned by default; expand this field with the expand request parameter to include it.

livemode boolean

If the object exists in live mode, the value is true. If the object exists in test mode, the value is false.

metadatanullable object

Set of key-value pairs that you can attach to an object. Useful for storing additional information in a structured format.

mode enum

The mode of the Checkout Session.

Possible enum values
paymentAccept a one-time USDC payment for goods or services.
setupSave a customer's Solana wallet to charge them later, without collecting payment now.
subscriptionUse Checkout to set up a recurring USDC subscription.
payment_intentnullable string Expandable This can be expanded into an object with the expand request parameter.

The ID of the PaymentIntent for Checkout Sessions in payment mode. You can't confirm or cancel the PaymentIntent for a Checkout Session directly; expire the Checkout Session instead.

payment_method_options object

Payment-method-specific configuration for the PaymentIntent or SetupIntent generated by this Session.

Difference from Stripe: Zoneless exposes only the crypto options bag for USDC wallet payments.

payment_method_types array of strings

The list of payment method types this Checkout Session is allowed to accept.

Difference from Stripe: Zoneless currently accepts crypto (USDC on Solana) rather than cards or other fiat rails.

payment_status enum

The payment status of the Checkout Session. Use this value to decide when to fulfill your customer's order.

Possible enum values
no_payment_requiredThe Session does not require payment, such as a fully-discounted subscription.
paidPayment for the Session has completed.
unpaidPayment for the Session has not yet completed.
statusnullable enum

The status of the Checkout Session.

Possible enum values
completeThe checkout was completed. Payment processing may still be in progress.
expiredThe checkout expired before the customer completed payment.
openThe checkout is still in progress. Customer information is being collected.
subscriptionnullable string Expandable This can be expanded into an object with the expand request parameter.

The ID of the Subscription for Checkout Sessions in subscription mode. You can't confirm or cancel the Subscription for a Checkout Session directly; expire the Checkout Session instead.

success_urlnullable string

The URL the customer is directed to after the payment or subscription creation is successful.

total_detailsnullable object

Tax and discount details for the computed total amount.

ui_modenullable enum

The UI mode of the Session. Defaults to hosted_page.

Possible enum values
elements
embedded_page
hosted_page(Default) A full-page hosted Checkout experience at url.
urlnullable string

The URL to the Checkout Session. Applies to Sessions with ui_mode: hosted_page. Redirect customers to this URL to take them to Checkout. Only present while the session is open.

platform_account string

The platform account that owns this resource. For connected account resources, this is the platform's account ID. For the platform's own resources, this equals the account field (self-referential).

Zoneless extension: This field is not present in Stripe's API. It enables multi-tenant operation.

url_slug string

Opaque slug used in the hosted checkout URL (/c/{url_slug}). Distinct from id so shareable links do not expose the API object ID.

Zoneless extension: This field is not present in Stripe's API.

payment_detailsnullable object

On-chain payment details recorded when the session is completed.

Zoneless extension: This field is not present in Stripe's API.

More attributes

THE CHECKOUT SESSION OBJECT
{
  "id": "cs_z_a8KmQ2vLpR5wT9bHxJcFnW4uY",
  "object": "checkout.session",
  "after_expiration": null,
  "allow_promotion_codes": null,
  "amount_subtotal": 4598,
  "amount_total": 4598,
  "automatic_tax": {
    "enabled": false,
    "liability": null,
    "provider": null,
    "status": null
  },
  "billing_address_collection": null,
  "branding_settings": null,
  "cancel_url": null,
  "client_reference_id": null,
  "client_secret": null,
  "collected_information": null,
  "consent": null,
  "consent_collection": null,
  "created": 1723910400,
  "currency": "usdc",
  "custom_fields": [],
  "custom_text": {
    "after_submit": null,
    "shipping_address": null,
    "submit": null,
    "terms_of_service_acceptance": null
  },
  "customer": null,
  "customer_account": null,
  "customer_creation": "if_required",
  "customer_details": null,
  "customer_email": null,
  "discounts": null,
  "expires_at": 1723996800,
  "invoice": null,
  "invoice_creation": {
    "enabled": false,
    "invoice_data": {
      "account_tax_ids": null,
      "custom_fields": null,
      "description": null,
      "footer": null,
      "issuer": null,
      "metadata": {},
      "rendering_options": null
    }
  },
  "livemode": false,
  "locale": null,
  "metadata": {},
  "mode": "payment",
  "payment_intent": null,
  "payment_link": null,
  "payment_method_collection": "always",
  "payment_method_options": {
    "crypto": {}
  },
  "payment_method_types": [
    "crypto"
  ],
  "payment_status": "unpaid",
  "phone_number_collection": {
    "enabled": false
  },
  "recovered_from": null,
  "setup_intent": null,
  "shipping_address_collection": null,
  "shipping_cost": null,
  "shipping_options": [],
  "status": "open",
  "submit_type": null,
  "subscription": null,
  "success_url": "https://shop.example.com/order/complete",
  "total_details": {
    "amount_discount": 0,
    "amount_shipping": 0,
    "amount_tax": 0
  },
  "ui_mode": "hosted_page",
  "url": "https://checkout.yourdomain.com/c/x7k9m2p4q8",
  "return_url": null,
  "platform_account": "acct_z_Platform123abc",
  "url_slug": "x7k9m2p4q8",
  "payment_details": null
}

Create a Checkout Session

Creates a Checkout Session object.

ENDPOINTS
POST /v1/checkout/sessions

Parameters

mode enum Required

The mode of the Checkout Session.

Possible enum values
paymentAccept a one-time USDC payment for goods or services.
setupSave a customer's Solana wallet to charge them later, without collecting payment now.
subscriptionUse Checkout to set up a recurring USDC subscription.
line_items array of objects Required in payment and subscription mode

A list of items the customer is purchasing. Maximum of 100 line items.

success_url string Required unless ui_mode is embedded_page or elements

The URL to redirect your customer to after they complete payment successfully.

cancel_url string

If set, Checkout displays a back button and customers are directed to this URL if they decide to cancel payment. Not allowed when ui_mode is embedded_page or elements.

customer string

ID of an existing Customer to attach to this Session. If not provided, Checkout creates a new Customer, subject to customer_creation.

customer_email string

If provided, this value is used to prefill the customer's email at Checkout.

payment_method_types array of strings

The list of payment method types this Checkout Session is allowed to accept. Defaults to crypto.

Possible enum values
cryptoUSDC wallet payments on Solana.
metadata object

Set of key-value pairs that you can attach to an object.

expires_at integer

The timestamp at which the Checkout Session expires. Defaults to 24 hours after Session creation.

payment_intent_data object

A subset of parameters passed to PaymentIntent creation for Checkout Sessions in payment mode.

subscription_data object

A subset of parameters passed to Subscription creation for Checkout Sessions in subscription mode.

More attributes

Returns

Returns a Checkout Session object.

POST/v1/checkout/sessions
import { Zoneless } from '@zoneless/node';
const zoneless = new Zoneless('sk_live_z_YOUR_API_KEY', 'https://api.zoneless.com');

const session = await zoneless.checkout.sessions.create({
  success_url: 'https://shop.example.com/order/complete',
  line_items: [
    {
      price: 'price_z_1RqEsLkdIwHu7ix7Ssho8Cl',
      quantity: 2,
    },
  ],
  mode: 'payment',
});
RESPONSE
{
  "id": "cs_z_a8KmQ2vLpR5wT9bHxJcFnW4uY",
  "object": "checkout.session",
  "after_expiration": null,
  "allow_promotion_codes": null,
  "amount_subtotal": 4598,
  "amount_total": 4598,
  "automatic_tax": {
    "enabled": false,
    "liability": null,
    "provider": null,
    "status": null
  },
  "billing_address_collection": null,
  "branding_settings": null,
  "cancel_url": null,
  "client_reference_id": null,
  "client_secret": null,
  "collected_information": null,
  "consent": null,
  "consent_collection": null,
  "created": 1723910400,
  "currency": "usdc",
  "custom_fields": [],
  "custom_text": {
    "after_submit": null,
    "shipping_address": null,
    "submit": null,
    "terms_of_service_acceptance": null
  },
  "customer": null,
  "customer_account": null,
  "customer_creation": "if_required",
  "customer_details": null,
  "customer_email": null,
  "discounts": null,
  "expires_at": 1723996800,
  "invoice": null,
  "invoice_creation": {
    "enabled": false,
    "invoice_data": {
      "account_tax_ids": null,
      "custom_fields": null,
      "description": null,
      "footer": null,
      "issuer": null,
      "metadata": {},
      "rendering_options": null
    }
  },
  "livemode": false,
  "locale": null,
  "metadata": {},
  "mode": "payment",
  "payment_intent": null,
  "payment_link": null,
  "payment_method_collection": "always",
  "payment_method_options": {
    "crypto": {}
  },
  "payment_method_types": [
    "crypto"
  ],
  "payment_status": "unpaid",
  "phone_number_collection": {
    "enabled": false
  },
  "recovered_from": null,
  "setup_intent": null,
  "shipping_address_collection": null,
  "shipping_cost": null,
  "shipping_options": [],
  "status": "open",
  "submit_type": null,
  "subscription": null,
  "success_url": "https://shop.example.com/order/complete",
  "total_details": {
    "amount_discount": 0,
    "amount_shipping": 0,
    "amount_tax": 0
  },
  "ui_mode": "hosted_page",
  "url": "https://checkout.yourdomain.com/c/x7k9m2p4q8",
  "return_url": null,
  "platform_account": "acct_z_Platform123abc",
  "url_slug": "x7k9m2p4q8",
  "payment_details": null
}

Update a Checkout Session

Updates a Checkout Session object. You can only update Sessions that are in an open state.

ENDPOINTS
POST /v1/checkout/sessions/:id

Parameters

collected_information object

Information about the customer collected within the Checkout Session.

line_items array of objects

A list of items the customer is purchasing. To retain an existing line item unchanged, specify only its id. To update one, specify its id along with the fields to change. To add a new line item, omit id and specify price or price_data with a quantity. To remove a line item, omit it from the array entirely. Maximum of 100 line items.

metadata object

Set of key-value pairs that you can attach to an object. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to metadata.

shipping_options array of objects

The shipping rate options to apply to this Session. Maximum of 5.

Returns

Returns a Checkout Session object.

POST/v1/checkout/sessions/:id
import { Zoneless } from '@zoneless/node';
const zoneless = new Zoneless('sk_live_z_YOUR_API_KEY', 'https://api.zoneless.com');

const session = await zoneless.checkout.sessions.update(
  'cs_z_a8KmQ2vLpR5wT9bHxJcFnW4uY',
  {
    metadata: {
      order_id: '8841',
    },
  }
);
RESPONSE
{
  "id": "cs_z_a8KmQ2vLpR5wT9bHxJcFnW4uY",
  "object": "checkout.session",
  "after_expiration": null,
  "allow_promotion_codes": null,
  "amount_subtotal": 4598,
  "amount_total": 4598,
  "automatic_tax": {
    "enabled": false,
    "liability": null,
    "provider": null,
    "status": null
  },
  "billing_address_collection": null,
  "branding_settings": null,
  "cancel_url": null,
  "client_reference_id": null,
  "client_secret": null,
  "collected_information": null,
  "consent": null,
  "consent_collection": null,
  "created": 1723910400,
  "currency": "usdc",
  "custom_fields": [],
  "custom_text": {
    "after_submit": null,
    "shipping_address": null,
    "submit": null,
    "terms_of_service_acceptance": null
  },
  "customer": null,
  "customer_account": null,
  "customer_creation": "if_required",
  "customer_details": null,
  "customer_email": null,
  "discounts": null,
  "expires_at": 1723996800,
  "invoice": null,
  "invoice_creation": {
    "enabled": false,
    "invoice_data": {
      "account_tax_ids": null,
      "custom_fields": null,
      "description": null,
      "footer": null,
      "issuer": null,
      "metadata": {},
      "rendering_options": null
    }
  },
  "livemode": false,
  "locale": null,
  "metadata": {
    "order_id": "8841"
  },
  "mode": "payment",
  "payment_intent": null,
  "payment_link": null,
  "payment_method_collection": "always",
  "payment_method_options": {
    "crypto": {}
  },
  "payment_method_types": [
    "crypto"
  ],
  "payment_status": "unpaid",
  "phone_number_collection": {
    "enabled": false
  },
  "recovered_from": null,
  "setup_intent": null,
  "shipping_address_collection": null,
  "shipping_cost": null,
  "shipping_options": [],
  "status": "open",
  "submit_type": null,
  "subscription": null,
  "success_url": "https://shop.example.com/order/complete",
  "total_details": {
    "amount_discount": 0,
    "amount_shipping": 0,
    "amount_tax": 0
  },
  "ui_mode": "hosted_page",
  "url": "https://checkout.yourdomain.com/c/x7k9m2p4q8",
  "return_url": null,
  "platform_account": "acct_z_Platform123abc",
  "url_slug": "x7k9m2p4q8",
  "payment_details": null
}

Retrieve a Checkout Session

Retrieves a Checkout Session object.

ENDPOINTS
GET /v1/checkout/sessions/:id

Returns

Returns a Checkout Session if a valid identifier was provided.

GET/v1/checkout/sessions/:id
import { Zoneless } from '@zoneless/node';
const zoneless = new Zoneless('sk_live_z_YOUR_API_KEY', 'https://api.zoneless.com');

const session = await zoneless.checkout.sessions.retrieve(
  'cs_z_a8KmQ2vLpR5wT9bHxJcFnW4uY'
);
RESPONSE
{
  "id": "cs_z_a8KmQ2vLpR5wT9bHxJcFnW4uY",
  "object": "checkout.session",
  "after_expiration": null,
  "allow_promotion_codes": null,
  "amount_subtotal": 4598,
  "amount_total": 4598,
  "automatic_tax": {
    "enabled": false,
    "liability": null,
    "provider": null,
    "status": null
  },
  "billing_address_collection": null,
  "branding_settings": null,
  "cancel_url": null,
  "client_reference_id": null,
  "client_secret": null,
  "collected_information": null,
  "consent": null,
  "consent_collection": null,
  "created": 1723910400,
  "currency": "usdc",
  "custom_fields": [],
  "custom_text": {
    "after_submit": null,
    "shipping_address": null,
    "submit": null,
    "terms_of_service_acceptance": null
  },
  "customer": null,
  "customer_account": null,
  "customer_creation": "if_required",
  "customer_details": null,
  "customer_email": null,
  "discounts": null,
  "expires_at": 1723996800,
  "invoice": null,
  "invoice_creation": {
    "enabled": false,
    "invoice_data": {
      "account_tax_ids": null,
      "custom_fields": null,
      "description": null,
      "footer": null,
      "issuer": null,
      "metadata": {},
      "rendering_options": null
    }
  },
  "livemode": false,
  "locale": null,
  "metadata": {},
  "mode": "payment",
  "payment_intent": null,
  "payment_link": null,
  "payment_method_collection": "always",
  "payment_method_options": {
    "crypto": {}
  },
  "payment_method_types": [
    "crypto"
  ],
  "payment_status": "unpaid",
  "phone_number_collection": {
    "enabled": false
  },
  "recovered_from": null,
  "setup_intent": null,
  "shipping_address_collection": null,
  "shipping_cost": null,
  "shipping_options": [],
  "status": "open",
  "submit_type": null,
  "subscription": null,
  "success_url": "https://shop.example.com/order/complete",
  "total_details": {
    "amount_discount": 0,
    "amount_shipping": 0,
    "amount_tax": 0
  },
  "ui_mode": "hosted_page",
  "url": "https://checkout.yourdomain.com/c/x7k9m2p4q8",
  "return_url": null,
  "platform_account": "acct_z_Platform123abc",
  "url_slug": "x7k9m2p4q8",
  "payment_details": null
}

List all Checkout Sessions

Returns a list of Checkout Sessions.

ENDPOINTS
GET /v1/checkout/sessions

Parameters

customer string

Only return Checkout Sessions for the Customer specified by this customer ID.

status enum

Only return Checkout Sessions with this status.

Possible enum values
complete
expired
open
limit integer

A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 10.

More attributes

Returns

A dictionary with a data property that contains an array of up to limit Checkout Sessions, starting after Checkout Session starting_after. Each entry in the array is a separate Checkout Session object. If no more Checkout Sessions are available, the resulting array is empty.

GET/v1/checkout/sessions
import { Zoneless } from '@zoneless/node';
const zoneless = new Zoneless('sk_live_z_YOUR_API_KEY', 'https://api.zoneless.com');

const sessions = await zoneless.checkout.sessions.list({
  limit: 3,
});
RESPONSE
{
  "object": "list",
  "url": "/v1/checkout/sessions",
  "has_more": false,
  "data": [
    {
      "id": "cs_z_a8KmQ2vLpR5wT9bHxJcFnW4uY",
      "object": "checkout.session",
      "after_expiration": null,
      "allow_promotion_codes": null,
      "amount_subtotal": 4598,
      "amount_total": 4598,
      "automatic_tax": {
        "enabled": false,
        "liability": null,
        "provider": null,
        "status": null
      },
      "billing_address_collection": null,
      "branding_settings": null,
      "cancel_url": null,
      "client_reference_id": null,
      "client_secret": null,
      "collected_information": null,
      "consent": null,
      "consent_collection": null,
      "created": 1723910400,
      "currency": "usdc",
      "custom_fields": [],
      "custom_text": {
        "after_submit": null,
        "shipping_address": null,
        "submit": null,
        "terms_of_service_acceptance": null
      },
      "customer": null,
      "customer_account": null,
      "customer_creation": "if_required",
      "customer_details": null,
      "customer_email": null,
      "discounts": null,
      "expires_at": 1723996800,
      "invoice": null,
      "invoice_creation": {
        "enabled": false,
        "invoice_data": {
          "account_tax_ids": null,
          "custom_fields": null,
          "description": null,
          "footer": null,
          "issuer": null,
          "metadata": {},
          "rendering_options": null
        }
      },
      "livemode": false,
      "locale": null,
      "metadata": {},
      "mode": "payment",
      "payment_intent": null,
      "payment_link": null,
      "payment_method_collection": "always",
      "payment_method_options": {
        "crypto": {}
      },
      "payment_method_types": [
        "crypto"
      ],
      "payment_status": "unpaid",
      "phone_number_collection": {
        "enabled": false
      },
      "recovered_from": null,
      "setup_intent": null,
      "shipping_address_collection": null,
      "shipping_cost": null,
      "shipping_options": [],
      "status": "open",
      "submit_type": null,
      "subscription": null,
      "success_url": "https://shop.example.com/order/complete",
      "total_details": {
        "amount_discount": 0,
        "amount_shipping": 0,
        "amount_tax": 0
      },
      "ui_mode": "hosted_page",
      "url": "https://checkout.yourdomain.com/c/x7k9m2p4q8",
      "return_url": null,
      "platform_account": "acct_z_Platform123abc",
      "url_slug": "x7k9m2p4q8",
      "payment_details": null
    }
  ]
}

Expire a Checkout Session

A Checkout Session can be expired when it is in open status. Once a Session is expired, it can no longer be used to complete a payment and customers can no longer access the Checkout page for it. Expiring a Session has the same effect as it expiring naturally, and any customer that attempts to pay is redirected to a page that says the Session is expired.

ENDPOINTS
POST /v1/checkout/sessions/:id/expire

Returns

Returns a Checkout Session object if the expiration succeeds. Returns an error if the Session has already expired or isn't in an expirable state.

POST/v1/checkout/sessions/:id/expire
import { Zoneless } from '@zoneless/node';
const zoneless = new Zoneless('sk_live_z_YOUR_API_KEY', 'https://api.zoneless.com');

const session = await zoneless.checkout.sessions.expire(
  'cs_z_b3Ae6ClgOkjygKwrf9B3L6ITtUu'
);
RESPONSE
{
  "id": "cs_z_b3Ae6ClgOkjygKwrf9B3L6ITtUu",
  "object": "checkout.session",
  "after_expiration": null,
  "allow_promotion_codes": null,
  "amount_subtotal": 4598,
  "amount_total": 4598,
  "automatic_tax": {
    "enabled": false,
    "liability": null,
    "provider": null,
    "status": null
  },
  "billing_address_collection": null,
  "branding_settings": null,
  "cancel_url": null,
  "client_reference_id": null,
  "client_secret": null,
  "collected_information": null,
  "consent": null,
  "consent_collection": null,
  "created": 1723824000,
  "currency": "usdc",
  "custom_fields": [],
  "custom_text": {
    "after_submit": null,
    "shipping_address": null,
    "submit": null,
    "terms_of_service_acceptance": null
  },
  "customer": null,
  "customer_account": null,
  "customer_creation": "if_required",
  "customer_details": null,
  "customer_email": null,
  "discounts": null,
  "expires_at": 1723910400,
  "invoice": null,
  "invoice_creation": {
    "enabled": false,
    "invoice_data": {
      "account_tax_ids": null,
      "custom_fields": null,
      "description": null,
      "footer": null,
      "issuer": null,
      "metadata": {},
      "rendering_options": null
    }
  },
  "livemode": false,
  "locale": null,
  "metadata": {},
  "mode": "payment",
  "payment_intent": null,
  "payment_link": null,
  "payment_method_collection": "always",
  "payment_method_options": {
    "crypto": {}
  },
  "payment_method_types": [
    "crypto"
  ],
  "payment_status": "unpaid",
  "phone_number_collection": {
    "enabled": false
  },
  "recovered_from": null,
  "setup_intent": null,
  "shipping_address_collection": null,
  "shipping_cost": null,
  "shipping_options": [],
  "status": "expired",
  "submit_type": null,
  "subscription": null,
  "success_url": "https://shop.example.com/order/complete",
  "total_details": {
    "amount_discount": 0,
    "amount_shipping": 0,
    "amount_tax": 0
  },
  "ui_mode": "hosted_page",
  "url": null,
  "return_url": null,
  "platform_account": "acct_z_Platform123abc",
  "url_slug": "x7k9m2p4q8",
  "payment_details": null
}

Retrieve a Checkout Session's line items

When retrieving a Checkout Session, there is an option to expand the line_items field. This lets you retrieve the list of line items directly without expanding the whole Session.

ENDPOINTS
GET /v1/checkout/sessions/:id/line_items

Parameters

ending_before string

A cursor for use in pagination. ending_before is an object ID that defines your place in the list.

limit integer

A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 10.

starting_after string

A cursor for use in pagination. starting_after is an object ID that defines your place in the list.

Returns

A dictionary with a data property that contains an array of up to limit line items for the given Checkout Session, starting after line item starting_after. Each entry in the array is a separate line item object. If no more line items are available, the resulting array is empty.

GET/v1/checkout/sessions/:id/line_items
import { Zoneless } from '@zoneless/node';
const zoneless = new Zoneless('sk_live_z_YOUR_API_KEY', 'https://api.zoneless.com');

const lineItems = await zoneless.checkout.sessions.listLineItems(
  'cs_z_a8KmQ2vLpR5wT9bHxJcFnW4uY'
);
RESPONSE
{
  "object": "list",
  "url": "/v1/checkout/sessions/cs_z_a8KmQ2vLpR5wT9bHxJcFnW4uY/line_items",
  "has_more": false,
  "data": [
    {
      "id": "li_z_1RqBEoLkdIwHu7ixWtXug1yk",
      "object": "item",
      "amount_discount": 0,
      "amount_subtotal": 4598,
      "amount_tax": 0,
      "amount_total": 4598,
      "currency": "usdc",
      "description": "Canvas Tote",
      "discounts": [],
      "metadata": {},
      "price": {
        "id": "price_z_1RqEsLkdIwHu7ix7Ssho8Cl",
        "object": "price",
        "active": true,
        "billing_scheme": "per_unit",
        "created": 1723910400,
        "currency": "usdc",
        "custom_unit_amount": null,
        "livemode": false,
        "lookup_key": null,
        "metadata": {},
        "nickname": null,
        "product": "prod_z_9K2mLpQ8vRxWnJc4",
        "recurring": null,
        "tax_behavior": "unspecified",
        "tiers_mode": null,
        "transform_quantity": null,
        "type": "one_time",
        "unit_amount": 2299,
        "unit_amount_decimal": "2299"
      },
      "quantity": 2,
      "taxes": []
    }
  ]
}