API request logs
API request logs record the requests made to Flint in your environment: who called, what they sent, what came back, how long it took, and, for a failure, why it failed and how to recover. Resource timelines put every request, webhook event, and delivery attempt that touched one resource in order. Use them to debug a failed call, find a retry loop, audit what a key did, or work out how an order reached its current state.
To handle errors in code as they happen, read the error response itself; see Error handling. The Debugging guide walks through a full investigation.
Start from what you have#
| You have | Where to look |
|---|---|
A request_id, such as req_01KWM608MR7CAZFETWS1RA3XPG, from a response's X-Request-Id header or body | The list, filtered by request_id. It returns at most one log. |
An error.request_log_url from an error response | A GET to that path opens the log detail directly. |
The X-Request-Id you sent, such as checkout-7f3a91 | The list, filtered by client_request_id. Your value isn't unique, so it can match several logs. |
A trace ID from the traceparent you sent | The list, filtered by client_trace_id. One trace can span several requests. |
| An API key or other caller you want to audit | The list, filtered by caller_id or caller_type. |
| A customer whose session may have leaked | The list, filtered by customer_id, to review requests across their sessions. |
| A partner app you own, and its traffic in the merchants that installed it | The list, filtered by partner_app_id. |
A resource ID, such as an order's ord_... | The resource timeline for that ID. |
Flint mints every request_id as req_ followed by 26 characters and returns it on every response. It doesn't echo the X-Request-Id you send: it stores your value on the log as client_request_id. Each log has its own api_request_log_id (rlog_...), which webhook events also carry, so you can join an event back to the request that caused it.
From an error to its log#
- Your server sends POST /v1/orders to Flint
- Flint returns 400 with request_log_url to Your server
- Your server sends GET request_log_url to Flint
- Flint returns the log detail to Your server
An error response carries request_log_url when the credential holds developer.request_logs.read or developer.request_logs.self.read. Open it with the same credential. You can read the URL immediately: Flint waits up to three seconds for a log ID issued within the last 60 seconds. If the log is still unavailable, the 404 RESOURCE_NOT_FOUND response carries remediation.retry: same_request and Retry-After: 2.
Who sees what#
| Scope | Grants |
|---|---|
developer.request_logs.read | The list and detail of every caller's requests in the credential's environment, and the caller_type, caller_id, partner_app_id, and customer_id filters. |
developer.request_logs.self.read | The list and detail of requests made with the calling credential only. |
developer.resource_timelines.read | Resource timelines, together with the resource's own read scope, such as commerce.orders.read for an order. |
A credential needs one of the two request log scopes, not both. The rules that span the three endpoints:
- Everything stays in one environment. A live key reads live traffic, and a test key reads only its sandbox. Logs and resources from other merchants or environments return
404 RESOURCE_NOT_FOUND. The one exception is a partner app's owner filtering the list bypartner_app_id, which covers the app's requests in every merchant that installed it, in the key's mode. - Own-only readers can't widen the view. With
developer.request_logs.self.read, sendingcaller_type,caller_id,partner_app_id, orcustomer_id, or opening another caller's log, returns403 INSUFFICIENT_SCOPEnamingdeveloper.request_logs.read. - Timelines follow the same request rule. A timeline's
api_requestentries cover every caller when the credential holdsdeveloper.request_logs.read, and only the calling credential's requests otherwise. Webhook event and delivery attempt entries aren't filtered by caller. - Partner app tokens can't call these endpoints. Their requests to your account still appear in your logs, with a
partner_app_installcaller and the app'spartner_app_id. When your own app's token reads your app or revokes its installs, the request appears in your logs with apartner_appcaller. - A partner app's owner reads the app's own traffic. See Review a partner app's requests.
For license key and device activation history, see Read a key's history.
The dashboard's request logs page reads the same data and shows every caller in the selected environment.
What a log records#
Flint logs a request once it identifies the credential, including scope failures and validation errors. Some requests leave no log:
- Requests rejected before Flint identifies the credential, because the key is missing, unknown, revoked, or expired. Debug these from the
401response. - Reads made in the dashboard. Writes from the dashboard, including API key changes, are logged with a
usercaller, and so are onboarding session requests. - Rate-limited buyer account and invoice access requests (
429). Authenticated buyer reads and writes are logged with acustomer_sessionorinvoicecaller. Session refreshes (POST /v1/customer-sessions/refresh) are logged with acustomer_sessioncaller, including a refresh that revokes a session because its refresh token was reused. - Reads of request logs and resource timelines, demo sessions, and sign-in and token requests under
/v1/oauth/, apart from workload identity token exchanges.
Customer session requests carry customer_id on both the summary and detail; caller identifies the session. Other callers, including invoice access, omit customer_id. Filter by customer_id=cus_... to review every request made with a customer's sessions. The filter takes one exact customer ID; a well-formed ID with no matching requests returns an empty page.
The list returns summaries: caller, method, path and route, API versions, status, latency, the resource the request is attributed to, and on a failure a diagnosis with error_code, retry, and recommended_action. The detail adds:
query_paramsandrequest_headers, with sensitive values replaced. Buyer-side request headers keep only content metadata, API version, idempotency, request ID, and trace headers. Other headers, including authorization and client forwarding headers, are omitted.request_bodyandresponse_bodyfor mostPOST,PUT, andPATCHwrites. Some routes never capture bodies, including those that handle secrets or verification codes, such as creating an API key or a webhook endpoint. Requests under/v1/meand session refreshes never store request or response bodies. Captured bodies stop at 64 KB and end with a[TRUNCATED]marker.ip_addressanduser_agentwhenever stored, for every caller. For a buyer-side caller (checkout_session,customer_session, orinvoice), they are kept for 30 days and removed when the customer is deleted. When your server relays a buyer's request, the address is your server's address. Flint-hosted checkout and account pages use the buyer's forwarded client details when available.reproduction, the request rebuilt for a replay.
Credentials, tokens, signatures, card and bank account numbers, tax IDs, and personal data such as emails, phone numbers, and address lines are replaced with [REDACTED] before the log is stored. You can't recover them from your logs.
| Part of a log | Kept for |
|---|---|
| Headers and bodies | 14 days. After that, the detail still opens, without request_headers, request_body, or response_body. |
ip_address and user_agent on buyer-side requests | 30 days. |
| Summaries and the rest of the detail | 90 days. After that, the log returns 404 RESOURCE_NOT_FOUND. |
Find a request by your own ID#
Filter by the X-Request-Id you sent to find every request that carried it:
curl "https://api.withflintpay.com/v1/api-request-logs?client_request_id=checkout-7f3a91" \
-H "Authorization: Bearer YOUR_API_KEY"
{
"data": [
{
"api_request_log_id": "rlog_01KWM6WAHJAXHCHE87C0KBBY7G",
"request_id": "req_01KWM608MR7CAZFETWS1RA3XPG",
"client_request_id": "checkout-7f3a91",
"caller": {
"resource_type": "api_key",
"resource_id": "key_01KWJ93G11C7MF8REX91MDS0CD"
},
"http_method": "POST",
"path": "/v1/orders",
"route_pattern": "POST /v1/orders",
"requested_api_version": "2026-09-07",
"requested_api_version_source": "merchant",
"served_api_version": "2026-09-07",
"status_code": 400,
"latency_milliseconds": 6,
"resource_type": "order",
"error_code": "INVALID_REQUEST",
"error_type": "validation_error",
"error_summary": "One or more request inputs are invalid.",
"retry": "none",
"recommended_action": "Correct each input named by details[].param as its message says, then send the request again.",
"created_at": "2026-07-03T14:42:16Z"
}
],
"request_id": "req_01KWM6CNFPWADA6RV8N4E4W26V"
}
retry is none, so the request has to change before you send it again. Open the log with GET /v1/api-request-logs/rlog_01KWM6WAHJAXHCHE87C0KBBY7G to see the body Flint received. Filters that take a list, such as status_bucket and http_method, accept repeated keys or comma-separated values; values within one filter are ORed, and separate filters are ANDed. An empty or unknown value returns 400 INVALID_REQUEST, so a typo can't silently widen a search.
Review a partner app's requests#
Every request made with a partner app token records the app as partner_app_id, and the install as its caller. When partner_app_id names an app your merchant owns, the list covers that app's partner app token requests in every merchant that installed it, not only your environment. A live key reads the app's live requests, and a test key its test mode requests in every installed merchant's sandbox. For any other app ID, including one that doesn't exist, the filter only narrows your own environment's requests.
curl "https://api.withflintpay.com/v1/api-request-logs?partner_app_id=papp_01KWM6EC1EQHB5YH0CNHC3G9WY&status_bucket=client_error" \
-H "Authorization: Bearer YOUR_API_KEY"
Add caller_id with an install's partner_app_install_id to narrow to one merchant. The detail route still reads only your own environment, so another merchant's log returns 404 RESOURCE_NOT_FOUND. The summaries carry what an API version review needs: the route, the versions asked for and served, the status, and the diagnosis. The dashboard's Versions screen uses them to show which of a partner app's version changes touch routes the app called. Requests logged before Flint began recording partner_app_id don't carry it, so neither the list nor the review covers them.
Replay a request#
The detail's reproduction rebuilds the request with its Flint-Version set to the version Flint served. Its curl command uses the matching bearer placeholder: <CUSTOMER_SESSION_SECRET> for a customer session, <INVOICE_ACCESS_TOKEN> for invoice access, <CHECKOUT_CREDENTIAL> for checkout, or <API_KEY> for every other caller. Substitute the matching credential, the contents of reproduction.body for <REDACTED_OR_CAPTURED_BODY>, and a new value for <NEW_IDEMPOTENCY_KEY>. A new idempotency key makes Flint run the request again rather than return the stored response. When has_redactions is true, fill the redacted values back in first.
For POST /v1/customer-sessions/refresh, the reproduction omits Authorization and sends {"refresh_token":"<CUSTOMER_SESSION_REFRESH_TOKEN>"} as JSON. Substitute the session's refresh token.
Warning: Replay writes in a sandbox
Replaying any request other than a GET changes data. Replay with a credential for a sandbox, even when the original request was live.
Errors#
- StatusHTTP 400CodeINVALID_
REQUEST What to doA filter or parameter is malformed or unknown, andparamnames it, such as arequest_idthat isn't areq_ID or a timestamp that isn't RFC 3339. Correct the value and send the request again. - StatusHTTP 403What to doThe credential lacks a scope the request needs, and the error names it. A
developer.request_logs.self.readcredential that sendscaller_type,caller_id,partner_app_id, orcustomer_id, or opens another caller's log, gets this error namingdeveloper.request_logs.read. - StatusHTTP 404What to doThe log or resource isn't in the credential's merchant and environment, or the log is past its 90-day retention. For a log ID issued within the last 60 seconds, Flint waits up to three seconds before returning a missing-log response with
remediation.retry: same_requestandRetry-After: 2.
Scopes and errors lists the common causes of each.
Related guides#
Debug API requestsEvery filter, the detail fields, and reading a resource timeline from the bottom up.Error handlingThe error envelope, remediation hints, and retries.API key securityReview what a leaked key did, request by request.WebhooksInspect delivery attempts and resend events.The API request log detail object#
Full detail for one logged API request visible to the calling credential: headers, bodies, error summary, and how to reproduce it.
Returned by GET /v1/api-request-logs/{api_request_log_id} and carried by the endpoints below.
Attributes
api_request_log_idstringRequiredStable identifier of this log entry.
callerobjectWho made this request. An API key, workload token, or partner app token records that API key, workload identity, or partner app installation. A Dashboard write, CLI login, or onboarding session records the user. A buyer checkout request records the checkout session. A buyer account request records the customer session. A request made with invoice access records the invoice. Absent when Flint cannot attribute the request.
resource_idstringRequiredPublic Flint ID of the referenced resource.
resource_typeenumRequiredPublic resource kind identified by resource_id, such as payment_intent for a payment.
api_keyapi_request_logbalancebalance_transactionbundlebundle_componentcategorycheckout_sessioncheckout_session_customer_verificationcredit_notecredit_note_allocationcustom_domaincustomercustomer_addresscustomer_deletion_requestcustomer_email_preferencescustomer_sessioncustomer_tax_exemptioncustomer_verificationdelivery_choice_groupdelivery_location_setdelivery_methoddelivery_profiledelivery_quotedelivery_ratedelivery_rate_callbackdelivery_revocationdelivery_selectiondelivery_zonedemo_sessiondevicediscountdisputeemail_change_requestenvironment_grantfileflint_walletflint_wallet_cardfraud_warningfulfillmentfulfillment_eventfulfillment_notificationgift_cardgift_card_funding_dispositiongift_card_loadgift_card_notificationgift_card_redemptiongift_card_transactionimageinventory_adjustmentinventory_allocation_policyinventory_allocation_policy_revisioninventory_countinventory_iteminventory_levelinventory_movementinventory_receiptinventory_reservationinventory_reservation_lineinventory_transferinventory_transfer_lineinvoiceinvoice_delivery_attemptinvoice_late_feeinvoice_line_iteminvoice_manual_paymentinvoice_payment_attemptinvoice_payment_termlicense_keylicense_key_activationlicense_key_poollicense_key_pool_keylocationmerchantmerchant_billing_balancemerchant_billing_entrymerchant_billing_invoicemerchant_signupmodifiermodifier_groupmodifier_setorderorder_chargeorder_editorder_line_itemorder_line_item_modifierorder_payment_attemptpackagepackage_itempartner_apppartner_app_credentialpartner_app_installpayment_attemptpayment_intentpayment_linkpayment_link_custom_fieldpayment_link_line_itempayment_methodpayment_method_domainpayment_reviewpayment_splitpayoutpayout_destinationpayout_settingsplatform_feeplatform_fee_balance_transactionplatform_fee_payoutprice_listprice_list_priceproductproduct_optionproduct_option_valueproduct_variantpromotionpromotion_codepurchase_refund_allocationreaderrefundrefund_allocationrefund_line_item_adjustmentremembered_buyerreportreport_downloadreturnreturn_activityreturn_dispositionreturn_inspectionreturn_inspection_line_itemreturn_line_itemreturn_policyreturn_policy_revisionreturn_reasonreturn_receiptreturn_receipt_line_itemreturn_resolutionrisk_listrisk_list_itemrisk_rulesandboxsettingsshipmentshopshop_listingsubscriptionsubscription_delivery_migrationsubscription_line_itemsubscription_offersubscription_payment_retrysubscription_plansubscription_plan_line_itemtax_calculation_callbacktax_connectiontax_registrationtest_clockticketuserwebhook_deliverywebhook_endpointwebhook_eventworkload_identity
client_request_idstringThe caller's X-Request-Id, matched exactly and case-sensitively. Absent when the caller sent none.
client_trace_idstringThe trace ID from a valid W3C traceparent, for correlation with the caller's tracing. Flint starts its own trace. Absent when no valid traceparent was sent.
created_atstringRequiredRFC3339 timestamp.
customer_idstringThe customer whose customer session made this request; `caller` is the session. Absent for every other caller.
error_codestringThe response's top-level error `code`. Absent for successful requests.
error_summarystringA concise explanation of why the request failed.
error_typeenumThe error envelope's `type` for this response.
authentication_errorauthorization_errorvalidation_errornot_found_errorconflict_errorrate_limit_errorexternal_service_errortimeout_errorunavailable_errorinternal_errorprotocol_error
expandarray of stringNormalized expand paths Flint applied. Absent when the request did not use expand.
http_methodstringRequiredHTTP method of the request.
ip_addressstringThe client IP address the request came from. When your server relays a buyer's request, this is your server's address. For a buyer-side caller (a checkout session, customer session, or invoice) it is kept for 30 days and removed when the customer is deleted. Absent when `caller` is absent.
latency_millisecondsintegerRequiredTime Flint spent handling the request, in milliseconds.
partner_app_idstringThe partner app whose partner app token made this request; `caller` is the install. Absent for every other caller.
pathstringRequiredRequest path as sent, with real IDs, such as /v1/orders/ord_123.
query_paramsarray of objectRequiredQuery parameters as received, with sensitive values replaced.
namestringRequiredQuery parameter name, decoded.
valuestringRequiredQuery parameter value, decoded. Flint replaces the value of a sensitive parameter with a placeholder.
recommended_actionstringThe next step to resolve this failure.
reference_urlstringA Flint guide that explains this failure. Absent when no guide applies.
reproductionobjectRequiredWhat you need to resend this request: its method, path, query parameters, headers, body, and a curl command.
bodyone ofThe captured request body to resend. A JSON object or array body is returned as redacted JSON. Any other body, or a body Flint truncated or could not parse, is returned as a string. Absent when there was no body or the route does not capture bodies. Requests under /v1/me never store bodies.
curlstringRequiredA curl command using the recorded served_api_version in Flint-Version when available. Complete captured bodies are inlined unless redacted or truncated. Replace credential and body placeholders before running it.
has_redactionsbooleanRequiredTrue when values in the captured request body or query were redacted. Ignores authorization headers and the response body. False does not guarantee completeness when body capture was omitted or expired.
headersmap of stringRequiredHeaders for reproducing the request. Flint-Version uses the recorded served_api_version. On routes that accept an idempotency key, same_request preserves the original key or uses a placeholder for that key when unavailable; after_refresh and none use a placeholder for a new key.
http_methodstringRequiredHTTP method to resend the request with.
pathstringRequiredRequest path to resend the request to.
query_paramsarray of objectRequiredQuery parameters to resend, with sensitive values replaced by placeholders.
request_bodyone ofThe captured body. A JSON object or array body is returned as redacted JSON. Any other body, or a body Flint truncated or could not parse, is returned as a string. Absent when there was no body or the route does not capture bodies. Requests under /v1/me never store bodies.
One of these shapes
No attributes.
request_headersmap of stringCaptured request headers, keyed by header name. Buyer-side callers keep only content metadata, API version, idempotency, request ID, and trace headers; other headers are omitted. For other callers, sensitive values read [REDACTED].
request_idstringRequiredRecords created before server-minted request IDs keep their original ID.
requested_api_versionstringThe API version Flint resolved for the request.
requested_api_version_sourceenumWhere `requested_api_version` came from. Absent when Flint did not record one.
headerpartner_appmerchantcurrent
resource_idstringThe ID of the resource the request is about, when Flint can attribute it to one. A failed create can have a `resource_type` and no ID.
resource_typeenumThe kind of resource the request is about, when Flint can attribute it to one.
api_keyapi_request_logbalancebalance_transactionbundlebundle_componentcategorycheckout_sessioncheckout_session_customer_verificationcredit_notecredit_note_allocationcustom_domaincustomercustomer_addresscustomer_deletion_requestcustomer_email_preferencescustomer_sessioncustomer_tax_exemptioncustomer_verificationdelivery_choice_groupdelivery_location_setdelivery_methoddelivery_profiledelivery_quotedelivery_ratedelivery_rate_callbackdelivery_revocationdelivery_selectiondelivery_zonedemo_sessiondevicediscountdisputeemail_change_requestenvironment_grantfileflint_walletflint_wallet_cardfraud_warningfulfillmentfulfillment_eventfulfillment_notificationgift_cardgift_card_funding_dispositiongift_card_loadgift_card_notificationgift_card_redemptiongift_card_transactionimageinventory_adjustmentinventory_allocation_policyinventory_allocation_policy_revisioninventory_countinventory_iteminventory_levelinventory_movementinventory_receiptinventory_reservationinventory_reservation_lineinventory_transferinventory_transfer_lineinvoiceinvoice_delivery_attemptinvoice_late_feeinvoice_line_iteminvoice_manual_paymentinvoice_payment_attemptinvoice_payment_termlicense_keylicense_key_activationlicense_key_poollicense_key_pool_keylocationmerchantmerchant_billing_balancemerchant_billing_entrymerchant_billing_invoicemerchant_signupmodifiermodifier_groupmodifier_setorderorder_chargeorder_editorder_line_itemorder_line_item_modifierorder_payment_attemptpackagepackage_itempartner_apppartner_app_credentialpartner_app_installpayment_attemptpayment_intentpayment_linkpayment_link_custom_fieldpayment_link_line_itempayment_methodpayment_method_domainpayment_reviewpayment_splitpayoutpayout_destinationpayout_settingsplatform_feeplatform_fee_balance_transactionplatform_fee_payoutprice_listprice_list_priceproductproduct_optionproduct_option_valueproduct_variantpromotionpromotion_codepurchase_refund_allocationreaderrefundrefund_allocationrefund_line_item_adjustmentremembered_buyerreportreport_downloadreturnreturn_activityreturn_dispositionreturn_inspectionreturn_inspection_line_itemreturn_line_itemreturn_policyreturn_policy_revisionreturn_reasonreturn_receiptreturn_receipt_line_itemreturn_resolutionrisk_listrisk_list_itemrisk_rulesandboxsettingsshipmentshopshop_listingsubscriptionsubscription_delivery_migrationsubscription_line_itemsubscription_offersubscription_payment_retrysubscription_plansubscription_plan_line_itemtax_calculation_callbacktax_connectiontax_registrationtest_clockticketuserwebhook_deliverywebhook_endpointwebhook_eventworkload_identity
response_bodyone ofThe captured body. A JSON object or array body is returned as redacted JSON. Any other body, or a body Flint truncated or could not parse, is returned as a string. Absent when there was no body or the route does not capture bodies. Requests under /v1/me never store bodies.
One of these shapes
No attributes.
response_content_typestringContent-Type of the response.
retryenumWhether sending this request again can succeed, and how. It depends only on code and details[0].reason; the errors reference lists the value for each.
same_requestafter_refreshnone
route_patternstringRequiredThe matched route as a method and path template, such as `POST /v1/orders`.
served_api_versionstringThe API version Flint used to encode the response.
status_codeintegerRequiredHTTP status Flint returned.
user_agentstringThe User-Agent header the request sent. For a buyer-side caller it is kept for 30 days and removed when the customer is deleted. Absent when the request sent none or `caller` is absent.
{
"api_request_log_id": "rlog_01KEZF7C00SMPBXVMJEG4SRRD2",
"caller": {
"resource_id": "key_01ARZ3NDEKTSV4RRFFQ69G5FAV",
"resource_type": "api_key"
},
"created_at": "2026-03-17T14:30:00Z",
"error_code": "INVALID_REQUEST",
"error_summary": "One or more request inputs are invalid.",
"error_type": "validation_error",
"http_method": "POST",
"latency_milliseconds": 42,
"path": "/v1/payment-intents/pi_01KEZF7C0050JFFB0HNCWWV1G3/confirm",
"query_params": [],
"recommended_action": "Correct each input named by details[].param as its message says, then send the request again.",
"reproduction": {
"body": {
"payment_source": {
"credential_type": "stripe_payment_method",
"stripe": {
"payment_method": "[REDACTED]"
}
}
},
"curl": "curl -X 'POST' 'https://api.withflintpay.com/v1/payment-intents/pi_01KEZF7C0050JFFB0HNCWWV1G3/confirm' -H 'Authorization: Bearer <API_KEY>' -H 'Idempotency-Key: <NEW_IDEMPOTENCY_KEY>' --data-raw '<REDACTED_OR_CAPTURED_BODY>'",
"has_redactions": true,
"headers": {
"Authorization": "Bearer <API_KEY>",
"Idempotency-Key": "<NEW_IDEMPOTENCY_KEY>"
},
"http_method": "POST",
"path": "/v1/payment-intents/pi_01KEZF7C0050JFFB0HNCWWV1G3/confirm",
"query_params": []
},
"request_body": {
"payment_source": {
"credential_type": "stripe_payment_method",
"stripe": {
"payment_method": "[REDACTED]"
}
}
},
"request_headers": {
"content-type": "application/json"
},
"request_id": "req_01KWM6NGSNES0064SEXR602030",
"resource_id": "pi_01KEZF7C0050JFFB0HNCWWV1G3",
"resource_type": "payment_intent",
"response_body": {
"error": {
"code": "INVALID_REQUEST",
"details": [
{
"code": "INVALID_VALUE",
"message": "payment_source.stripe.payment_method is invalid.",
"param": "payment_source.stripe.payment_method"
}
],
"doc_url": "https://developers.withflintpay.com/docs/errors#invalid_request",
"error_source": "merchant",
"message": "payment_source.stripe.payment_method is invalid.",
"param": "payment_source.stripe.payment_method",
"remediation": {
"next_steps": "Correct each input named by details[].param as its message says, then send the request again.",
"retry": "none"
},
"request_id": "req_01KWM6ZESBDJBBPHH8QEW2E60F",
"type": "validation_error"
}
},
"response_content_type": "application/json",
"retry": "none",
"route_pattern": "POST /v1/payment-intents/{payment_intent_id}/confirm",
"status_code": 400
}The Resource timeline object#
The activity timeline for one resource, such as API requests, webhook events and deliveries, and image changes. Request entries include the resource itself and one level of directly owned resources, resolved when the timeline is read: orders include their payment intents, public refunds, fulfillments, returns, invoices, and disputes; payment intents include their public refunds and disputes. Included requests require the caller's read access to each owned resource type. Types the caller cannot read are excluded before pagination. Ownership follows the child resource's order_id or payment_intent_id. Other resource types include only directly attributed requests. Internal payment-refund children are excluded. attributed_resource always names the resource the request log is attributed to. Webhook and image entries remain scoped to the timeline resource. Page sizes and ordering are unchanged.
Returned by GET /v1/resource-timelines/{resource_id} and carried by the endpoints below.
Attributes
entriesarray of one ofRequiredTimeline entries for the resource, each tagged by `entry_type`. Narrowed by `include`, `occurred_after`, and `occurred_before`.
One of these shapes
An API request recorded in this resource's timeline.
api_request_log_idstringRequiredStable identifier of this log entry.
attributed_resourceobjectRequiredThe resource this request log is attributed to. Always present: the timeline resource for a direct request, or its directly owned resource for an included request.
callerobjectWho made this request. An API key, workload token, or partner app token records that API key, workload identity, or partner app installation. A Dashboard write, CLI login, or onboarding session records the user. A buyer checkout request records the checkout session. A buyer account request records the customer session. A request made with invoice access records the invoice. Absent when Flint cannot attribute the request.
client_request_idstringThe caller's X-Request-Id, matched exactly and case-sensitively. Absent when the caller sent none.
client_trace_idstringThe trace ID from a valid W3C traceparent, for correlation with the caller's tracing. Flint starts its own trace. Absent when no valid traceparent was sent.
entry_typeenumRequiredAlways `api_request` for this kind of entry.
api_request
error_codestringThe response's top-level error `code`. Absent for successful requests.
error_summarystringA short explanation of why the request failed. Absent for successful requests.
error_typeenumThe error envelope's `type` for this response.
authentication_errorauthorization_errorvalidation_errornot_found_errorconflict_errorrate_limit_errorexternal_service_errortimeout_errorunavailable_errorinternal_errorprotocol_error
http_methodstringRequiredHTTP method of the request.
latency_millisecondsintegerRequiredTime Flint spent handling the request, in milliseconds.
occurred_atstringRequiredRFC3339 timestamp.
pathstringRequiredRequest path as sent, with real IDs, such as /v1/orders/ord_123.
recommended_actionstringThe next action to resolve the failure. Absent when no action applies.
reference_urlstringFull URL of the Flint guide that explains this failure. Absent when no guide applies.
request_idstringRequiredRecords created before server-minted request IDs keep their original ID.
resource_timeline_entry_idstringRequiredID of this timeline entry.
retryenumWhether sending this request again can succeed, and how. It depends only on code and details[0].reason; the errors reference lists the value for each.
same_requestafter_refreshnone
route_patternstringRequiredThe matched route as a method and path template, such as `POST /v1/orders`.
status_codeintegerRequiredHTTP status Flint returned.
license_key_pool_attestationsarray of objectSeller authorizations on this page, present for license key pools when any confirmations match the selected filters.
actor_idstringRequiredID of the credential or user that confirmed authorization.
actor_typestringRequiredType of credential or user that confirmed authorization.
entry_typeenumRequiredAlways license_key_pool_attestation for this kind of entry.
license_key_pool_attestation
key_quantityintegerRequiredNumber of submitted keys in the batch, including keys already present. As with all key counts, fractional quantities are not supported.
occurred_atstringRequiredRFC3339 timestamp.
request_idstringRequiredID of the upload request. Records created before server-minted request IDs keep their original ID.
resource_timeline_entry_idstringRequiredID of the seller authorization entry.
statement_versionstringRequiredVersion of the authorization statement the caller confirmed.
license_key_restriction_changesarray of objectRestriction changes on this page. Present for license keys when the include filter selects restriction changes.
actionenumRequiredHow this restriction changed.
addedlifted
dispute_idstringThe dispute that caused this restriction, when applicable.
entry_typeenumRequiredAlways license_key_restriction_change for this kind of entry.
license_key_restriction_change
occurred_atstringRequiredRFC3339 timestamp.
refund_idstringThe refund that caused this restriction, when applicable.
resource_timeline_entry_idstringRequiredStable ID of this restriction change.
subscription_idstringThe subscription that caused this restriction, when applicable.
typeenumRequiredWhat caused the restriction.
merchantrefunddisputesubscriptionpayment_reversal
resource_idstringRequiredID of the resource this timeline is for.
resource_typeenumRequiredType of the resource this timeline is for.
api_keyapi_request_logbalancebalance_transactionbundlebundle_componentcategorycheckout_sessioncheckout_session_customer_verificationcredit_notecredit_note_allocationcustom_domaincustomercustomer_addresscustomer_deletion_requestcustomer_email_preferencescustomer_sessioncustomer_tax_exemptioncustomer_verificationdelivery_choice_groupdelivery_location_setdelivery_methoddelivery_profiledelivery_quotedelivery_ratedelivery_rate_callbackdelivery_revocationdelivery_selectiondelivery_zonedemo_sessiondevicediscountdisputeemail_change_requestenvironment_grantfileflint_walletflint_wallet_cardfraud_warningfulfillmentfulfillment_eventfulfillment_notificationgift_cardgift_card_funding_dispositiongift_card_loadgift_card_notificationgift_card_redemptiongift_card_transactionimageinventory_adjustmentinventory_allocation_policyinventory_allocation_policy_revisioninventory_countinventory_iteminventory_levelinventory_movementinventory_receiptinventory_reservationinventory_reservation_lineinventory_transferinventory_transfer_lineinvoiceinvoice_delivery_attemptinvoice_late_feeinvoice_line_iteminvoice_manual_paymentinvoice_payment_attemptinvoice_payment_termlicense_keylicense_key_activationlicense_key_poollicense_key_pool_keylocationmerchantmerchant_billing_balancemerchant_billing_entrymerchant_billing_invoicemerchant_signupmodifiermodifier_groupmodifier_setorderorder_chargeorder_editorder_line_itemorder_line_item_modifierorder_payment_attemptpackagepackage_itempartner_apppartner_app_credentialpartner_app_installpayment_attemptpayment_intentpayment_linkpayment_link_custom_fieldpayment_link_line_itempayment_methodpayment_method_domainpayment_reviewpayment_splitpayoutpayout_destinationpayout_settingsplatform_feeplatform_fee_balance_transactionplatform_fee_payoutprice_listprice_list_priceproductproduct_optionproduct_option_valueproduct_variantpromotionpromotion_codepurchase_refund_allocationreaderrefundrefund_allocationrefund_line_item_adjustmentremembered_buyerreportreport_downloadreturnreturn_activityreturn_dispositionreturn_inspectionreturn_inspection_line_itemreturn_line_itemreturn_policyreturn_policy_revisionreturn_reasonreturn_receiptreturn_receipt_line_itemreturn_resolutionrisk_listrisk_list_itemrisk_rulesandboxsettingsshipmentshopshop_listingsubscriptionsubscription_delivery_migrationsubscription_line_itemsubscription_offersubscription_payment_retrysubscription_plansubscription_plan_line_itemtax_calculation_callbacktax_connectiontax_registrationtest_clockticketuserwebhook_deliverywebhook_endpointwebhook_eventworkload_identity
testbooleanRequired`true` when the timeline is for test mode data and `false` for live data.
{
"entries": [
{
"api_request_log_id": "rlog_01KEZF7C00SMPBXVMJEG4SRRD2",
"attributed_resource": {
"resource_id": "pi_01KEZF7C0050JFFB0HNCWWV1G3",
"resource_type": "payment_intent"
},
"entry_type": "api_request",
"http_method": "POST",
"latency_milliseconds": 42,
"occurred_at": "2026-03-17T14:30:00Z",
"path": "/v1/payment-intents/pi_01KEZF7C0050JFFB0HNCWWV1G3/confirm",
"request_id": "req_01KWM6SXEYHGFRSKBZJ1QS5F6X",
"resource_timeline_entry_id": "rlog_01KEZF7C00SMPBXVMJEG4SRRD2",
"route_pattern": "POST /v1/payment-intents/{payment_intent_id}/confirm",
"status_code": 200
},
{
"actor": null,
"api_request_log_id": "rlog_01KEZF7C00SMPBXVMJEG4SRRD2",
"entry_type": "webhook_event",
"event_type": "payment_intent.succeeded",
"occurred_at": "2026-03-17T14:30:01Z",
"request_id": "req_01KWM66CGFDT25SZS86VFG0E6C",
"resource_timeline_entry_id": "whev_01KEZF7C00BW7XQJ98PQ8EHA81",
"webhook_event_id": "whev_01KEZF7C00BW7XQJ98PQ8EHA81"
},
{
"api_request_log_id": "rlog_01KEZF7C00SMPBXVMJEG4SRRD2",
"attempt_number": 1,
"delivery_trigger": "automatic_delivery",
"duration_milliseconds": 98,
"entry_type": "webhook_delivery_attempt",
"occurred_at": "2026-03-17T14:30:02Z",
"request_id": "req_01KWM6E31H96AF2RVHKPJJQF7T",
"resource_timeline_entry_id": "watt_01KEZF7C00DT9B86AS1BFP23QQ",
"status": "delivered",
"status_code": 200,
"webhook_delivery_attempt_id": "watt_01KEZF7C00DT9B86AS1BFP23QQ",
"webhook_delivery_id": "wdel_01KEZF7C009Q5YXV9EMB35BQ13",
"webhook_endpoint_id": "whep_01KEZF7C00940MBDY86SCZ1NW9",
"webhook_event_id": "whev_01KEZF7C00BW7XQJ98PQ8EHA81"
},
{
"entry_type": "image_mutation",
"image_version": 2,
"mutation_kind": "replaced",
"occurred_at": "2026-03-17T14:30:03Z",
"resource_timeline_entry_id": "iomevt_01KEZF7C0025J1C0PSZXHBJ8RK"
}
],
"resource_id": "pi_01KEZF7C0050JFFB0HNCWWV1G3",
"resource_type": "payment_intent",
"test": true
}List API request logs#
/v1/api-request-logsRequires scope developer.request_logs.read or developer.request_logs.self.read
Also requires developer.request_logs.read when filtering by caller_type, caller_id, partner_app_id, or customer_id.
Rate limit: read
Returns request summaries, newest first. With developer.request_logs.read the list covers every caller in the credential's environment. With developer.request_logs.self.read it covers only the calling credential's requests. With partner_app_id naming a partner app your merchant owns, the list instead covers that app's partner app token requests in every merchant that installed it, in the credential's mode; the detail route still reads only the credential's environment. Headers, bodies and a reproduction are on the detail route. Default order: created_at descending, then api_request_log_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.
caller_typearray of enumFilter by one or more caller resource types. Requires developer.request_logs.read. 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.
api_keyuserpartner_app_installpartner_appcheckout_sessioncustomer_sessioninvoiceworkload_identity
caller_idstringFilter by the exact public ID of the caller. Requires developer.request_logs.read.
customer_idstringFilter to requests made with this customer's sessions. Requires developer.request_logs.read.
partner_app_idstringFilter to requests made with this partner app's tokens. For an app your merchant owns, the list covers the app's requests in every merchant that installed it, in the credential's mode; otherwise it covers the credential's environment. Requires developer.request_logs.read.
request_idstringFilter by Flint request ID. To find your own X-Request-Id, use client_request_id.
client_request_idstringFilter by the exact, case-sensitive X-Request-Id you sent.
client_trace_idstringFilter by a W3C traceparent trace ID, 32 lowercase hexadecimal characters, excluding all zeros.
http_methodarray of enumFilter by HTTP method. 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.
GETHEADPOSTPUTPATCHDELETEOPTIONSCONNECTTRACE
querystringCase-insensitive substring search on path. The characters %, _, and backslash match literally.
resource_typearray of enumFilter by resource type. 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.
api_keyapi_request_logbalancebalance_transactionbundlebundle_componentcategorycheckout_sessioncheckout_session_customer_verificationcredit_notecredit_note_allocationcustom_domaincustomercustomer_addresscustomer_deletion_requestcustomer_email_preferencescustomer_sessioncustomer_tax_exemptioncustomer_verificationdelivery_choice_groupdelivery_location_setdelivery_methoddelivery_profiledelivery_quotedelivery_ratedelivery_rate_callbackdelivery_revocationdelivery_selectiondelivery_zonedemo_sessiondevicediscountdisputeemail_change_requestenvironment_grantfileflint_walletflint_wallet_cardfraud_warningfulfillmentfulfillment_eventfulfillment_notificationgift_cardgift_card_funding_dispositiongift_card_loadgift_card_notificationgift_card_redemptiongift_card_transactionimageinventory_adjustmentinventory_allocation_policyinventory_allocation_policy_revisioninventory_countinventory_iteminventory_levelinventory_movementinventory_receiptinventory_reservationinventory_reservation_lineinventory_transferinventory_transfer_lineinvoiceinvoice_delivery_attemptinvoice_late_feeinvoice_line_iteminvoice_manual_paymentinvoice_payment_attemptinvoice_payment_termlicense_keylicense_key_activationlicense_key_poollicense_key_pool_keylocationmerchantmerchant_billing_balancemerchant_billing_entrymerchant_billing_invoicemerchant_signupmodifiermodifier_groupmodifier_setorderorder_chargeorder_editorder_line_itemorder_line_item_modifierorder_payment_attemptpackagepackage_itempartner_apppartner_app_credentialpartner_app_installpayment_attemptpayment_intentpayment_linkpayment_link_custom_fieldpayment_link_line_itempayment_methodpayment_method_domainpayment_reviewpayment_splitpayoutpayout_destinationpayout_settingsplatform_feeplatform_fee_balance_transactionplatform_fee_payoutprice_listprice_list_priceproductproduct_optionproduct_option_valueproduct_variantpromotionpromotion_codepurchase_refund_allocationreaderrefundrefund_allocationrefund_line_item_adjustmentremembered_buyerreportreport_downloadreturnreturn_activityreturn_dispositionreturn_inspectionreturn_inspection_line_itemreturn_line_itemreturn_policyreturn_policy_revisionreturn_reasonreturn_receiptreturn_receipt_line_itemreturn_resolutionrisk_listrisk_list_itemrisk_rulesandboxsettingsshipmentshopshop_listingsubscriptionsubscription_delivery_migrationsubscription_line_itemsubscription_offersubscription_payment_retrysubscription_plansubscription_plan_line_itemtax_calculation_callbacktax_connectiontax_registrationtest_clockticketuserwebhook_deliverywebhook_endpointwebhook_eventworkload_identity
resource_idstringFilter by resource ID.
status_bucketarray of enumFilter by response status bucket. 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.
successclient_errorserver_error
created_afterstringInclusive lower bound on created_at.
created_beforestringExclusive upper bound on created_at.
Response · 200
A page of API request log summaries for the credential's visibility.
dataarray of objectRequiredResource, collection, or operation result returned by this request.
api_request_log_idstringRequiredStable identifier of this log entry.
callerobjectWho made this request. An API key, workload token, or partner app token records that API key, workload identity, or partner app installation. A Dashboard write, CLI login, or onboarding session records the user. A buyer checkout request records the checkout session. A buyer account request records the customer session. A request made with invoice access records the invoice. Absent when Flint cannot attribute the request.
client_request_idstringThe caller's X-Request-Id, matched exactly and case-sensitively. Absent when the caller sent none.
client_trace_idstringThe trace ID from a valid W3C traceparent, for correlation with the caller's tracing. Flint starts its own trace. Absent when no valid traceparent was sent.
created_atstringRequiredRFC3339 timestamp.
customer_idstringThe customer whose customer session made this request; `caller` is the session. Absent for every other caller.
error_codestringThe response's top-level error `code`. Absent for successful requests.
error_summarystringA concise explanation of why the request failed.
error_typeenumThe error envelope's `type` for this response.
authentication_errorauthorization_errorvalidation_errornot_found_errorconflict_errorrate_limit_errorexternal_service_errortimeout_errorunavailable_errorinternal_errorprotocol_error
expandarray of stringNormalized expand paths Flint applied. Absent when the request did not use expand.
http_methodstringRequiredHTTP method of the request.
latency_millisecondsintegerRequiredTime Flint spent handling the request, in milliseconds.
partner_app_idstringThe partner app whose partner app token made this request; `caller` is the install. Absent for every other caller.
pathstringRequiredRequest path as sent, with real IDs, such as /v1/orders/ord_123.
recommended_actionstringThe next step to resolve this failure.
reference_urlstringA Flint guide that explains this failure. Absent when no guide applies.
request_idstringRequiredRecords created before server-minted request IDs keep their original ID.
requested_api_versionstringThe API version Flint resolved for the request.
requested_api_version_sourceenumWhere `requested_api_version` came from. Absent when Flint did not record one.
headerpartner_appmerchantcurrent
resource_idstringThe ID of the resource the request is about, when Flint can attribute it to one. A failed create can have a `resource_type` and no ID.
resource_typeenumThe kind of resource the request is about, when Flint can attribute it to one.
api_keyapi_request_logbalancebalance_transactionbundlebundle_componentcategorycheckout_sessioncheckout_session_customer_verificationcredit_notecredit_note_allocationcustom_domaincustomercustomer_addresscustomer_deletion_requestcustomer_email_preferencescustomer_sessioncustomer_tax_exemptioncustomer_verificationdelivery_choice_groupdelivery_location_setdelivery_methoddelivery_profiledelivery_quotedelivery_ratedelivery_rate_callbackdelivery_revocationdelivery_selectiondelivery_zonedemo_sessiondevicediscountdisputeemail_change_requestenvironment_grantfileflint_walletflint_wallet_cardfraud_warningfulfillmentfulfillment_eventfulfillment_notificationgift_cardgift_card_funding_dispositiongift_card_loadgift_card_notificationgift_card_redemptiongift_card_transactionimageinventory_adjustmentinventory_allocation_policyinventory_allocation_policy_revisioninventory_countinventory_iteminventory_levelinventory_movementinventory_receiptinventory_reservationinventory_reservation_lineinventory_transferinventory_transfer_lineinvoiceinvoice_delivery_attemptinvoice_late_feeinvoice_line_iteminvoice_manual_paymentinvoice_payment_attemptinvoice_payment_termlicense_keylicense_key_activationlicense_key_poollicense_key_pool_keylocationmerchantmerchant_billing_balancemerchant_billing_entrymerchant_billing_invoicemerchant_signupmodifiermodifier_groupmodifier_setorderorder_chargeorder_editorder_line_itemorder_line_item_modifierorder_payment_attemptpackagepackage_itempartner_apppartner_app_credentialpartner_app_installpayment_attemptpayment_intentpayment_linkpayment_link_custom_fieldpayment_link_line_itempayment_methodpayment_method_domainpayment_reviewpayment_splitpayoutpayout_destinationpayout_settingsplatform_feeplatform_fee_balance_transactionplatform_fee_payoutprice_listprice_list_priceproductproduct_optionproduct_option_valueproduct_variantpromotionpromotion_codepurchase_refund_allocationreaderrefundrefund_allocationrefund_line_item_adjustmentremembered_buyerreportreport_downloadreturnreturn_activityreturn_dispositionreturn_inspectionreturn_inspection_line_itemreturn_line_itemreturn_policyreturn_policy_revisionreturn_reasonreturn_receiptreturn_receipt_line_itemreturn_resolutionrisk_listrisk_list_itemrisk_rulesandboxsettingsshipmentshopshop_listingsubscriptionsubscription_delivery_migrationsubscription_line_itemsubscription_offersubscription_payment_retrysubscription_plansubscription_plan_line_itemtax_calculation_callbacktax_connectiontax_registrationtest_clockticketuserwebhook_deliverywebhook_endpointwebhook_eventworkload_identity
retryenumWhether sending this request again can succeed, and how. It depends only on code and details[0].reason; the errors reference lists the value for each.
same_requestafter_refreshnone
route_patternstringRequiredThe matched route as a method and path template, such as `POST /v1/orders`.
served_api_versionstringThe API version Flint used to encode the response.
status_codeintegerRequiredHTTP status Flint returned.
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/api-request-logs \
-H "Flint-Version: 2026-09-07" \
-H "Authorization: Bearer YOUR_API_KEY"A page of API request log summaries for the credential's visibility.
{
"data": [
{
"api_request_log_id": "rlog_01KEZF7C00SMPBXVMJEG4SRRD2",
"caller": {
"resource_id": "key_01ARZ3NDEKTSV4RRFFQ69G5FAV",
"resource_type": "api_key"
},
"created_at": "2026-03-17T14:30:00Z",
"http_method": "GET",
"latency_milliseconds": 12,
"path": "/v1/orders/ord_01KEZF7C00JBKMARG3P06Z224B",
"request_id": "req_01KWM6FVKX1A9AY3YSKAN37AZX",
"resource_id": "ord_01KEZF7C00JBKMARG3P06Z224B",
"resource_type": "order",
"route_pattern": "GET /v1/orders/{order_id}",
"status_code": 200
}
],
"meta": {
"api_version": "2026-09-07"
},
"next_page_token": "example",
"request_id": "req_01KWM6KYE5RDJX3W4PMMNQ0Z0R"
}Get API request log#
/v1/api-request-logs/{api_request_log_id}Requires scope developer.request_logs.read or developer.request_logs.self.read
Rate limit: read
Returns one request with redacted headers, the redacted request and response bodies for write routes that capture them, and a curl reproduction. Detail older than 14 days has no headers or bodies.
Path parameters
api_request_log_idstringRequiredFlint API request log ID. Must be a valid ID with prefix rlog_. Malformed IDs return 400 INVALID_REQUEST with detail INVALID_VALUE; well-formed IDs that do not exist return 404 RESOURCE_NOT_FOUND.
Response · 200
Redacted API request log detail for the credential's visibility.
dataobjectRequiredResource, collection, or operation result returned by this request.
api_request_log_idstringRequiredStable identifier of this log entry.
callerobjectWho made this request. An API key, workload token, or partner app token records that API key, workload identity, or partner app installation. A Dashboard write, CLI login, or onboarding session records the user. A buyer checkout request records the checkout session. A buyer account request records the customer session. A request made with invoice access records the invoice. Absent when Flint cannot attribute the request.
client_request_idstringThe caller's X-Request-Id, matched exactly and case-sensitively. Absent when the caller sent none.
client_trace_idstringThe trace ID from a valid W3C traceparent, for correlation with the caller's tracing. Flint starts its own trace. Absent when no valid traceparent was sent.
created_atstringRequiredRFC3339 timestamp.
customer_idstringThe customer whose customer session made this request; `caller` is the session. Absent for every other caller.
error_codestringThe response's top-level error `code`. Absent for successful requests.
error_summarystringA concise explanation of why the request failed.
error_typeenumThe error envelope's `type` for this response.
authentication_errorauthorization_errorvalidation_errornot_found_errorconflict_errorrate_limit_errorexternal_service_errortimeout_errorunavailable_errorinternal_errorprotocol_error
expandarray of stringNormalized expand paths Flint applied. Absent when the request did not use expand.
http_methodstringRequiredHTTP method of the request.
ip_addressstringThe client IP address the request came from. When your server relays a buyer's request, this is your server's address. For a buyer-side caller (a checkout session, customer session, or invoice) it is kept for 30 days and removed when the customer is deleted. Absent when `caller` is absent.
latency_millisecondsintegerRequiredTime Flint spent handling the request, in milliseconds.
partner_app_idstringThe partner app whose partner app token made this request; `caller` is the install. Absent for every other caller.
pathstringRequiredRequest path as sent, with real IDs, such as /v1/orders/ord_123.
query_paramsarray of objectRequiredQuery parameters as received, with sensitive values replaced.
recommended_actionstringThe next step to resolve this failure.
reference_urlstringA Flint guide that explains this failure. Absent when no guide applies.
reproductionobjectRequiredWhat you need to resend this request: its method, path, query parameters, headers, body, and a curl command.
request_bodyone ofThe captured body. A JSON object or array body is returned as redacted JSON. Any other body, or a body Flint truncated or could not parse, is returned as a string. Absent when there was no body or the route does not capture bodies. Requests under /v1/me never store bodies.
request_headersmap of stringCaptured request headers, keyed by header name. Buyer-side callers keep only content metadata, API version, idempotency, request ID, and trace headers; other headers are omitted. For other callers, sensitive values read [REDACTED].
request_idstringRequiredRecords created before server-minted request IDs keep their original ID.
requested_api_versionstringThe API version Flint resolved for the request.
requested_api_version_sourceenumWhere `requested_api_version` came from. Absent when Flint did not record one.
headerpartner_appmerchantcurrent
resource_idstringThe ID of the resource the request is about, when Flint can attribute it to one. A failed create can have a `resource_type` and no ID.
resource_typeenumThe kind of resource the request is about, when Flint can attribute it to one.
api_keyapi_request_logbalancebalance_transactionbundlebundle_componentcategorycheckout_sessioncheckout_session_customer_verificationcredit_notecredit_note_allocationcustom_domaincustomercustomer_addresscustomer_deletion_requestcustomer_email_preferencescustomer_sessioncustomer_tax_exemptioncustomer_verificationdelivery_choice_groupdelivery_location_setdelivery_methoddelivery_profiledelivery_quotedelivery_ratedelivery_rate_callbackdelivery_revocationdelivery_selectiondelivery_zonedemo_sessiondevicediscountdisputeemail_change_requestenvironment_grantfileflint_walletflint_wallet_cardfraud_warningfulfillmentfulfillment_eventfulfillment_notificationgift_cardgift_card_funding_dispositiongift_card_loadgift_card_notificationgift_card_redemptiongift_card_transactionimageinventory_adjustmentinventory_allocation_policyinventory_allocation_policy_revisioninventory_countinventory_iteminventory_levelinventory_movementinventory_receiptinventory_reservationinventory_reservation_lineinventory_transferinventory_transfer_lineinvoiceinvoice_delivery_attemptinvoice_late_feeinvoice_line_iteminvoice_manual_paymentinvoice_payment_attemptinvoice_payment_termlicense_keylicense_key_activationlicense_key_poollicense_key_pool_keylocationmerchantmerchant_billing_balancemerchant_billing_entrymerchant_billing_invoicemerchant_signupmodifiermodifier_groupmodifier_setorderorder_chargeorder_editorder_line_itemorder_line_item_modifierorder_payment_attemptpackagepackage_itempartner_apppartner_app_credentialpartner_app_installpayment_attemptpayment_intentpayment_linkpayment_link_custom_fieldpayment_link_line_itempayment_methodpayment_method_domainpayment_reviewpayment_splitpayoutpayout_destinationpayout_settingsplatform_feeplatform_fee_balance_transactionplatform_fee_payoutprice_listprice_list_priceproductproduct_optionproduct_option_valueproduct_variantpromotionpromotion_codepurchase_refund_allocationreaderrefundrefund_allocationrefund_line_item_adjustmentremembered_buyerreportreport_downloadreturnreturn_activityreturn_dispositionreturn_inspectionreturn_inspection_line_itemreturn_line_itemreturn_policyreturn_policy_revisionreturn_reasonreturn_receiptreturn_receipt_line_itemreturn_resolutionrisk_listrisk_list_itemrisk_rulesandboxsettingsshipmentshopshop_listingsubscriptionsubscription_delivery_migrationsubscription_line_itemsubscription_offersubscription_payment_retrysubscription_plansubscription_plan_line_itemtax_calculation_callbacktax_connectiontax_registrationtest_clockticketuserwebhook_deliverywebhook_endpointwebhook_eventworkload_identity
response_bodyone ofThe captured body. A JSON object or array body is returned as redacted JSON. Any other body, or a body Flint truncated or could not parse, is returned as a string. Absent when there was no body or the route does not capture bodies. Requests under /v1/me never store bodies.
response_content_typestringContent-Type of the response.
retryenumWhether sending this request again can succeed, and how. It depends only on code and details[0].reason; the errors reference lists the value for each.
same_requestafter_refreshnone
route_patternstringRequiredThe matched route as a method and path template, such as `POST /v1/orders`.
served_api_versionstringThe API version Flint used to encode the response.
status_codeintegerRequiredHTTP status Flint returned.
user_agentstringThe User-Agent header the request sent. For a buyer-side caller it is kept for 30 days and removed when the customer is deleted. Absent when the request sent none or `caller` is absent.
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 https://api.withflintpay.com/v1/api-request-logs/rlog_01KEZF7C008XJCH6BHA224X46F \
-H "Flint-Version: 2026-09-07" \
-H "Authorization: Bearer YOUR_API_KEY"Redacted API request log detail for the credential's visibility.
{
"data": {
"api_request_log_id": "rlog_01KEZF7C00SMPBXVMJEG4SRRD2",
"caller": {
"resource_id": "key_01ARZ3NDEKTSV4RRFFQ69G5FAV",
"resource_type": "api_key"
},
"created_at": "2026-03-17T14:30:00Z",
"error_code": "INVALID_REQUEST",
"error_summary": "One or more request inputs are invalid.",
"error_type": "validation_error",
"http_method": "POST",
"latency_milliseconds": 42,
"path": "/v1/payment-intents/pi_01KEZF7C0050JFFB0HNCWWV1G3/confirm",
"query_params": [],
"recommended_action": "Correct each input named by details[].param as its message says, then send the request again.",
"reproduction": {
"body": {
"payment_source": {
"credential_type": "stripe_payment_method",
"stripe": {
"payment_method": "[REDACTED]"
}
}
},
"curl": "curl -X 'POST' 'https://api.withflintpay.com/v1/payment-intents/pi_01KEZF7C0050JFFB0HNCWWV1G3/confirm' -H 'Authorization: Bearer <API_KEY>' -H 'Idempotency-Key: <NEW_IDEMPOTENCY_KEY>' --data-raw '<REDACTED_OR_CAPTURED_BODY>'",
"has_redactions": true,
"headers": {
"Authorization": "Bearer <API_KEY>",
"Idempotency-Key": "<NEW_IDEMPOTENCY_KEY>"
},
"http_method": "POST",
"path": "/v1/payment-intents/pi_01KEZF7C0050JFFB0HNCWWV1G3/confirm",
"query_params": []
},
"request_body": {
"payment_source": {
"credential_type": "stripe_payment_method",
"stripe": {
"payment_method": "[REDACTED]"
}
}
},
"request_headers": {
"content-type": "application/json"
},
"request_id": "req_01KWM6NGSNES0064SEXR602030",
"resource_id": "pi_01KEZF7C0050JFFB0HNCWWV1G3",
"resource_type": "payment_intent",
"response_body": {
"error": {
"code": "INVALID_REQUEST",
"details": [
{
"code": "INVALID_VALUE",
"message": "payment_source.stripe.payment_method is invalid.",
"param": "payment_source.stripe.payment_method"
}
],
"doc_url": "https://developers.withflintpay.com/docs/errors#invalid_request",
"error_source": "merchant",
"message": "payment_source.stripe.payment_method is invalid.",
"param": "payment_source.stripe.payment_method",
"remediation": {
"next_steps": "Correct each input named by details[].param as its message says, then send the request again.",
"retry": "none"
},
"request_id": "req_01KWM6ZESBDJBBPHH8QEW2E60F",
"type": "validation_error"
}
},
"response_content_type": "application/json",
"retry": "none",
"route_pattern": "POST /v1/payment-intents/{payment_intent_id}/confirm",
"status_code": 400
},
"meta": {
"api_version": "2026-09-07"
},
"request_id": "req_01KWM68P1JSHGCRY99VCHDV8SM"
}Get a resource timeline#
/v1/resource-timelines/{resource_id}Requires scope developer.resource_timelines.read
Rate limit: read
Returns summary-only API request, webhook event, webhook delivery attempt, image mutation, license key restriction change, and license key pool authorization entries for a single public API resource. The caller must have developer.resource_timelines.read and the matching read scope for the requested resource type. License key timelines include entries for the key and its device activations. Default order: occurred_at descending, then resource_timeline_entry_id descending.
Path parameters
resource_idstringRequiredFlint public API resource ID.
Query parameters
resource_typeenumOptional resource type. Must match the resource_id prefix when present.
balancebalance_transactionbundlecategorycheckout_sessioncredit_notecredit_note_allocationcustomerdelivery_methoddisputefraud_warninginventory_countinventory_levelinventory_receiptinventory_reservationinventory_reservation_lineinventory_transferinvoiceinvoice_payment_termlicense_keylicense_key_activationlicense_key_poolmerchant_billing_balancemerchant_billing_invoicemerchant_signupmodifiermodifier_groupmodifier_setorderpayment_intentpayment_linkpayment_methodpayment_method_domainpayment_reviewpayoutpayout_destinationpayout_settingsproductproduct_variantpromotionpromotion_codereaderrefundreturnreturn_activityreturn_dispositionreturn_inspectionreturn_receiptreturn_resolutionrisk_listrisk_list_itemrisk_ruleshopsubscriptionsubscription_plantest_clock
includearray of enumTimeline entry groups to include. Defaults to all applicable groups.
requestswebhooksattemptsimage_mutationslicense_key_pool_attestationslicense_key_restriction_changes
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.
occurred_afterstringInclusive lower bound on occurred_at.
occurred_beforestringExclusive upper bound on occurred_at.
Response · 200
A summary-only timeline for the requested resource.
dataobjectRequiredResource, collection, or operation result returned by this request.
entriesarray of one ofRequiredTimeline entries for the resource, each tagged by `entry_type`. Narrowed by `include`, `occurred_after`, and `occurred_before`.
license_key_pool_attestationsarray of objectSeller authorizations on this page, present for license key pools when any confirmations match the selected filters.
license_key_restriction_changesarray of objectRestriction changes on this page. Present for license keys when the include filter selects restriction changes.
resource_idstringRequiredID of the resource this timeline is for.
resource_typeenumRequiredType of the resource this timeline is for.
api_keyapi_request_logbalancebalance_transactionbundlebundle_componentcategorycheckout_sessioncheckout_session_customer_verificationcredit_notecredit_note_allocationcustom_domaincustomercustomer_addresscustomer_deletion_requestcustomer_email_preferencescustomer_sessioncustomer_tax_exemptioncustomer_verificationdelivery_choice_groupdelivery_location_setdelivery_methoddelivery_profiledelivery_quotedelivery_ratedelivery_rate_callbackdelivery_revocationdelivery_selectiondelivery_zonedemo_sessiondevicediscountdisputeemail_change_requestenvironment_grantfileflint_walletflint_wallet_cardfraud_warningfulfillmentfulfillment_eventfulfillment_notificationgift_cardgift_card_funding_dispositiongift_card_loadgift_card_notificationgift_card_redemptiongift_card_transactionimageinventory_adjustmentinventory_allocation_policyinventory_allocation_policy_revisioninventory_countinventory_iteminventory_levelinventory_movementinventory_receiptinventory_reservationinventory_reservation_lineinventory_transferinventory_transfer_lineinvoiceinvoice_delivery_attemptinvoice_late_feeinvoice_line_iteminvoice_manual_paymentinvoice_payment_attemptinvoice_payment_termlicense_keylicense_key_activationlicense_key_poollicense_key_pool_keylocationmerchantmerchant_billing_balancemerchant_billing_entrymerchant_billing_invoicemerchant_signupmodifiermodifier_groupmodifier_setorderorder_chargeorder_editorder_line_itemorder_line_item_modifierorder_payment_attemptpackagepackage_itempartner_apppartner_app_credentialpartner_app_installpayment_attemptpayment_intentpayment_linkpayment_link_custom_fieldpayment_link_line_itempayment_methodpayment_method_domainpayment_reviewpayment_splitpayoutpayout_destinationpayout_settingsplatform_feeplatform_fee_balance_transactionplatform_fee_payoutprice_listprice_list_priceproductproduct_optionproduct_option_valueproduct_variantpromotionpromotion_codepurchase_refund_allocationreaderrefundrefund_allocationrefund_line_item_adjustmentremembered_buyerreportreport_downloadreturnreturn_activityreturn_dispositionreturn_inspectionreturn_inspection_line_itemreturn_line_itemreturn_policyreturn_policy_revisionreturn_reasonreturn_receiptreturn_receipt_line_itemreturn_resolutionrisk_listrisk_list_itemrisk_rulesandboxsettingsshipmentshopshop_listingsubscriptionsubscription_delivery_migrationsubscription_line_itemsubscription_offersubscription_payment_retrysubscription_plansubscription_plan_line_itemtax_calculation_callbacktax_connectiontax_registrationtest_clockticketuserwebhook_deliverywebhook_endpointwebhook_eventworkload_identity
testbooleanRequired`true` when the timeline is for test mode data and `false` for live data.
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/resource-timelines/ord_01KEZF7C0054GQKJ142A8X367A \
-H "Flint-Version: 2026-09-07" \
-H "Authorization: Bearer YOUR_API_KEY"A summary-only timeline for the requested resource.
{
"data": {
"entries": [
{
"api_request_log_id": "rlog_01KEZF7C00SMPBXVMJEG4SRRD2",
"attributed_resource": {
"resource_id": "pi_01KEZF7C0050JFFB0HNCWWV1G3",
"resource_type": "payment_intent"
},
"entry_type": "api_request",
"http_method": "POST",
"latency_milliseconds": 42,
"occurred_at": "2026-03-17T14:30:00Z",
"path": "/v1/payment-intents/pi_01KEZF7C0050JFFB0HNCWWV1G3/confirm",
"request_id": "req_01KWM6SXEYHGFRSKBZJ1QS5F6X",
"resource_timeline_entry_id": "rlog_01KEZF7C00SMPBXVMJEG4SRRD2",
"route_pattern": "POST /v1/payment-intents/{payment_intent_id}/confirm",
"status_code": 200
},
{
"actor": null,
"api_request_log_id": "rlog_01KEZF7C00SMPBXVMJEG4SRRD2",
"entry_type": "webhook_event",
"event_type": "payment_intent.succeeded",
"occurred_at": "2026-03-17T14:30:01Z",
"request_id": "req_01KWM66CGFDT25SZS86VFG0E6C",
"resource_timeline_entry_id": "whev_01KEZF7C00BW7XQJ98PQ8EHA81",
"webhook_event_id": "whev_01KEZF7C00BW7XQJ98PQ8EHA81"
},
{
"api_request_log_id": "rlog_01KEZF7C00SMPBXVMJEG4SRRD2",
"attempt_number": 1,
"delivery_trigger": "automatic_delivery",
"duration_milliseconds": 98,
"entry_type": "webhook_delivery_attempt",
"occurred_at": "2026-03-17T14:30:02Z",
"request_id": "req_01KWM6E31H96AF2RVHKPJJQF7T",
"resource_timeline_entry_id": "watt_01KEZF7C00DT9B86AS1BFP23QQ",
"status": "delivered",
"status_code": 200,
"webhook_delivery_attempt_id": "watt_01KEZF7C00DT9B86AS1BFP23QQ",
"webhook_delivery_id": "wdel_01KEZF7C009Q5YXV9EMB35BQ13",
"webhook_endpoint_id": "whep_01KEZF7C00940MBDY86SCZ1NW9",
"webhook_event_id": "whev_01KEZF7C00BW7XQJ98PQ8EHA81"
},
{
"entry_type": "image_mutation",
"image_version": 2,
"mutation_kind": "replaced",
"occurred_at": "2026-03-17T14:30:03Z",
"resource_timeline_entry_id": "iomevt_01KEZF7C0025J1C0PSZXHBJ8RK"
}
],
"resource_id": "pi_01KEZF7C0050JFFB0HNCWWV1G3",
"resource_type": "payment_intent",
"test": true
},
"meta": {
"api_version": "2026-09-07"
},
"next_page_token": "example",
"request_id": "req_01KWM6B2MBK8R2YZA4CMRC57NN"
}Was this helpful?