Interface: InitiateSubscriptionChargeResult
Outcome of a merchant-initiated charge.
succeeded is only ever a stored-mandate (silent card) charge. Everything else is pending:
an STK prompt is on the customer’s phone, or the customer still has to finish a hosted checkout
at checkoutRedirectUrl. Settle from the subscription.charge.* webhooks — charge-status is a
single manual lookup, not a poll target.
Properties
chargeAttemptId
chargeAttemptId: string | null;chargeAttemptStatus
chargeAttemptStatus: SubscriptionChargeAttemptStatus | null;chargeStatus
chargeStatus: "succeeded" | "pending" | "failed";checkoutRedirectUrl
checkoutRedirectUrl: string | null;Set when the rail is a hosted checkout: send the customer’s browser here to pay.
checkoutRequestId
checkoutRequestId: string | null;Deterministic period key this charge runs under — pass it to the charge-status endpoint.
failureCode
failureCode: string | null;failureMessage
failureMessage: string | null;idempotent
idempotent: boolean;message
message: string;paymentId
paymentId: string | null;provider
provider: string | null;statusToken
statusToken: string | null;Signed proof for the public status page; only the browser return flow needs it.
subscriptionId
subscriptionId: string;Last updated on