Skip to content

PaymentNotificationResult

Public outcome of an authenticated payment notification.

const PaymentNotificationResult: Schema.toTaggedUnion<"status", readonly [Schema.Struct<{
status: Schema.Literal<"ignored">;
provider: Schema.brand<Schema.String, "ProviderKey">;
reason: Schema.Literal<"not_settled">;
}>, Schema.Struct<{
status: Schema.Literal<"settled">;
checkoutId: Schema.brand<Schema.String, "CheckoutId">;
paymentId: Schema.brand<Schema.String, "PaymentId">;
subscriptionId: Schema.NullOr<Schema.brand<Schema.String, "SubscriptionId">>;
replayed: Schema.Boolean;
accessContributionCount: Schema.Int;
seatCapacityContributionCount: Schema.Int;
fulfillmentObligationCount: Schema.Int;
creditLotCount: Schema.Int;
}>, Schema.Struct<{
status: Schema.Literal<"refunded">;
checkoutId: Schema.brand<Schema.String, "CheckoutId">;
paymentId: Schema.brand<Schema.String, "PaymentId">;
replayed: Schema.Boolean;
revokedContributionCount: Schema.Int;
revokedSeatCapacityCount: Schema.Int;
cancelledFulfillmentCount: Schema.Int;
reversalObligationCount: Schema.Int;
refundedCreditLotCount: Schema.Int;
}>, Schema.Struct<{
status: Schema.Literal<"failed">;
checkoutId: Schema.brand<Schema.String, "CheckoutId">;
replayed: Schema.Boolean;
}>, Schema.Struct<{
status: Schema.Literal<"expired">;
checkoutId: Schema.brand<Schema.String, "CheckoutId">;
replayed: Schema.Boolean;
}>]>;