UseePay Open API
UseePay PortalMechant Dashboard
Product Docs
Product Docs
  • V2.0
  • V1.0
UseePay PortalMechant Dashboard
Product Docs
Product Docs
  • V2.0
  • V1.0
  1. Best Integration
  • Intergration
    • Welcome to the UseePay Demo Page
    • About Payment Methods
      • Card
      • Apple Pay Web Integration (API Integration)
      • Apple Pay(Hosted Checkout)
      • Google Pay
      • Klarna
      • Naver pay
      • Kakao Pay
      • Toss Pay
      • Payco
      • Affirm
      • Blik
      • trustly
    • subscription
      • Get started with Subscription
    • online payment
      • Get started with online payments
    • Payment Capabilities
      • Adaptive Price
  • developer
    • Introduction
    • Authentication
    • Errors
    • error code
      • last_payment_error documentation
    • Best Integration
      • Quickly create a paymentIntent for a subscription
      • Auto-Charge Subscription Guide
    • Payment Intents
      • Payment Intent Overview
      • Quickly create a paymentIntent
      • Create a PaymentIntent
      • Retrieve a PaymentIntent
      • Update a PaymentIntent
      • Confirm a PaymentIntent
      • Cancel a PaymentIntent
      • Capture a PaymentIntent
      • List all payment intents
    • Customers
      • Create a customer
      • Retrieves a customer
      • Update a customer
      • List all customers
    • Subscriptions
      • Create a subscription
      • Retrieves a subscription
      • Update a subscription
      • List all subscriptions
      • Cancel a subscription
    • Invoices
      • Create a invoice
      • Retrieves a invoice
      • List all invoices
      • Pay a invoice
    • Payment Methods
      • Create a payment method
      • Retieve Payment Method Session
      • Retrieves a payment method
      • Update a payment method
      • List all payment methods
    • Mandates
      • Create a mandate
      • Retrieves a mandate
      • List all mandates
    • Refunds
      • Create a refund
      • Retrieves a refund
      • List all refunds
    • Webhooks
      • Webhook events
      • Webhook Activation/Signature Verification Steps
      • Create a webhook
      • Retrieves a webhook
      • Update a webhook
      • List all webhooks
    • Embedded Checkout
      • Payment Elements
    • case
    • objects
    • About Testing
      • Test Cards
      • ApplePay&GooglePay
    • Payment Method Configuration
      • Retieve Payment Method Configuration
    • Schemas
      • Customer
      • Address
      • Shipping
      • Error
      • PaymentIntentCreateRequest
      • DeviceData
      • Order
      • Product
      • PaymentMethodOptions
      • RiskControlOptions
      • Mandate
      • PaymentIntent
      • PaymentMethod
      • Billing
      • Card
      • AliPay
      • Wallet
      • Klarna
      • WechatPay
      • Refund
      • Subscription
      • Recurring
      • PriceData
      • SubscriptionItem
      • Invoice
      • NextAction
      • Webhook
      • CollectableOptions
      • PaymentLink
      • last_payment_error
      • discount_period_config
  • message
    • Messaging Element
  • FAQ
    • Unable to receive Webhook notifications
UseePay PortalMechant Dashboard
Product Docs
Product Docs
  • V2.0
  • V1.0
UseePay PortalMechant Dashboard
Product Docs
Product Docs
  • V2.0
  • V1.0
  1. Best Integration

Auto-Charge Subscription Guide

How to invoke an auto-charge subscription?#

1. Set collection_method = auto_charge#

When creating a subscription through SubscriptionCreateRequest,
you must set the field collect_method to auto_charge.

2. Set current_period_start#

You must specify the start date and time of the first billing period using the ISO 8601 format:
⚠️ Attention:
The value of current_period_start must be later than the current time (now).

3. Configure recurring Parameters#

You must provide a recurring object to define the billing cycle.
Supported intervals include: week, month, or year.
In this example, the subscription will charge 500 units every week for three consecutive weeks.

How Auto-Charge Works#

After customer complete the first payment, the subsciption will be active.
Each invoice is automatically charged one day before the next billing period begins.
Example: If you create a subscription with the following parameters:
Then the auto-charge schedule will be:
Billing CycleBilling PeriodAuto-Charge Time
2nd Invoice2025-02-01 → 2025-02-282025-01-31
3rd Invoice2025-03-01 → 2025-03-312025-02-28
tips:
If a subscription remains inactive 24 hours after creation, it automatically transitions to incomplete_expired, permanently disabling any future auto-charge attempts.
The system attempts auto-charging at 01:00 UTC, and retried to charge at 04:00, 07:00, and 10:00 UTC.
If all automatic charge attempts fail, the subscription status will change to unpaid.
Modified at 2025-12-08 09:00:29
Previous
Quickly create a paymentIntent for a subscription
Next
Payment Intent Overview
Built with