API Reference
API Reference

Customer Generation Rules

After creating the checkout session, the system will automatically generate the corresponding customer information:

  1. If a one-time product is purchased, the customer type is Guest;
  2. If a subscription product is purchased, the customer type is Customer.

Note: Guests will be automatically upgraded to the Customers if they subscribe later.


These developer docs retire on 2026-08-30. Visit the new docs: NEW DOCS本开发者文档将于 2026-08-30下线,请访问新版文档: 新文档