# Subotiz Documentation ## API Reference - [Help Center](https://developer.subotiz.com/reference/help-center.md) - [Payment Error Code](https://developer.subotiz.com/reference/payment-error-code.md) - [Subotiz SDK](https://developer.subotiz.com/reference/subotiz-sdk.md) - [Test Card](https://developer.subotiz.com/reference/测试卡.md) - [Sandbox Environment](https://developer.subotiz.com/reference/测试环境.md) - [Can I get a refund if I cancel?](https://developer.subotiz.com/reference/can-i-get-a-refund-if-i-cancel.md) - [Can the currency in the background display the corresponding prices in the corresponding languages?](https://developer.subotiz.com/reference/can-the-currency-in-the-background-display-the-corresponding-prices-in-the-corresponding-languages.md) - [If I cancel a subscription to take effect at the end of the billing period, will the cancellation callback be triggered only when the cancellation time arrives?](https://developer.subotiz.com/reference/cancel-the-subscription-in-the-case-of-cancellation-in-the-next-cycle-will-the-subscription-contract-be-cancelled-only-when-the-time-is-up-has-the-callback-for-cancellation-of-the-subscription-already-occurred.md) - [Customer Generation Rules](https://developer.subotiz.com/reference/customer-generation-rules.md) - [How to initiate a refund?](https://developer.subotiz.com/reference/how-to-initiate-a-refund.md) - [Is there an interface to cancel the checkout session?](https://developer.subotiz.com/reference/is-there-an-interface-to-cancel-the-checkout-session.md) - [The Relationship between Customer_id and Payer_id](https://developer.subotiz.com/reference/the-relationship-between-customer_id-and-payer_id.md) - [What is the core difference between the callbacks of "trade" and "invoice"?](https://developer.subotiz.com/reference/what-is-the-core-difference-between-the-callbacks-of-trade-and-invoice.md) - [What is the length of the subscription period?](https://developer.subotiz.com/reference/what-is-the-length-of-the-subscription-period.md) - [Will the change affect the billing date?](https://developer.subotiz.com/reference/will-the-change-affect-the-billing-date.md) - [Issue Feedback](https://developer.subotiz.com/reference/issue-feedback.md) - [Embedded Form](https://developer.subotiz.com/reference/embedded-form.md): Subotiz supports completing the checkout process through an embedded form (Embedded Mode). It provides a low-code payment integration solution, allowing you to easily create customizable payment forms and quickly implement the checkout flow. - [Hosted Page](https://developer.subotiz.com/reference/hosted.md): Subotiz supports completing the checkout process via a hosted page (Hosted Mode). When a customer needs to checkout, you can use the Subotiz API to create a Checkout Session and then redirect the customer to the Subotiz checkout page to complete the entire checkout process seamlessly and securely. - [Overview](https://developer.subotiz.com/reference/overview.md): Currently, Subotiz supports two integration modes: ​​Checkout​​ and ​​Payment​​. - [Embedded Form](https://developer.subotiz.com/reference/embedded-form-payment.md): Subotiz supports completing checkout flows through embedded forms, offering a low-code payment integration solution. Easily create customizable payment forms to accelerate your payment implementation. - [Overview](https://developer.subotiz.com/reference/overview-1.md) - [Quick Start](https://developer.subotiz.com/reference/quick-start.md): This guide will walk you through the foundational integration of Subotiz's payment capabilities using our Hosted Checkout solution([hosted mode](https://developer.subotiz.com/reference/hosted#/))to quickly implement a payment flow.​​ Subotiz provides an easy-to-use payment solution that supports core features such as subscription management and transaction processing, making it suitable for various business scenarios including AI platforms, SaaS applications, and more. - [Subotiz · PayPal Merchants](https://developer.subotiz.com/reference/subotiz-paypal-商家.md) - [Subotiz Merchants](https://developer.subotiz.com/reference/subotiz-商家.md) - [Authentication](https://developer.subotiz.com/reference/authentication-1.md): Subotiz OpenAPI uses **API Keys** to authenticate requests. Every API call must include a valid API Key in the HTTP request header. The gateway validates the key before forwarding the request to backend services. - [Object](https://developer.subotiz.com/reference/object-3.md) - [Create Checkout Session](https://developer.subotiz.com/reference/v1-checkout-session-create-checkout-session.md): Create Checkout Session - [Expire Checkout Session](https://developer.subotiz.com/reference/v1-checkout-session-expire-checkout-session.md): expire a checkout session. - [Get Checkout Session](https://developer.subotiz.com/reference/v1-checkout-session-get-checkout-session.md): Get Checkout Session - [List Checkout Session](https://developer.subotiz.com/reference/v1-checkout-session-list-checkout-session.md): List Checkout Session - [Object](https://developer.subotiz.com/reference/object-10.md) - [Customer Portal Api Auth](https://developer.subotiz.com/reference/v1-customer-portal-api-auth.md): Customer Portal Api Auth - [Object](https://developer.subotiz.com/reference/object.md) - [Create Customer](https://developer.subotiz.com/reference/v1-customer-create-customer.md): Create Customer - [Delete Customer](https://developer.subotiz.com/reference/v1-customer-delete-customer.md): Delete Customer - [Get Customer](https://developer.subotiz.com/reference/v1-customer-get-customer.md): Get Customer - [List Customer](https://developer.subotiz.com/reference/v1-customer-list-customer.md): List Customer - [Update Customer](https://developer.subotiz.com/reference/v1-customer-update-customer.md): Update Customer - [Object](https://developer.subotiz.com/reference/object-11.md) - [End Discount](https://developer.subotiz.com/reference/v1-discount-end-discount.md): End discount - [Get Discount](https://developer.subotiz.com/reference/v1-discount-get-discount.md): Get discount detail - [List Discounts](https://developer.subotiz.com/reference/v1-discount-list-discount.md): List discounts - [Errors](https://developer.subotiz.com/reference/errors.md) - [Introduction](https://developer.subotiz.com/reference/introduction-1.md): Subotiz API requests must use HTTPS and comply with RESTful API specifications. - [Object](https://developer.subotiz.com/reference/object-7.md) - [Get Invoice](https://developer.subotiz.com/reference/v1-invoice-get-invoice.md): Get Invoice - [List Invoices](https://developer.subotiz.com/reference/v1-invoice-list-invoice.md): List Invoices - [Metadata](https://developer.subotiz.com/reference/metadata.md) - [Object](https://developer.subotiz.com/reference/object-9.md) - [List Payments by Trade Order ID](https://developer.subotiz.com/reference/v1-payment-list-payments-by-trade-id.md): Get payment flow list by trade_id. Returns all payment flows (including retries) for a specific trade. - [List Payments by Time Range](https://developer.subotiz.com/reference/v1-payment-query-payments.md): Query payment flows by time range and filters. Supports pagination with cursor-based navigation. Merchants can filter payments by creation time. - [Object](https://developer.subotiz.com/reference/object-1.md) - [Change Pricing Status](https://developer.subotiz.com/reference/v1-price-change-price-status.md): Change Pricing Status - [Create Pricing](https://developer.subotiz.com/reference/v1-price-create-price.md): Create Pricing - [Get Pricing Version](https://developer.subotiz.com/reference/v1-price-get-price-version.md): Get Pricing Version - [Get Pricing](https://developer.subotiz.com/reference/v1-price-get-price.md): Get Pricing - [List Pricing Version](https://developer.subotiz.com/reference/v1-price-list-price-version.md): List Pricing Version - [List Pricing](https://developer.subotiz.com/reference/v1-price-list-price.md): List Pricing - [Object](https://developer.subotiz.com/reference/object-6.md) - [Change Product Status](https://developer.subotiz.com/reference/v1-product-change-product-status.md): Change Product Status - [Create Product](https://developer.subotiz.com/reference/v1-product-create-product.md): Create Product - [Get Product Version](https://developer.subotiz.com/reference/v1-product-get-product-version.md): Get Product Version - [Get Product](https://developer.subotiz.com/reference/v1-product-get-product.md): Get Product - [List Product Categories](https://developer.subotiz.com/reference/v1-product-list-product-categories.md): List Product Categories - [List Product Version](https://developer.subotiz.com/reference/v1-product-list-product-version.md): List Product Version - [List Produc](https://developer.subotiz.com/reference/v1-product-list-product.md): List Product - [Object](https://developer.subotiz.com/reference/object-2.md) - [Create Refund](https://developer.subotiz.com/reference/v1-refund-create-refund.md): Create Refund - [Get Refund](https://developer.subotiz.com/reference/v1-refund-get-refund.md): Get Refund - [List Refunds](https://developer.subotiz.com/reference/v1-refund-list-refund.md): List Refunds - [Object](https://developer.subotiz.com/reference/object-4.md) - [Cancel Subscription](https://developer.subotiz.com/reference/v1-subscription-cancel-subscription.md): Cancel Subscription - [Get Subscription Usage](https://developer.subotiz.com/reference/v1-subscription-get-subscription-usage.md): Get Subscription Usage - [Get Subscription](https://developer.subotiz.com/reference/v1-subscription-get-subscription.md): Get Subscription - [List Subscriptions](https://developer.subotiz.com/reference/v1-subscription-list-subscription.md): List Subscriptions - [Pause Subscription](https://developer.subotiz.com/reference/v1-subscription-pause-subscription.md): Pause Subscription - [Record Subscription Usage](https://developer.subotiz.com/reference/v1-subscription-record-subscription-usage.md): Record Subscription Usage - [Renewal Subscription](https://developer.subotiz.com/reference/v1-subscription-renewal-subscription.md): Renewal Subscription - [Resume Subscription](https://developer.subotiz.com/reference/v1-subscription-resume-subscription.md): Resume Subscription - [Revoke Subscription Cancellation](https://developer.subotiz.com/reference/v1-subscription-revoke-cancel-subscription.md): Revoke Subscription Cancellation - [Update Subscription](https://developer.subotiz.com/reference/v1-subscription-update-subscription.md): Update Subscription - [Object](https://developer.subotiz.com/reference/object-5.md) - [Create Trade Order](https://developer.subotiz.com/reference/v1-trade-create-trade.md): Create Trade Order - [Get Trade Order](https://developer.subotiz.com/reference/v1-trade-get-trade.md): Get Trade Order - [List Trade Orders](https://developer.subotiz.com/reference/v1-trade-list-trade.md): List Trade Orders - [Object](https://developer.subotiz.com/reference/object-8.md) - [List Webhook Endpoints](https://developer.subotiz.com/reference/v1-webhook-list-endpoint.md): List Webhook Endpoints - [List Webhook Events](https://developer.subotiz.com/reference/v1-webhook-list-webhook-event.md): Returns a list of webhook events created via the API only when the callback_url was specified in the request. - [List Webhook Events V2](https://developer.subotiz.com/reference/v2-webhook-list-event.md): Returns a list of webhook events created with configured endpoints. - [Event Types](https://developer.subotiz.com/reference/event-types.md) - [Invoice](https://developer.subotiz.com/reference/invoice.md) - [Refund](https://developer.subotiz.com/reference/refund-1.md) - [Subscription](https://developer.subotiz.com/reference/subscription-1.md) - [Trade Order](https://developer.subotiz.com/reference/trade-1.md) - [Event Types](https://developer.subotiz.com/reference/event-types-1.md) - [Invoice](https://developer.subotiz.com/reference/invoice-2.md) - [Refund](https://developer.subotiz.com/reference/refund-2.md) - [Subscription](https://developer.subotiz.com/reference/subscription-2.md) - [Trade Order](https://developer.subotiz.com/reference/trade-2.md) - [Introduction](https://developer.subotiz.com/reference/introduction-2.md)