At the center of Flute's payments model is the transaction. A transaction is a record created every time money moves through a merchant's account.
A transaction is created with a single call:
POST /v2/transactions
Every transaction carries the same core shape regardless of payment type:
paymentProcessorIdspecifies the processor handling the transaction.baseAmountandcurrencyCodespecify the transaction amount.referenceIdspecifies a value the merchant chooses for their own bookkeeping.transactionDetailsspecifies an object holding either thecardDataorachDatadepending on how the customer is paying.
Each transaction goes through the same endpoint. It comes back with the same response envelope, just populated with different processorResponse details. This includes whether someone is charging a saved card, running a brand-new card number inline, or debiting a bank account through ACH.
Card transactions carry an extra decision point that ACH doesn't: captureMethod. This is set to either Auto or Manual.
Autocapture means the authorization and the capture happen in one step, and the transaction lands in an Approved state immediately, ready to settle.Manualcapture splits it into two steps: the initial call only authorizes the funds and returns a Pending transaction, and a separate call to POST /v2/transactions/{transactionId}/capture later finalizes it.
This distinction matters most for merchants who need to confirm inventory or finalize an order total. For example, a restaurant might close a tab with tips added before actually pulling the money. It's why the API treats "money authorized" and "money captured" as two different states rather than collapsing them into one.
Once a transaction is captured or approved, several other endpoints act on it rather than creating a new one.
- POST /v2/transactions/{transactionId}/reversal reverses a transaction outright.
- POST /v2/transactions/{transactionId}/tip-adjustment lets a merchant amend the tip on an existing charge, common in card-present environments where the tip is added after the initial swipe.
- POST /v2/transactions/credit for issuing money without tying it to a prior reference.
- POST /v2/transactions/{transactionId}/ach-hold for placing a hold on a pending ACH transaction.
Every transaction also comes back with a rich amountDetails and processorResponse breakdown rather than just a status code.
amountDetailsseparatesbaseAmountfromtipAmount,tipRate,surchargeAmount, anddiscountAmount. A merchant can see exactly how aprocessedAmountwas assembled instead of just the final total.processorResponsereports which underlying processor ran the transaction, TSYS, for instance, on the card examples in the spec, or a plain ACH label for bank debits, along with a response code and a human-readable message. For card transactions there's also anaddressVerificationServiceResponse, showing whether the billing address and the postal or ZIP code the customer supplied matched what the card issuer has on file. This is one of the signals merchants use to judge fraud risk on a given charge.
The following is an example of a basic transaction. A merchant charges $100 on a saved card with auto-capture, and the customer adds a $15 tip at checkout.
Request
POST /v2/transactions
{
"paymentProcessorId": "a2f2c2e7-0b23-4682-8f99-ab7707205461",
"baseAmount": 100.00,
"currencyCode": "USD",
"referenceId": "REF-CARD-SALE-001",
"isCustomerInitiatedTransaction": true,
"pricingType": "Card",
"transactionDetails": {
"cardData": {
"captureMethod": "Auto",
"paymentMethodId": "e397e367-bc4a-4b69-bd78-32e3e12327c2"
}
}
}Because the captureMethod is Auto, Flute authorizes and captures the charge in the same call. The response comes back already settled from the API's perspective:
Response
{
"transactionId": "5f6f782f-37af-44e1-bb18-2bc35e411899",
"transactionStatus": "Approved",
"processedAmount": 115.5,
"currencyCode": "USD",
"amountDetails":
{
"baseAmount": 100.00,
"tipAmount": 15,
"surchargeAmount": 3,
"discountAmount": 2.5
},
"processorResponse":
{
"processorName": "TSYS",
"responseCode": "00",
"responseMessage": "Approved",
"responseDefinition": "Approved and completed"
},
"addressVerificationServiceResponse":
{
"action": "Allow",
"responseCode": "Y",
"description": "Address and ZIP match"
}
}The processedAmount ($115.50) reflects the base charge plus the tip and a surcharge, minus a discount. This is exactly as itemized in amountDetails.
The transaction is done. There is no separate capture call needed. This merchant chose the auto-capture path rather than the authorize-then-capture flow used for something like a restaurant tab.
GET {{baseURL}}/v2/transactions
This endpoint returns a paginated list of settlement batches for the authenticated merchant. It supports filtering by batch status, date range, specific batch identifiers, and payment processor type.
Items returned here present a limited amount of details. These are intended to be a brief summary of the transactions. For complete details of a specific transaction, see GET /v2/transactions/{transactionId}.
This endpoint requires a merchant API token. A partner API token will result in a permissions error including possibly a 403 response.
See Also:
To retrieve a transaction by ID, see GET /v2/transactions/{transactionId}.
To create a transaction, see POST /v2/transactions.
To capture a transaction, see POST /v2/transactions/{transactionId}/capture.
Specifies the page number of the returned search results.
A page is considered each set of the pageSize values.
The page count is zero-based. The maximum for pageIndex, or the page number, is the pageSize divided by the total count rounded down. For example, the pageSize is 50 and the total is 130. That means there are three pages, but the pageIndex value is in the inclusive range from zero to two.
Value restrictions include:
- A value less than zero is not permitted.
- Values equal to or greater than
totalPagesend successfully but will not return any items.
For page size information, see pageSize.
Example: 0
Specifies the number of items for each page of the returned search results.
A page is considered each set of the pageSize values.
The page count is zero-based. The maximum for pageIndex, or the page number, is the pageSize divided by the total count rounded down. For example, the pageSize is 50 and the total is 130. That means there are three pages, but the pageIndex value is in the inclusive range from zero to two.
For page numbering information, see pageIndex.
Example: 50
Specifies a field name to sort the results by.
If null or omitted, results come back newest first.
The sort order is specified by the sortOrder value.
Valid values are:
cardTokenType
customerCompanyName
customerName
maskedCardNumber
merchantCompanyName
paymentMethodType
processedAmount
transactionDateTime
transactionId
transactionStatus
Example: transactionDateTime
Specifies the sort order.
The sort order is specified by the sortOrder value.
The field that gets sorted by is specified by the sortBy value.
Valid values are:
| Value | Description |
|---|---|
| asc | Sorts results in ascending order, from the lowest value to the highest, or from the oldest timestamp to the most recent. |
| desc | Sorts results in descending order, from the highest value to the lowest, or from the most recent timestamp to the oldest. |
Specifies a filter to return items at or after this date-time (in an ISO 8601 date-time format).
If only fromDate is specified, the search returns all available items from the fromDate value to the present. The fields fromDate and toDate may be used together to create an inclusive range. We recommend creating an inclusive range to avoid a potentially excessive number of returns.
Example: 2025-01-27T12:05:54.322Z
Specifies a filter to return items at or before this date-time (in an ISO 8601 date-time format).
If only toDate is specified, the search returns all available items up to the toDate value. The fields fromDate and toDate may be used together to create an inclusive range. We recommend creating an inclusive range to avoid a potentially excessive number of returns.
Example: 2026-02-27T12:05:54.322Z
Specifies a filter by the transaction source.
Valid values are:
| Value | Description |
|---|---|
| ApiKey | An external application created the transaction using an API key. |
| Invoice | A billed invoice created the transaction. |
| MobileApp | A mobile application created the transaction. |
| Portal | A staff member created the transaction through the web portal. |
| QuickPayment | A one-time payment link created the transaction. |
| Subscription | A recurring subscription created the transaction. |
| TapToPay | A mobile device using tap to pay created the transaction. |
| Terminal | A physical payment terminal created the transaction. |
| WebComponent | An embedded web component created the transaction. |
Example: ApiKey
Specifies a filter by the aggregated transaction status.
Valid values are:
| Status | Description | Type |
|---|---|---|
| Authorized | Payment approved but funds not yet captured. | Card |
| Cancelled | Transaction stopped before it completed. | ACH |
| Captured | Approved funds collected from the card. | Card |
| ChargedBack | Cardholder disputed the charge with their bank. | ACH |
| Cleared | Funds finished processing and settled. | ACH |
| Declined | Payment rejected by the bank or processor. | Card/ACH |
| Failed | Transaction could not complete due to an error. | Card/ACH |
| Held | Transaction paused and awaiting release. | ACH |
| HeldByProcessor | Processor paused the transaction for review. | ACH |
| Informational | Record used for reference only, not a live charge. | Card |
| InProgress | Transaction is still processing. | ACH |
| PartiallyAuthorized | Only part of the requested amount was approved. | Card |
| Pending | Transaction is waiting for a result. | Card/ACH |
| Refunded | Funds returned to the cardholder. | Card |
| Scheduled | Transaction set to run at a future time. | ACH |
| Settled | Funds moved from issuer to the merchant account. | Card |
| Verified | Card or account confirmed as valid. | Card |
| Voided | Authorization canceled before capture. | Card |
Example: Authorized
Specifies a filter by the payment method type.
Valid values are:
| Type | Description |
|---|---|
| ACH | Payment made through an ACH (automated clearing house) bank transfer. |
| Card | Payment made with a credit or debit card. |
| Cash | Payment made with physical currency. |
Example: Card
Specifies a filter by the minimum transaction amount to include in the results.
Only transactions with this amount or more are returned.
If only minAmount is specified, the search returns all transactions with at least this amount. The fields minAmount and maxAmount may be used together to create an inclusive range. We recommend creating an inclusive range to avoid a potentially excessive number of returns.
Example: 200.00
Specifies a filter by the maximum transaction amount to include in the results.
Only transactions with this amount or less are returned.
If only maxAmount is specified, the search returns all transactions with no more than this amount. The fields minAmount and maxAmount may be used together to create an inclusive range. We recommend creating an inclusive range to avoid a potentially excessive number of returns.
Example: 500.00
Specifies a filter by the reference identifier provided by the merchant.
A referenceId is a duplicate-check key. It allows the same card and amount combination to be charged multiple times when the reference identifiers are different.
Example: REF-EXT-12345
- Sandbox environmenthttps://sandbox.api.flute.com/v2/transactions
- Production environmenthttps://api.flute.com/v2/transactions
// Language is not supported.Indicates an object describing the pagination status.
If additional pages to review are needed, repeat the exact same search but include a new pageIndex value. Typically, this will increment the current pageIndex by one. However, any valid value may be used. Value restrictions include:
- A value less than zero is not permitted.
- Values equal to or greater than
totalPagesend successfully but will not return any items.
{ "items": [ { "transactionId": "3a2257af-e059-4718-b1c6-ee60bd83816e", "transactionDateTime": "2025-06-15T14:30:56.264Z", "transactionStatus": "Captured", "paymentMethodType": "Card", "referenceId": "REF-001", "processedAmount": 115.5, "currencyCode": "USD", "amountBreakdown": { "baseAmount": 99.99, "tipAmount": 10, "tipRate": 0, "surchargeAmount": 5.5, "discountAmount": 0, "discountRate": 0 }, "cardDetails": { "maskedCardNumber": "411111******1111", "cardBrand": "Visa", "cardType": "Credit" }, "achDetails": null }, { "transactionId": "53c558a4-b01a-4a43-a8c1-1c9820250958", "transactionDateTime": "2025-06-15T10:00:56.264Z", "transactionStatus": "Captured", "paymentMethodType": "ACH", "referenceId": "REF-002", "processedAmount": 200, "currencyCode": "USD", "amountBreakdown": { "baseAmount": 200, "tipAmount": 0, "tipRate": 5.5, "surchargeAmount": 0, "discountAmount": 0, "discountRate": 0 }, "cardDetails": null, "achDetails": { "maskedAccountNumber": "****6789", "accountRoutingNumber": "****0001", "accountHolderType": "Personal", "accountType": "Checking", "secCode": "Web" } } ], "pageInfo": { "pageIndex": 0, "pageSize": 20, "totalItems": 150, "totalPages": 8, "hasMore": true } }