|
1
|
/** |
|
2
|
* @enum |
|
3
|
* |
|
4
|
* The status of a payment session. |
|
5
|
*/ |
|
6
|
export enum PaymentSessionStatus { |
|
7
|
/** |
|
8
|
* The payment is authorized. |
|
9
|
*/ |
|
10
|
AUTHORIZED = "authorized", |
|
11
|
/** |
|
12
|
* The payment is captured. |
|
13
|
*/ |
|
14
|
CAPTURED = "captured", |
|
15
|
/** |
|
16
|
* The payment is pending. |
|
17
|
*/ |
|
18
|
PENDING = "pending", |
|
19
|
/** |
|
20
|
* The payment requires an action. |
|
21
|
*/ |
|
22
|
REQUIRES_MORE = "requires_more", |
|
23
|
/** |
|
24
|
* An error occurred while processing the payment. |
|
25
|
*/ |
|
26
|
ERROR = "error", |
|
27
|
/** |
|
28
|
* The payment is canceled. |
|
29
|
*/ |
|
30
|
CANCELED = "canceled", |
|
31
|
/** |
|
32
|
* The payment authorization is pending and expected to be completed asynchronously |
|
33
|
* (e.g., bank transfers, payment links, vouchers, etc.). |
|
34
|
*/ |
|
35
|
PENDING_AUTHORIZATION = "pending_authorization", |
|
36
|
} |