A payment can have the following states:
| State | Meaning |
|---|---|
| pending | The payment is created but not yet authorized |
| authorized | The payment is authorized and can be captured |
| captured | The payment has been captured, you can look at the "captured" property to determine if it's a partial capture |
| refunded | The payment has been refunded, you can look at the "refunded" property to determine if it's a partial refund |
| canceled | The payment has been canceled |
| rejected | The payment has been rejected by the acquirer |
| expired | The payment authorization is expired at the the acquirer and cannot be captured |
