Skip to Content
SDK ReferenceReferenceInterfacesInterface: SubscriptionChargeStatus

Interface: SubscriptionChargeStatus

Live state of one queued charge. A subscription charge is initiated by a worker, so the provider’s checkout URL does not exist when a retry is queued — poll this until it appears or the charge settles.

Properties

chargeAttemptId

chargeAttemptId: string | null;

chargeAttemptStatus

chargeAttemptStatus: SubscriptionChargeAttemptStatus | null;

checkoutRedirectUrl

checkoutRedirectUrl: string | null;

checkoutRequestId

checkoutRequestId: string;

failureCode

failureCode: string | null;

failureMessage

failureMessage: string | null;

isFinal

isFinal: boolean;

isSuccessful

isSuccessful: boolean;

money

money: MoneyDto | null;

nextBillingAt

nextBillingAt: string | null;

paymentId

paymentId: string | null;

provider

provider: string | null;

receiptNumber

receiptNumber: string | null;

status

status: string | null;

subscriptionId

subscriptionId: string;
Last updated on