Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Body
Each repetition import overrides existing subscriptions with matching ExternalSubscriptionId.
Required, UTC time, The reference point that aligns future billing cycle dates. It sets the day of week for week intervals, the day of month for month and year intervals, and the month of year for year intervals, format '2006-01-02 15:04:05'
Required. Specifies the ISO 3166-1 alpha-2 country code for the subscription (e.g., EE, RU). This code determines the applicable tax rules for the subscription.
Required, UTC time, the creation time of subscription, format '2006-01-02 15:04:05'
Required, UTC time, the current period end time of subscription, format '2006-01-02 15:04:05'
Required, UTC time, the current period start time of subscription, format '2006-01-02 15:04:05'
The email of user, one of Email or ExternalUserId is required
Optional. Unit: cents. If greater than 0, the system will verify the calculated total amount against this value
The external id of plan, one of planId or ExternalPlanId is required, plan should created at UniBee at first
Required, The external id of subscription
The external id of user, one of Email or ExternalUserId is required
In json format, additional features data of subscription, will join user's metric data in user api if provided'
UTC time, the first payment success time of subscription, format '2006-01-02 15:04:05'
Required, should one of stripe|paypal|wire_transfer|changelly
The id of plan, one of planId or ExternalPlanId is required, plan should created at UniBee at first
the quantity of plan, default 1 if not provided
The tax percentage. Only applicable when the system VAT gateway not setup. Value is in thousandths (e.g., 1000 = 10%).
The Vat Number of user