Reports
Reports turn order, payment, merchant billing, balance, payout, and tax history into versioned CSV files. Generation is asynchronous: create a report, wait for report.succeeded or poll the resource, then download the file with your API key. Each report covers one report type, one currency, and one interval of up to 366 days.
Use a report when you need a whole period as a file: a month of payments for your books, a quarter of payout contents, or a year of tax by jurisdiction. To look up one record or follow activity as it happens, read the API directly. For example, GET /v1/balance-transactions?payout_id=... on money movement lists what one payout carried without generating anything.
The Reports guide has every report's columns, the reasons a report fails, and reconciliation recipes.
Small balances waived on a paid-order edit are merchant adjustments, not collected money. Read the edit's small_balance_adjustment_money and the order's settlement_amounts.written_off_money for those amounts. Removing absorbed value reverses the write-off through a negative edit adjustment. Tax collection exports exclude the absorbed amount.
Access#
| Rule | Detail |
|---|---|
| Credentials | API keys only. Partner apps can't call report routes or request report scopes, and report events go only to the merchant's own webhook endpoints. |
| Scopes | reports.write creates a report. Listing, reading, and downloading accept reports.read or reports.write. |
| Environment | A report covers the activity of the key's environment. A sandbox key reports on that sandbox, and only keys for the same environment can read or download the report. |
| Pending limit | Five reports can be pending in each environment. A new report returns 409 LIMIT_REACHED with reason pending_reports until one finishes. |
Report types#
report_type names the row and the column version. Each type selects rows by its own occurrence time, so two types over the same dates cover different activity. A payout that arrives on February 1 carries January's balance transactions, so payouts_itemized_v1 and balance_transactions_itemized_v1 for February list different rows.
report_type | One row is | The interval matches |
|---|---|---|
orders_itemized_v1 | A closed order | When the order's collection completed |
orders_itemized_v2 | A closed order, with gift card sales split from merchandise | When the order's collection completed |
payments_itemized_v1 | A succeeded payment, with its processing and add-on fees | Capture time |
balance_transactions_itemized_v1 | A balance transaction | When the transaction occurred |
payouts_itemized_v1 | One balance transaction in a paid itemized payout, or one paid manual payout without itemization | The payout's arrival_date |
merchant_billing_itemized_v1 | One change to what you owe Flint or the credit you hold | When the change occurred |
tax_itemized_v1 | One tax breakdown on an order | When the order's collection completed |
tax_summarized_v1 | One jurisdiction and tax type | Collection time for sales, refund success time for reversals |
tax_transactions_itemized_v1 | One automatic tax calculation or refund reversal | Collection time for sales, refund success time for reversals |
tax_transactions_itemized_v2 | One automatic tax collection or refund reversal, or one exempt sale | Collection time for sales, refund success time for reversals |
tax_transactions_summarized_v2 | Automatic tax by country, state or province and tax type | The same collections and reversals as the v2 itemized report |
gift_card_liability_v1 | The whole interval, as one USD row | Gift card posting time |
Columns lists every type's columns.
Reports that overlap#
Some reports describe the same activity from different sides. Pick by the question you're answering, and don't add their totals together.
- Sales or cash. Order reports describe what was sold.
payments_itemized_v1describes cash captured, which can include gift card purchases, so don't add payment totals to merchandise as extra sales. - Gift card sales.
orders_itemized_v2keeps everyorders_itemized_v1column and addsgift_card_consideration_money,merchandise_subtotal_money,merchandise_net_money, andrefunded_credit_adjustment_money. Selling a $25.00 gift card for $22.00 adds $22.00 to gift card consideration and nothing to merchandise. Redeeming the card for goods adds the goods' price to merchandise. These are the original sale amounts.refunded_credit_adjustment_moneyreports cumulative successful Return credits as of generation, separately from merchandise, shipping, and tax; it does not reduce those sale amounts. Reconcile other refunds separately. - Balance or payouts.
balance_transactions_itemized_v1is every movement of your balance in the interval.payouts_itemized_v1lists the contents of each paid itemized payout and one deposit row for each paid manual payout without itemization. Each payout'snet_money.amountvalues add up to itsamount_money.amount. - External or automatic tax.
tax_itemized_v1andtax_summarized_v1cover only external-tax orders, using Flint's authority-level breakdowns. Automatic-tax orders in the same interval are left out. Usetax_transactions_itemized_v2for automatic-tax detail andtax_transactions_summarized_v2for collected, refunded and payable totals. US summary rows combine state and local tax; the provider does not supply a local split. Generate both external and automatic exports when you use both modes.tax_transactions_itemized_v2keeps every v1 column and adds the collection source, any recorded exemption, andpost_tax_discount_money. Tax reports record what Flint calculated and collected; they aren't tax returns, nexus decisions, or filing instructions. - Fees on payments or on your account. Processing and add-on fees stay on each payment in
payments_itemized_v1. Event fees, invoices, credits, and collections are inmerchant_billing_itemized_v1, which has the same entries asGET /v1/merchant-billing-entries. See Merchant billing. - Receivables aging.
receivables_aging_v1reports unpaid invoice amounts as of a calendar date, split into current, 1 to 30, 31 to 60, 61 to 90, and 91 or more days past due. See Receivables aging for columns and reconciliation. - Gift card liability.
gift_card_liability_v1rolls liability at face value fromopening_moneytoclosing_money, with its period in UTC. Frozen and reserved value stays in the liability. How to book it is your accountant's decision.
Interval, time zone, and currency#
interval_start_at is inclusive and interval_end_at is exclusive, so a month runs from its first instant up to the next month's first instant. Send RFC 3339 instants with any offset. Flint returns them in UTC and drops fractional seconds.
interval_end_atmust be afterinterval_start_at, can't be in the future, and can be no later than the same local time 366 calendar days after the start, in the report'stimezone. A calendar quarter or a calendar year, including a leap year, fits in one report.timezoneis an IANA name such asAmerica/New_York. It defaults to the merchant'stimezone, orUTCwhen the merchant has none. It sets how timestamp columns are written, and it places each payout'sarrival_dateforpayouts_itemized_v1: a payout belongs to the interval when the start of its arrival date in this time zone falls inside the interval. It doesn't move the interval itself.- Set
currencytoUSDwhen creating a report. Each report covers one currency and never converts amounts.
A long interval on a busy account can cross a generation limit. Split it into smaller reports, such as one per month.
Create a report#
This request asks for the third quarter of 2026 in New York time:
curl -X POST https://api.withflintpay.com/v1/reports \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-H "Idempotency-Key: payouts-2026-q3" \
-d '{
"report_type": "payouts_itemized_v1",
"interval_start_at": "2026-07-01T00:00:00-04:00",
"interval_end_at": "2026-10-01T00:00:00-04:00",
"timezone": "America/New_York",
"currency": "USD"
}'
{
"data": {
"report_id": "rep_01KB4R7Q2M8XN3B5V6T0R1C2DE",
"report_type": "payouts_itemized_v1",
"status": "pending",
"interval_start_at": "2026-07-01T04:00:00Z",
"interval_end_at": "2026-10-01T04:00:00Z",
"timezone": "America/New_York",
"currency": "USD",
"created_at": "2026-10-28T15:04:05Z"
},
"request_id": "req_01KB4R7Q2M8XN3B5V6T0R1C2DF"
}
Idempotency-Key is optional. Without one, every request creates a new report. Sending the same key and body again returns the original report as it is now, which may already be succeeded or failed, so read status from the response. See Idempotency.
invoices_itemized_v1 uses the interval request above, matched on issued_at. It excludes drafts and exports one row per invoice in currency, ordered by issued_at and invoice_id. Amounts and status reflect the invoice at generation time. Each attempt reads one consistent snapshot; retries or later reports can include subsequent payments and adjustments. See Invoice columns for the complete CSV, including credited_money (the same amount as Invoice.settlement_amounts.credited_money).
Status and webhooks#
A report starts pending and ends succeeded or failed. Flint retries transient failures and data that hasn't landed yet before it fails a report, so a report can stay pending for a while, about 15 to 20 minutes for a balance, payout, or merchant billing report whose interval just ended. Wait for the report to finish has the details. Wait for the result instead of creating a duplicate.
status on reportpendingFlint is generating the file. The report has nodownloadand nofailure_reason.succeededFinalThe CSV is ready, anddownloadhasreport_download_id,url, andexpires_at. The status stayssucceededafter the download expires.failedFinalNo file was produced, andfailure_reasonsays why.
failure_reason on reportdata_unavailableFlint can't show that the interval is complete, so it wrote no file rather than one with gaps. Create the report again later. The causes depend on the report type.limit_exceededThe report crossed a generation limit. Split the interval into smaller reports.generation_failedGeneration failed for another reason after Flint's retries. Create the report again, and contact Flint support with thereport_idif it keeps failing.
failure_reason can gain values. Treat an unknown value like generation_failed.
- report.
succeeded The report finished.data.objectis the report, with itsdownload. - report.
failed The report failed.data.objectis the report, with itsfailure_reason.
Download the file#
A succeeded report carries its download link:
curl https://api.withflintpay.com/v1/reports/rep_01KB4R7Q2M8XN3B5V6T0R1C2DE \
-H "Authorization: Bearer YOUR_API_KEY"
{
"data": {
"report_id": "rep_01KB4R7Q2M8XN3B5V6T0R1C2DE",
"report_type": "payouts_itemized_v1",
"status": "succeeded",
"interval_start_at": "2026-07-01T04:00:00Z",
"interval_end_at": "2026-10-01T04:00:00Z",
"timezone": "America/New_York",
"currency": "USD",
"created_at": "2026-10-28T15:04:05Z",
"download": {
"report_download_id": "rdl_01KB4R9W3N5P7Q8R2S4T6V8X0Y",
"url": "https://api.withflintpay.com/v1/report-downloads/rdl_01KB4R9W3N5P7Q8R2S4T6V8X0Y",
"expires_at": "2026-10-29T15:06:12Z"
}
},
"request_id": "req_01KB4R8T4P6Q8S0V2X4Z6B8D0F"
}
download.url is a Flint API route. Call it with the same API key and follow the redirect: Flint answers 307 with a private file URL that lasts at most five minutes. Don't send your API key to the file URL, and don't store or share it. Request download.url again each time you need the file.
The link expires 24 hours after the report succeeds, at download.expires_at. After that, the download route returns 409 ACTION_NOT_ALLOWED, while the report keeps status: succeeded and its download object, so compare expires_at with the current time before you download. For a fresh file, create the report again with a new Idempotency-Key or none; replaying the original key returns the original report and its expired link.
Reading the CSV#
- Money is two columns, an amount in minor units and a currency, such as
captured_money.amountandcaptured_money.currency. Negative amounts have a leading minus sign. See Money & currency. - Timestamps are RFC 3339 instants in the report's
timezone.gift_card_liability_v1writes its period in UTC. - Formula-like text gets a leading single quote. A text value that starts with
=,+,-, or@, after any leading spaces, tabs, or line breaks, is written with'before it, so spreadsheets don't run it as a formula. This applies only to the columns that Text that looks like a formula lists; IDs, timestamps, enum values, and money columns are never changed.
Errors#
POST /v1/reports rejects an invalid request with 400 INVALID_REQUEST before it creates anything, and param names the field to fix. The Reports guide's Errors section maps each cause to its param.
- StatusHTTP 400CodeINVALID_
REQUEST What to doA field breaks a rule above, such as an interval longer than 366 days, an end in the future, an unknowntimezone, or a currency other thanUSD. OnGET /v1/reports, a filter value is empty or unknown, orpage_tokenwas issued for different filters,page_size, or environment. - StatusHTTP 409What to doThe key was already used for a different report. See Replay, conflict, or in progress.
- StatusHTTP 409CodeLIMIT_
REACHED What to doReasonpending_reports: five reports are already pending in this environment, withlimit5 and the pending reports inblocking_resources. Wait for one to finish, then create the report again as a new request. - StatusHTTP 409What to doThe download is past
download.expires_at. Create the report again with a new key. - StatusHTTP 404What to doNo report or download has that ID in this environment. Check that the key belongs to the environment that created the report.
Related guides#
ReportsColumns for every report type, failure causes, limits, and reconciliation recipes.PayoutsPayout schedules, destinations, and the balance transactions in each payout.ReconciliationMatch a deposit to the orders and payments that funded it.Sales taxHow Flint calculates the tax these reports export.Aging date#
For receivables_aging_v1, send as_of_date (YYYY-MM-DD) and currency, with an optional IANA timezone. It defaults to the merchant's timezone, or UTC when the merchant has none. Omit the interval timestamps. A future date returns 400 INVALID_REQUEST with detail INVALID_VALUE. An interval field on this branch, or as_of_date on an interval report, returns 400 INVALID_REQUEST with detail NOT_ALLOWED.
Principal and installment due dates retain their calendar date in the invoice's timezone, exactly as the buyer saw them. Days past due count from that date to as_of_date; amounts due on or after as_of_date are current. The report timezone determines the ledger cutoff and late-fee assessment dates, and never shifts an invoice due date.
The cutoff is the earlier of the end of that local date and report creation. The report includes as_of_date; its required interval_start_at and interval_end_at describe the start of the date and the cutoff. Each attempt uses one consistent snapshot. Retrying generation or creating another report can include later-recorded entries whose effective time precedes the cutoff. For historical reports, payment application time determines the balance, even when a payment has an older payment date.
Use the aging columns and reconciliation rules to compare today's outstanding totals with invoice and customer receivables in the same currency.
The Report object#
A report generated from the merchant's activity.
Returned by GET /v1/reports/{report_id} and carried by the endpoints below.
Attributes
One of these shapes
A report generated from the merchant's activity.
as_of_datestringPresent only for receivables_aging_v1. The calendar date in timezone whose receivables are reported.
created_atstringRequiredWhen the report was requested.
currencystringRequiredCurrency the report covers. A report never combines currencies. Uses ISO 4217 currency codes.
interval_end_atstringRequiredExclusive interval end instant. Each report type matches its own occurrence time.
interval_start_atstringRequiredInclusive interval start instant. Each report type matches its own occurrence time.
report_idstringRequiredStable identifier of the report.
report_typeenumRequiredThe report's type and column version. See the Reports guide for its columns.
receivables_aging_v1invoices_itemized_v1gift_card_liability_v1orders_itemized_v1orders_itemized_v2payments_itemized_v1balance_transactions_itemized_v1payouts_itemized_v1tax_itemized_v1tax_summarized_v1merchant_billing_itemized_v1tax_transactions_itemized_v1tax_transactions_itemized_v2tax_transactions_summarized_v2
statusenumRequiredpending while Flint generates the report, then succeeded with a download or failed with a failure_reason. Flint sends report.succeeded or report.failed when it finishes.
pending
timezonestringRequiredIANA timezone used for timestamps and date bucketing. A payout occurs at the start of its arrival_date in this timezone.
A report generated from the merchant's activity.
as_of_datestringPresent only for receivables_aging_v1. The calendar date in timezone whose receivables are reported.
created_atstringRequiredWhen the report was requested.
currencystringRequiredCurrency the report covers. A report never combines currencies. Uses ISO 4217 currency codes.
downloadobjectRequiredLink to download the generated report. Present only when status is succeeded.
expires_atstringRequiredWhen the download stops working: 24 hours after the report succeeded. The report keeps status succeeded and this download object afterward; create a new report to get the file again.
report_download_idstringRequiredIdentifier of this download, the last segment of url.
urlstringRequiredFlint API URL for the file, not the file itself. Call it with the same API key; Flint answers 307 with a redirect to a private file URL that works for a few minutes. Request url again each time you need the file.
interval_end_atstringRequiredExclusive interval end instant. Each report type matches its own occurrence time.
interval_start_atstringRequiredInclusive interval start instant. Each report type matches its own occurrence time.
report_idstringRequiredStable identifier of the report.
report_typeenumRequiredThe report's type and column version. See the Reports guide for its columns.
receivables_aging_v1invoices_itemized_v1gift_card_liability_v1orders_itemized_v1orders_itemized_v2payments_itemized_v1balance_transactions_itemized_v1payouts_itemized_v1tax_itemized_v1tax_summarized_v1merchant_billing_itemized_v1tax_transactions_itemized_v1tax_transactions_itemized_v2tax_transactions_summarized_v2
statusenumRequiredpending while Flint generates the report, then succeeded with a download or failed with a failure_reason. Flint sends report.succeeded or report.failed when it finishes.
succeeded
timezonestringRequiredIANA timezone used for timestamps and date bucketing. A payout occurs at the start of its arrival_date in this timezone.
A report generated from the merchant's activity.
as_of_datestringPresent only for receivables_aging_v1. The calendar date in timezone whose receivables are reported.
created_atstringRequiredWhen the report was requested.
currencystringRequiredCurrency the report covers. A report never combines currencies. Uses ISO 4217 currency codes.
failure_reasonenumRequiredWhy the report failed. Present only when status is failed: limit_exceeded when the report hit a size or time limit, data_unavailable when data it needs wasn't available yet, and generation_failed for other errors. Treat an unknown value like generation_failed.
generation_faileddata_unavailablelimit_exceeded
interval_end_atstringRequiredExclusive interval end instant. Each report type matches its own occurrence time.
interval_start_atstringRequiredInclusive interval start instant. Each report type matches its own occurrence time.
report_idstringRequiredStable identifier of the report.
report_typeenumRequiredThe report's type and column version. See the Reports guide for its columns.
receivables_aging_v1invoices_itemized_v1gift_card_liability_v1orders_itemized_v1orders_itemized_v2payments_itemized_v1balance_transactions_itemized_v1payouts_itemized_v1tax_itemized_v1tax_summarized_v1merchant_billing_itemized_v1tax_transactions_itemized_v1tax_transactions_itemized_v2tax_transactions_summarized_v2
statusenumRequiredpending while Flint generates the report, then succeeded with a download or failed with a failure_reason. Flint sends report.succeeded or report.failed when it finishes.
failed
timezonestringRequiredIANA timezone used for timestamps and date bucketing. A payout occurs at the start of its arrival_date in this timezone.
{
"created_at": "2026-08-02T16:00:00Z",
"currency": "USD",
"interval_end_at": "2026-07-01T00:00:00Z",
"interval_start_at": "2026-06-01T00:00:00Z",
"report_id": "rep_01J00000000000000000000000",
"report_type": "payments_itemized_v1",
"status": "pending",
"timezone": "UTC"
}Download a report#
/v1/report-downloads/{report_download_id}Requires scope reports.read or reports.write
Rate limit: read
Authorizes the stable Flint download URL and redirects to a short-lived private file URL.
Path parameters
report_download_idstringRequiredFlint report download ID. Must be a valid ID with prefix rdl_. Malformed IDs return 400 INVALID_REQUEST with detail INVALID_VALUE; well-formed IDs that do not exist return 404 RESOURCE_NOT_FOUND.
Response · 307
Temporary redirect to the generated CSV.
Location: URL of the requested resource.
curl https://api.withflintpay.com/v1/report-downloads/rdl_01KEZF7C003GGGDW1N5QT46JDZ \
-H "Flint-Version: 2026-09-07" \
-H "Authorization: Bearer YOUR_API_KEY"Temporary redirect to the generated CSV.
Redirects to the URL in the Location header.
List reports#
/v1/reportsRequires scope reports.read or reports.write
Rate limit: read
Lists reports using opaque pagination. Default order: created_at descending, then report_id descending.
Query parameters
page_sizeintegerMaximum number of results to return, from 1 to 100. Defaults to 20.
page_tokenstringOpaque, signed next_page_token from the previous response, bound to the list and caller. Omit on the first request. You may change `page_size` between pages. Reuse it with the same endpoint, filters, sort, and request context. Do not parse or construct tokens. An altered, invalid, expired, or mismatched token returns a validation error.
report_typearray of enumReturn reports with any of these report types. Values are trimmed and deduplicated in first-seen order; empty or unknown entries are rejected. Values within this filter are ORed; separate filters are ANDed.
receivables_aging_v1invoices_itemized_v1gift_card_liability_v1orders_itemized_v1orders_itemized_v2payments_itemized_v1balance_transactions_itemized_v1payouts_itemized_v1tax_itemized_v1tax_summarized_v1merchant_billing_itemized_v1tax_transactions_itemized_v1tax_transactions_itemized_v2tax_transactions_summarized_v2
statusarray of enumReturn reports in any of these statuses. Values are trimmed and deduplicated in first-seen order; empty or unknown entries are rejected. Values within this filter are ORed; separate filters are ANDed.
pendingsucceededfailed
Response · 200
Reports for the authenticated merchant.
dataarray of one ofRequiredResource, collection, or operation result returned by this request.
One of these shapes
A report generated from the merchant's activity.
as_of_datestringPresent only for receivables_aging_v1. The calendar date in timezone whose receivables are reported.
created_atstringRequiredWhen the report was requested.
currencystringRequiredCurrency the report covers. A report never combines currencies. Uses ISO 4217 currency codes.
interval_end_atstringRequiredExclusive interval end instant. Each report type matches its own occurrence time.
interval_start_atstringRequiredInclusive interval start instant. Each report type matches its own occurrence time.
report_idstringRequiredStable identifier of the report.
report_typeenumRequiredThe report's type and column version. See the Reports guide for its columns.
receivables_aging_v1invoices_itemized_v1gift_card_liability_v1orders_itemized_v1orders_itemized_v2payments_itemized_v1balance_transactions_itemized_v1payouts_itemized_v1tax_itemized_v1tax_summarized_v1merchant_billing_itemized_v1tax_transactions_itemized_v1tax_transactions_itemized_v2tax_transactions_summarized_v2
statusenumRequiredpending while Flint generates the report, then succeeded with a download or failed with a failure_reason. Flint sends report.succeeded or report.failed when it finishes.
pending
timezonestringRequiredIANA timezone used for timestamps and date bucketing. A payout occurs at the start of its arrival_date in this timezone.
metaobjectAdditional information about this response.
api_versionstringAPI version used to produce this response.
idempotency_replayedbooleanWhether this response replays a stored result for the supplied Idempotency-Key.
trace_idstringTrace identifier to include when contacting Flint about this request.
warningsarray of objectConditions that need attention even though the request succeeded.
next_page_tokenstringOpaque token to send as `page_token` to retrieve the next page. Omitted when there is no next page.
request_idstringRequiredIdentifier of this API request, used to correlate logs and support requests.
curl https://api.withflintpay.com/v1/reports \
-H "Flint-Version: 2026-09-07" \
-H "Authorization: Bearer YOUR_API_KEY"Reports for the authenticated merchant.
{
"data": [
{
"created_at": "2026-08-02T16:00:00Z",
"currency": "USD",
"interval_end_at": "2026-07-01T00:00:00Z",
"interval_start_at": "2026-06-01T00:00:00Z",
"report_id": "rep_01J00000000000000000000000",
"report_type": "payments_itemized_v1",
"status": "pending",
"timezone": "UTC"
}
],
"meta": {
"api_version": "2026-09-07"
},
"request_id": "req_01KWM6WAHG3N9Q8T2V5XRZ7C4D"
}Create a report#
/v1/reportsIdempotentRequires scope reports.write
Rate limit: write
Creates an idempotent asynchronous CSV report. receivables_aging_v1 takes as_of_date instead of interval timestamps, with a cutoff at the earlier of the end of that local day and report creation. For interval reports, interval_end_at may be at most the same local time 366 calendar days after interval_start_at in timezone, and must not be in the future. Poll the returned report until it succeeds or fails.
Request body
Send exactly one of these
The `balance_transactions_itemized_v1` variant of `CreateReportRequest`. The `gift_card_liability_v1` variant of `CreateReportRequest`. The `invoices_itemized_v1` variant of `CreateReportRequest`. The `merchant_billing_itemized_v1` variant of `CreateReportRequest`. The `orders_itemized_v1` variant of `CreateReportRequest`. The `orders_itemized_v2` variant of `CreateReportRequest`. The `payments_itemized_v1` variant of `CreateReportRequest`. The `payouts_itemized_v1` variant of `CreateReportRequest`. The `tax_itemized_v1` variant of `CreateReportRequest`. The `tax_summarized_v1` variant of `CreateReportRequest`. The `tax_transactions_itemized_v1` variant of `CreateReportRequest`. The `tax_transactions_itemized_v2` variant of `CreateReportRequest`. The `tax_transactions_summarized_v2` variant of `CreateReportRequest`.
currencystringRequiredThe currency to include in the report. Use USD, the supported currency for new reports. Uses ISO 4217 currency codes.
interval_end_atstringRequiredExclusive report interval end instant. Each report type matches its own occurrence time. At most the same local time 366 calendar days after interval_start_at in timezone. Must not be in the future.
interval_start_atstringRequiredInclusive report interval start instant. Each report type matches its own occurrence time.
report_typeenumRequiredWhich report to generate. The value names the row and the column version, such as payments_itemized_v1. The Reports guide lists each type's rows, interval matching, and columns.
invoices_itemized_v1gift_card_liability_v1orders_itemized_v1orders_itemized_v2payments_itemized_v1balance_transactions_itemized_v1payouts_itemized_v1tax_itemized_v1tax_summarized_v1merchant_billing_itemized_v1tax_transactions_itemized_v1tax_transactions_itemized_v2tax_transactions_summarized_v2
timezonestringIANA timezone used for timestamps and date bucketing. A payout occurs at the start of its arrival_date in this timezone. Defaults to the merchant's timezone, then UTC, and is saved on the report at creation.
The `receivables_aging_v1` variant of `CreateReportRequest`.
as_of_datestringRequiredRequired only for receivables_aging_v1. Calendar date in timezone, YYYY-MM-DD, no later than today. Balances are measured at the earlier of the end of that day and report creation.
currencystringRequiredThe currency to include in the report. Use USD, the supported currency for new reports. Uses ISO 4217 currency codes.
report_typeenumRequiredWhich report to generate. The value names the row and the column version, such as payments_itemized_v1. The Reports guide lists each type's rows, interval matching, and columns.
receivables_aging_v1
timezonestringIANA timezone used for timestamps and date bucketing. A payout occurs at the start of its arrival_date in this timezone. Defaults to the merchant's timezone, then UTC, and is saved on the report at creation.
Response · 201
The pending or idempotently replayed report.
dataone ofRequiredResource, collection, or operation result returned by this request.
One of these shapes
A report generated from the merchant's activity.
as_of_datestringPresent only for receivables_aging_v1. The calendar date in timezone whose receivables are reported.
created_atstringRequiredWhen the report was requested.
currencystringRequiredCurrency the report covers. A report never combines currencies. Uses ISO 4217 currency codes.
interval_end_atstringRequiredExclusive interval end instant. Each report type matches its own occurrence time.
interval_start_atstringRequiredInclusive interval start instant. Each report type matches its own occurrence time.
report_idstringRequiredStable identifier of the report.
report_typeenumRequiredThe report's type and column version. See the Reports guide for its columns.
receivables_aging_v1invoices_itemized_v1gift_card_liability_v1orders_itemized_v1orders_itemized_v2payments_itemized_v1balance_transactions_itemized_v1payouts_itemized_v1tax_itemized_v1tax_summarized_v1merchant_billing_itemized_v1tax_transactions_itemized_v1tax_transactions_itemized_v2tax_transactions_summarized_v2
statusenumRequiredpending while Flint generates the report, then succeeded with a download or failed with a failure_reason. Flint sends report.succeeded or report.failed when it finishes.
pending
timezonestringRequiredIANA timezone used for timestamps and date bucketing. A payout occurs at the start of its arrival_date in this timezone.
metaobjectAdditional information about this response.
api_versionstringAPI version used to produce this response.
idempotency_replayedbooleanWhether this response replays a stored result for the supplied Idempotency-Key.
trace_idstringTrace identifier to include when contacting Flint about this request.
warningsarray of objectConditions that need attention even though the request succeeded.
request_idstringRequiredIdentifier of this API request, used to correlate logs and support requests.
curl -X POST https://api.withflintpay.com/v1/reports \
-H "Flint-Version: 2026-09-07" \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-H "Idempotency-Key: a-unique-key" \
-d '{
"currency": "USD",
"interval_end_at": "2026-07-01T00:00:00Z",
"interval_start_at": "2026-06-01T00:00:00Z",
"report_type": "payments_itemized_v1",
"timezone": "UTC"
}'Get a report#
/v1/reports/{report_id}Requires scope reports.read or reports.write
Rate limit: read
Returns one report and its terminal download or failure details when available.
Path parameters
report_idstringRequiredFlint report ID. Must be a valid ID with prefix rep_. Malformed IDs return 400 INVALID_REQUEST with detail INVALID_VALUE; well-formed IDs that do not exist return 404 RESOURCE_NOT_FOUND.
curl https://api.withflintpay.com/v1/reports/rep_01KEZF7C00M947R0GYFMT8VXKJ \
-H "Flint-Version: 2026-09-07" \
-H "Authorization: Bearer YOUR_API_KEY"The requested report.
{
"data": {
"created_at": "2026-08-02T16:00:00Z",
"currency": "USD",
"interval_end_at": "2026-07-01T00:00:00Z",
"interval_start_at": "2026-06-01T00:00:00Z",
"report_id": "rep_01J00000000000000000000000",
"report_type": "payments_itemized_v1",
"status": "pending",
"timezone": "UTC"
},
"meta": {
"api_version": "2026-09-07"
},
"request_id": "req_01KWM6WAHG3N9Q8T2V5XRZ7C4D"
}Was this helpful?