h1
The following are Flute-defined enumerations and indices used in endpoint fields.

#### Account Holder Types (AccountHolderType)

Identifies whether the account holder is a business or an individual.

| Id | Name | Explanation |
|  --- | --- | --- |
| 1 | Business | The account is held by a business or organization. |
| 2 | Personal | The account is held by an individual. |


#### Account Types (AccountType)

Identifies the type of bank account used for an ACH transaction.

| Id | Name | Explanation |
|  --- | --- | --- |
| 1 | Checking | A standard checking account used for everyday transactions. |
| 2 | Savings | A savings account, typically used to hold funds rather than for frequent transactions. |


#### Credit Card Types (CardBrand)

Identifies the card network associated with a payment card.

| Id | Name | Explanation |
|  --- | --- | --- |
| 1 | Visa | Card issued on the Visa network. |
| 2 | MasterCard | Card issued on the Mastercard network. |
| 3 | AmericanExpress | Card issued on the American Express network. |
| 4 | DinersClub | Card issued on the Diners Club network. |
| 5 | Discover | Card issued on the Discover network. |
| 6 | JCB | Card issued on the JCB (Japan Credit Bureau) network. |


#### Transaction Creator Types (SourceType)

Identifies the method or channel used to create an ACH transaction.

| Id | Name | Explanation |
|  --- | --- | --- |
| 1 | Portal | Created from the Flute merchant portal (web dashboard). |
| 2 | ApiToken | Created from a direct API call authenticated with an API token. |
| 3 | Terminal | Created at a physical POS terminal. |
| 4 | Invoice | Created from an invoice payment. |
| 5 | QuickPayment | Created from a Quick Payment / payment link. |
| 6 | WebComponent | Created from an embedded web payment component, such as Flute Elements). |
| 7 | Subscription | Created by a recurring subscription billing cycle. |
| 8 | MobileApp | Created from a mobile app integration. |
| 9 | TapToPay | Created from tap-to-pay (contactless) on a mobile device. |


#### Payment Method Types (PaymentMethodType)

Identifies the payment method used for a transaction.

| Id | Name | Explanation |
|  --- | --- | --- |
| 1 | Card | Payment made with a credit or debit card. |
| 2 | ElectronicCheck | Payment made from ACH (electronic check). |


#### Payment Processor Types (PaymentProcessorType)

Identifies the payment processor used to route a transaction.

| Id | Name | Explanation |
|  --- | --- | --- |
| 1 | TSYS | Transactions are routed through the TSYS payment processor. |
| 2 | EFT | Transactions are routed through the EFT payment processor. |


#### Payment Session Statuses (PaymentSessionStatusDto)

Indicates the current status of a payment session.

| Id | Name | Explanation |
|  --- | --- | --- |
| 1 | Created | The payment session has been created but not yet completed. |
| 2 | Cancelled | The payment session was cancelled before completion. |
| 3 | Completed | The payment session was completed successfully. |
| 4 | Failed | The payment session failed to complete. |


#### Transaction Statuses (TransactionStatus)

Indicates the current status of a transaction, along with the actions still available for that status.

| Status Code | Status | Description | Available Actions |
|  --- | --- | --- | --- |
| 1 | Authorized | Transaction status after an approved `pre-authorization` request | Capture, Void |
| 2 | Captured | Transaction status after approved `sale` or `capture` request | Void |
| 3 | Voided | Transaction status after merchant voids an `authorized` request or refunds a `captured` (not settled) request | N/A |
| 4 | Refunded | Transaction status after merchant refunds a `settled` request | N/A |
| 5 | Verified | NA | N/A |
| 6 | Settled | Transaction status after successful settlement request. All `captured` transactions should have status changed to `settled` | Refund |
| 7 | Partially Authorized | Transaction status after an approved `pre-authorization` request with the approved amount less than initially requested. Indicates that the issuer bank has approved only a portion of the requested payment amount. The exact authorized amount should be checked in the corresponding field. | Capture, Void |
| 8 | Informational | NA | N/A |
| 21 | Scheduled | NA | N/A |
| 24 | Pending | Transaction status while changing status. This is a temporary status | N/A |
| 91 | Declined | Transaction status after a denied `pre-authorization`, `sale` or `capture` request | N/A |
| 92 | Failed | Transaction status after a failure at any type of request | N/A |
| 92 | Expired | Transaction status after 7 days in `authorized` status (merchant has not captured within this time) | N/A |


#### Transaction Types (TransactionType)

Identifies the type of operation performed for a transaction.

| Id | Name | Explanation |
|  --- | --- | --- |
| 1 | Authorization | Reserves funds on the cardholder's account without capturing them. |
| 2 | Sale | Combines authorization and capture in a single request. |
| 3 | Capture | Completes a previously authorized transaction and captures the funds. |
| 4 | Void | Cancels an authorized or captured transaction before settlement. |
| 5 | Refund | Returns funds to the cardholder after a transaction has settled. |
| 6 | CardAuthentication | Verifies card details, for example, 3-D Secure, without moving funds. |
| 7 | RefundWORef | A refund issued without a reference to the original transaction. |
| 8 | TipAdjustment | Adjusts the captured amount to add a tip after the initial transaction. |
| 11 | AchDebit | Withdraws funds from a bank account from ACH. |
| 12 | AchRefund | Returns funds to a bank account from ACH. |
| 13 | AchHold | Places a hold on funds for a pending ACH transaction. |
| 14 | AchUnHold | Releases a hold placed on an ACH transaction. |
| 15 | AchCancel | Cancels a pending ACH transaction. |
| 16 | AchCredit | Deposits funds into a bank account from ACH. |