@lomray/microservice-payment-stripe
Version:
Stripe payment microservice based on NodeJS & inverted json.
21 lines (20 loc) • 630 B
TypeScript
/**
* Enum for storing transaction status
*/
declare enum TransactionStatus {
PAID = "paid",
UNPAID = "unpaid",
NO_PAYMENT_REQUIRED = "no_payment_required",
ERROR = "error",
SUCCEEDED = "succeeded",
PAYMENT_FAILED = "payment_failed",
PROCESSING = "processing",
REQUIRES_CONFIRMATION = "requires_confirmation",
REQUIRES_PAYMENT_METHOD = "requires_payment_method",
REFUND_SUCCEEDED = "refund_succeeded",
REFUND_PENDING = "refund_pending",
REFUND_CANCELED = "refund_canceled",
REFUND_FAILED = "refund_failed",
CANCELED = "canceled"
}
export { TransactionStatus as default };