You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Contains proration credit details including billing cycle information.
785
+
*/
786
+
exportinterfaceBillingProrationCreditDetailJSON{
787
+
amount: BillingMoneyAmountJSON;
788
+
cycle_days_remaining: number;
789
+
cycle_days_total: number;
790
+
cycle_remaining_percent: number;
791
+
}
792
+
793
+
/**
794
+
* Contains payer credit details including the available balance and the amount applied to this checkout.
795
+
*/
796
+
exportinterfaceBillingPayerCreditJSON{
797
+
remaining_balance: BillingMoneyAmountJSON;
798
+
applied_amount: BillingMoneyAmountJSON;
799
+
}
800
+
801
+
/**
802
+
* Unified credits breakdown for checkout totals. Can be used instead of `credit` field.
803
+
*/
804
+
exportinterfaceBillingCreditsJSON{
805
+
proration: BillingProrationCreditDetailJSON|null;
806
+
payer: BillingPayerCreditJSON|null;
807
+
total: BillingMoneyAmountJSON;
808
+
}
809
+
782
810
/**
783
811
* @experimental This is an experimental API for the Billing feature that is available under a public beta, and the API is subject to change. It is advised to [pin](https://clerk.com/docs/pinning) the SDK version and the clerk-js version to avoid breaking changes.
0 commit comments