Filter to payment intents whose receipt_email or linked customer's email equals this address, ignoring case and any whitespace stored around it, with accents preserved.
Name of the product the component’s variant belongs to.
Webhook events
25 additions
Field
BalanceTransaction.fee_details
Fee sources on a payment charged a platform fee or a processor fee billed directly to the connected account.
Field
DeliveryMethodConfiguration.tax_exempt_us_states
US destinations where this shipment method's shipping charge is exempt from tax.
Field
ExpandedPayoutSummary.direction
Direction of the money movement.
Field
InvoiceManualPayment.idempotency_key
The Idempotency-Key of the request that created this resource.
Field
InvoicePaymentAttempt.idempotency_key
The Idempotency-Key of the request that created this resource.
Field
LicenseKey.supported_actions
Lifecycle actions currently available for this key.
Field
Payout.direction
Direction of the money movement.
Field
Payout.idempotency_key
The Idempotency-Key of the request that created this resource.
Breaking change
API
Webhooks
Send synthetic events through the webhook listener stream#
POST /v1/webhook-endpoints/{webhook_endpoint_id}/test-events records a synthetic event for the CLI-managed listener endpoint and returns its webhook_event_id with delivery_method: "listener_stream". A running listener can forward the event if its endpoint subscribes to that event type. Publication confirms the event is available to the stream. HTTP endpoints still return their test delivery attempt.
On POST /v1/orders/{order_id}/pay, reusing a recorded key with a different request returns 409 IDEMPOTENCY_KEY_REUSED, including after the order is paid. An exact retry returns the recorded success. A new payment request on a paid order returns 409 ACTION_NOT_ALLOWED with reason payment_collected.
Payment intent create, update, and capture, checkout quick-pay prices, and payment link prices and donation options that require a positive amount publish their minimum of one minor unit in the API schema. Shared order prices and other money fields that allow zero keep their existing minimum.
Order responses and order webhooks now keep the original tip in pricing_amounts.requested_tip_money and pricing_amounts.total_money when you refund part or all of it. Order list filters and sorting use that same price.
If the API rejects a page token for an order list filtered or sorted by price, restart from the first page.
Read tips[].refunded_money for the refunded part of each tip. Read settlement_amounts for payments, refunds, and the balance still owed.
When Stripe rejects a merchant account, payment intents that the account can't process return MERCHANT_NOT_READY with details[0].reason: "account_rejected". Direct the merchant to Flint support for help with what comes next.
The blocked accept_card_payments and save_payment_methods capabilities in merchant readiness also report account_rejected.
GET /v1/analytics/subscriptions counts active and trialing subscriptions scheduled to end in snapshot_metrics.status_counts.canceling_count. Active subscriptions whose billing is on hold or being retried appear in billing_hold_count unless they are scheduled to cancel. The active_count and trialing_count fields now exclude these groups. Monthly and annual recurring revenue continue to include active subscriptions scheduled to cancel.
Breaking change
API
Catalog
Tax
Variant updates validate categories for automatic tax#
While automatic tax is connected, PATCH /v1/products/{product_id}/variants/{variant_id} rejects food, clothing, medical_goods, and admission on taxable variants with 400 INVALID_REQUEST and a NOT_ALLOWED detail on line_item_tax_category. The same error applies when marking a variant with one of these categories taxable.
On every supported API version, Analytics assigns succeeded payments to the period when they were captured. A payment authorized Monday night and captured Tuesday morning counts on Tuesday in the merchant's time zone. Subscription collections also use the capture time and amount.
Refund totals include succeeded refunds in the period when the refund succeeded. Historical totals can change if a payment was captured in a different period from its creation, or a refund succeeded in a different period from its creation.
To list the payments for an analytics period, send the overview's period_start_at as captured_after and period_end_at as captured_before on GET /v1/payment-intents. Use status=succeeded and the overview's currency.
When payments cover an entire schedule entry and each payment is fully refunded, the entry reports status: refunded. The entry keeps its original paid_money, and the refund doesn't reopen the invoice balance.
If you match on schedule entry status, add refunded to the values your integration accepts.
Breaking change
API
Payments
Payment intent reads show remaining refund capacity#
Payment intent reads include remaining_refundable_money. It accounts for amounts already reserved for order refunds.
Payment intent webhook schemas exclude this field because webhook snapshots do not calculate remaining refund capacity. Use GET /v1/payment-intents/{payment_intent_id} to read it.
On every supported API version, a restricted API key needs webhooks.write and permission to read the resource in each event it subscribes to. For example, customer.created requires customers.read or customers.write. A wildcard requires permission to read every event resource.
The same check applies when a restricted key changes an endpoint's event sources or delivery URL, or activates the endpoint. Flint returns 403 INSUFFICIENT_SCOPE with the event and the required scope.
First-time flint listen --forward-to setup creates a wildcard endpoint and needs a full-access sandbox API key. With a restricted credential, register an endpoint for the events it can read, then pass its ID with --webhook-endpoint-id.
POST /v1/api-keys/{api_key_id}/revoke no longer publishes x-flint-recovery or adds a key read to remediation.next_actions. Read remediation.next_steps for recovery instructions. Dashboard sessions and API keys with accounts.api_keys.read can still read the key to confirm its status. Onboarding sessions cannot read keys.
BuyerLicenseKey.source now uses the closed issued_license_key_source vocabulary, matching LicenseKey.source. Its values remain generated and pool.
Update generated clients that distinguish closed and extensible enums.
Breaking change
API
Checkout
Event link creation schema requires a start time and time zone#
When you create an event payment link, send event_config.event_at as an RFC 3339 timestamp and event_config.timezone as an IANA time zone name. Clients generated from the corrected schema require both fields. Existing valid requests continue to work, and event updates still accept individual settings.
Breaking change
API
Payments
Payment activity actors use the shared resource type#
PaymentActivityActor.resource_type now references the shared, extensible ResourceType enum. Flint still returns user, api_key, partner_app_install, or partner_app for recorded actors. Accept other resource types and use label, or resource_id when the label is empty, to display them.
Digital variants accept source: pool with the ID of an active license key pool. Flint reserves one key per unit before payment and issues the keys after payment. A checkout with insufficient stock returns 409 INVENTORY_INSUFFICIENT.
Product and variant responses and their webhook payloads can now return license_key_configuration.source: pool. That branch includes license_key_pool_id. Update consumers of the closed union to handle both generated and pool. The generated branch keeps its existing fields.
Add license_key_configuration to a digital variant and Flint issues one key per paid unit, either generated or drawn from a pool of keys you upload. The receipt email lists each key, and later keys and resends arrive in a license key email.
Your shipped app calls POST /v1/license-key-activations when a buyer enters a key and POST /v1/license-keys/validate at launch, with your product IDs and no Authorization header. Activation limits, rate limits, and identical answers for every key that doesn't match protect the routes.
Refunds, chargebacks, and paused or canceled subscriptions disable keys. You can also disable, reinstate, reveal, replace, and resend keys through /v1/license-keys, and buyers can list their keys and release devices through /v1/me/license-keys. Sandbox keys start with TEST-.
Requirement codes for bank account ownership and terms acceptance#
Two requirement codes join the readiness and merchant account session vocabularies on GET /v1/merchant:
payout_destination_ownership_document: a document that shows the business owns the bank account that receives payouts, such as a bank statement. Stripe asks for it when it can't confirm the account's owner.
terms_acceptance: acceptance of Stripe's terms of service, which the account form collects.
Both used to appear as additional_account_information. They can be sent in targeted_requirements on POST /v1/merchant-account-sessions like other codes. See Requirement codes.
Breaking change
API
Payments
Inventory
Recovery lists expose the creating request's idempotency key#
Every resource returned by a list with an idempotency_key filter now includes idempotency_key as a required, nullable string. It contains the original creating request's key when available.
Update integrations that expect these fields to be absent or always contain a string:
Inventory resources send null when no creating key is available.
Refunds expose the creating key for every keyed refund create, including refunds unrelated to credit notes.
Subscription payment retries and gift card funding dispositions can return null.
Credit note allocations return the caller's key, including allocations made on issue, and can return null when no creating key is available.
Return receipt, inspection, and disposition list filters match the caller's key namespace.
Creating keys are visible only in the creating caller's namespace. Older gift card load, redemption, and transaction records can return their key when the creating caller is unknown.
Buyer return and payment-retry reads expose only keys from the buyer's own namespace. Buyer refund responses omit idempotency_key.
CheckoutSession.refunds[] in REST responses and checkout_session.* webhook payloads no longer include idempotency_key.
Partner app webhook endpoints receive payloads with null for resource creating keys. Resources created by background work can return null even for the caller who started that work.
A recorded replay or webhook event can return null even when a read returns the key. To find a key that a replay returns as null, read the resource. See recovery reads.
Breaking: Flint no longer accepts feedback reports through the API. A feedback report had no status and never got a reply, so a bug or request sent that way gave you nothing to follow up on.
The following are removed:
POST /v1/feedback-reports, GET /v1/feedback-reports, and GET /v1/feedback-reports/{feedback_report_id}. They return 404 ROUTE_NOT_FOUND.
The developer.feedback_reports.write and developer.feedback_reports.read scopes. A request that grants either one, such as POST /v1/api-keys, is rejected. Keys that already hold them keep working, and the two scopes no longer appear on the key.
The feedback_report resource type, including as a resource_type filter on request logs.
The feedback_intake value of the Flint-Rate-Limited-Reason header.
The feedback report schemas in OpenAPI.
Reports you sent before this change can no longer be read through the API.
Remove feedback report calls and the two scopes from your integrations. To report a bug, ask for a feature, or get help with a request, open a thread in Flint Help. From the terminal, flint support open builds the thread with your request ID and product area filled in, as Getting help describes.
When POST /v1/gift-card-loads repeats an external_payment or import reference on the same card under a new idempotency key, it now returns 409 ALREADY_EXISTS instead of ACTION_NOT_ALLOWED.
The error identifies source.external_reference_id in param. Callers with gift card read permission also receive the existing load in details[0].current_resource. Retry with the original idempotency key to recover the original result.
Breaking change
API
Gift-cards
Gift card and load lists show the newest records first#
GET /v1/gift-cards and GET /v1/gift-card-loads now return records in descending created_at order. Records created in the same second use descending IDs to break ties. Previously, both lists used descending IDs alone.
Restart these lists without page_token when upgrading; tokens issued with the previous ordering return a validation error. Transaction ordering remains ascending by merchant_sequence.
This change applies immediately to every supported API version.
GET /v1/auth-context accepts an onboarding session without a sandbox header. It returns the session's default sandbox when one exists. For an onboarding session, merchant_id and sandbox_id are null when that setup context does not exist yet. Handle these nullable fields before using them in another request.
Other credential types keep their existing identity fields. Onboarding sessions still report user_id, can_manage_api_keys, expires_at, and fresh_verification_expires_at without access or scopes.
When an order does not offer ACH, paying it with a bank account now returns INVALID_REQUEST with a NOT_ALLOWED detail on payment_source. The detail identifies the unavailable payment source.
Creating a payment intent with both order_id and transaction_purpose now reports only that the order supplies the transaction purpose. The response no longer adds a conflicting message about payment_options.
Accepted request shapes are unchanged. Orders supply the transaction purpose for their payment intents. Standalone ACH payment intents require transaction_purpose; standalone payment intents without ACH do not accept it.
API
Orders
Tax
Orders show tax attention without losing captured payments#
Merchant order responses now include tax.attention. It is null when no tax issue is outstanding, or an object with code: "tax_commitment_failed", message, and started_at when Flint cannot verify the order's recorded tax information. Buyer responses omit it.
Captured payments and refunds remain recorded. Contact Flint support before changing tax. Retrieving the order retries the check after repair, and attention changes on readable orders appear in normal order webhook events. See Tax attention after payment.
Carrier progress on an empty package returns 409 ACTION_NOT_ALLOWED with reason package_empty. Add an item and retry. You can still create an empty package and add tracking details before assigning its contents.
When you create an outbound package with status: shipped, include at least one item. If you omit items, the API returns 400 INVALID_REQUEST with detail REQUIRED. This also applies to outbound packages created inline with a shipment or fulfillment. A single-package fulfillment allocates its line items to the package automatically when you create it as shipped.
Breaking change
API
Payments
Payment intents show card country and processing fee components#
Payment intent responses now include payment_source.card.country, an ISO alpha-2 issuing country, and payment_source.card.funding: credit, debit, or prepaid. Either value is null when unavailable, including older payments without recorded metadata.
processing_fee_details lists applied {type, amount_money} components: base, international_card, manual_entry, currency_conversion, and fixed. Their amounts sum exactly to processing_fee_money, using the payment's original rounding rules. Existing payments get a breakdown when their original pricing inputs are retained. The list is omitted when the inputs or a verified fee are unavailable, and for buyer credentials and payment intent webhooks.
Payment intent webhook schemas now explicitly exclude processing_fee_details, alongside the other fee fields. Read the breakdown from GET /v1/payment-intents/{payment_intent_id}.
Payout management readiness names the payout hold#
While Stripe holds an account's payouts for verification, the manage_payout_destinations and manage_payout_settings entries in readiness.capabilities on GET /v1/merchant now report the same status, status_reason, and next_actions as receive_payouts: for example requirements_past_due with a create_merchant_account_session action, or pending_verification with wait_for_review. They used to report blocked with processing_not_enabled and contact_support, which pointed merchants at Flint when they only had to finish verification.
Once payouts are on, an account whose payout destinations or settings Flint can't manage still reports those capabilities blocked, as before. See Check readiness.
Breaking change
Readers
Delivery
Reader and delivery revocation keys are scoped to each caller#
POST /v1/readers and POST /v1/delivery-revocations now keep separate idempotency keys for each partner install. A merchant credential and a partner install sending the same key each run their own request: each registers its own reader or creates its own revocation. A retry returns the first reader or revocation without registering or fencing again. Replays to another credential require the permissions used to read the result.
Breaking: if a reader or delivery revocation recorded before this change uses the caller's raw key and Flint cannot resume its original public idempotency record, retrying returns 500 IDEMPOTENCY_RECOVERY_REQUIRED for as long as Flint retains that reader or revocation. Nothing runs again. List the merchant's readers, or read the revoked delivery method, rate callback, or Location, to check the outcome before sending a new key.
Breaking change
API
Gift-cards
Share outside-sale and import references across gift cards#
On POST /v1/gift-cards and POST /v1/gift-card-loads, an external_payment or import source can reuse its external_reference_id across several cards in the same merchant environment. Previously, each reference could fund only one card. Use a separate Idempotency-Key for each card.
Each card accepts the reference once per funding type. Retry with the original idempotency key to recover the original result.
Customer session grants control payment action credentials#
Customer sessions with an explicit capability list receive payment action credentials only with payments.create, and setup action credentials only with payment_methods.manage. This applies when an order read, an expansion, or a retained response includes active_payment_attempt.pending_actions.
Order and payment facts remain readable, including the pending status, so an assistant can ask the buyer to finish authentication elsewhere. Sessions created without capabilities keep their full access. See Limit what an assistant can do.
Breaking change
API
Checkout
Checkout credential omissions are optional in the API schema#
Breaking: 25 response fields are now optional in the OpenAPI schema. Checkout credentials already omit these fields. Generated clients must allow them to be absent, including when using the same response types for merchant requests.
The same change applies to schemas that inherit or copy these fields, including webhook schemas. Merchant responses and webhook payloads still include the fields. Field types and nullability are unchanged: an omitted field does not mean null or an empty array.
The x-flint-omitted-for-auth annotation names the credentials that omit a field. A field is optional when an operation accepting one of those credentials can return its schema, including through a nested resource or expansion. An annotation does not make a field optional in a schema that none of the named credentials can receive. For example, PaymentIntent.supported_actions, Package.supported_actions, and Customer.internal_note remain required.
If you generate a client from Flint's OpenAPI document, regenerate it to accept the omitted fields. Continue to use the annotations to determine which credentials receive each field.
Checkout sessions now return the read-only customer_account_url on reads, lists, and responses that create or update a session, including delivery selections. It is a stable link to the store's customer account, following the merchant's customer_account settings. The buyer signs in there if needed.
When building an Apple Pay sheet for a subscription, pass this URL as applePay.recurringPaymentRequest.managementURL. It is omitted when the account can't be resolved, and from checkout session webhooks. Live and sandbox sessions link to their own store account environment.
Withdrawals from your bank to cover a negative Flint balance now appear as payouts with direction: "inbound". Existing deposits have direction: "outbound". Amounts stay positive; net_money shows the signed change to your Flint balance.
GET /v1/payouts lists both directions and accepts a direction filter. Inbound payouts cannot be canceled and have no itemized contents. Their ledger rows are inbound_payout and inbound_payout_failure, with related_resource naming the payout. These replace positive payout rows that had no linked payout. Payout webhooks include the direction.
Inventory count creation, observation updates, apply, and cancel now keep separate idempotency keys for each partner install. A merchant credential and a partner install sending the same key each run their own request. Retries return the first response without repeating stock changes. Replays to another credential require the permissions used to read the result.
Breaking: if a command recorded before this change uses the caller's raw key and Flint cannot resume its original public idempotency record, retrying returns 500 IDEMPOTENCY_RECOVERY_REQUIRED for as long as Flint retains that command. Nothing runs again. Use the recovery read in remediation.next_actions to check its outcome.
Count resources continue to publish the caller's idempotency_key. Filtering GET /v1/inventory-counts by that key returns only the caller's counts plus counts recorded under raw keys before this change. Page tokens for this filter are bound to the same caller namespace.
GET /v1/inventory-levels now orders by updated_at, then inventory_level_id, both ascending. The previous order used only the level ID. Its new page token preserves the timestamp and ID returned on the previous page, so an update to the anchor level does not change where the next page starts.
Discard existing inventory-level page tokens and restart those scans without page_token. Follow each new next_page_token with the same filters. Store levels by ID and retain the newest version, since a changed level can appear again during a scan.
Level timestamps have whole-second precision. A lower-ID level changed in the cursor's second can remain behind the cursor, even if it commits before the next page request. An updated_at checkpoint is not a commit watermark. Exclude the current second from incremental windows, and consume durable inventory events or reconcile all levels without time filters during every polling sync to recover same-second omissions and delayed commits. Poll changed levels explains the guarantees, incremental windows, and reconciliation.
Breaking change
API
Inventory
Timestamped inventory counts require a physical version#
POST /v1/inventory-adjustments now requires expected_physical_version on every counted or correction line when you supply occurred_at. A missing or stale physical version returns 409 VERSION_CONFLICT at lines[i].expected_physical_version. Flint applies nothing and does not advance the source observation sequence.
Read the Flint level's physical_version before taking the count, then send that version with the observed quantities. Use 0 for a level that does not exist yet. After a conflict, read the level again and take a fresh count before retrying with a new Idempotency-Key. Updating only the version while keeping an old count can restore units that have already shipped.
source_observation_sequence orders messages from the same source, item, and Location. It does not account for stock that Flint moves after the observation. Holds and commitments do not change the physical version.
Inventory transfer creates and the depart, receive, return-to-origin, report-loss, and cancel transitions now keep separate requests for a merchant credential and each partner install sending the same idempotency key. Responses and recovery lists continue to show the key the caller sent. Transfer and inventory movement lists filtered by idempotency_key return the caller's own scoped commands plus older unscoped commands. Their page tokens belong to the same caller identity.
A retry of an older unscoped command returns 500 IDEMPOTENCY_RECOVERY_REQUIRED unless Flint can resume its original public idempotency record. Nothing runs again. Use the recovery read in remediation.next_actions to check the outcome. New scoped commands can replay after their public record expires, subject to the recorded result's read scopes.
API
Merchants
Set the business time zone during merchant signup#
POST /v1/merchant-signups accepts an optional timezone field with an IANA name such as America/Chicago. Flint keeps this choice through verification and sets it on the new merchant for reports and business dates. The signup response also includes timezone when you supplied it.
If you omit it, the first live location or a merchant update can set the business time zone.
API
Onboarding
Merchants
Set the business time zone during onboarding signup#
POST /v1/onboarding/start accepts an optional timezone field with an IANA name such as America/Chicago. After email verification, Flint sets it on a newly created merchant for reports and business dates and includes it in the returned merchant.
Existing merchants keep their time zone. If you omit timezone, the new merchant has none until a live location or a merchant update sets it.
Breaking change
API
Orders
Payments
Payment attempts use processing while Flint resolves the outcome#
Order payment attempts now return processing where they previously returned requires_retry or finalizing. This applies to attempt reads, pay responses, embedded attempts on orders and checkout sessions, and error details. Remove branches for the two retired values and wait while an attempt is processing. Flint resolves uncertain outcomes and applies settled payments without a merchant resume request. Don't start another payment for the order while an attempt is open.
Exceptional unresolved outcomes enter an internal manual_review queue for Flint operators. This is an operator-owned exception, not a caller state or a request to resume. Its public status stays processing until reconciliation concludes.
The other statuses are unchanged: requires_action, requires_capture, partially_succeeded, succeeded, failed, expired, and canceled. Continue buyer actions and capture authorizations as before. Payment attempts emit no webhook events; checkout-session webhook snapshots use the same status projection. Update webhook handlers that inspect embedded attempts. Fulfill from order.paid.
Replay a paid checkout payment with its original credential#
Retry a completed POST /v1/orders/{order_id}/pay request with its original checkout credential, Idempotency-Key, and body to recover the recorded success after the session becomes paid. The response includes Idempotency-Replayed: true and meta.idempotency_replayed: true. Merchant-key retries keep the same replay behavior.
Breaking: a new key or a changed body on a paid order returns 409 ACTION_NOT_ALLOWED with reason payment_collected and remediation.retry: "none". It names the order and its payment, replacing the previous generic terminal-status or key-reuse refusal. Read those resources to reconcile the purchase. Do not start a new checkout or submit another payment for it.
Breaking:POST /v1/payment-links/{payment_link_id}/resolve now requires type on every modifier selection, matching POST /v1/orders and order line item updates. Requests that omit type are rejected.
Use type: "catalog" with modifier_id and an optional quantity. Use type: "text" with text.modifier_group_id and text.value. Text selections do not accept quantity.
Resolve still groups the selections by the payment link's line item key:
The docs MCP and Markdown reference pages now link to typed map value schemas. read_schema also accepts an OpenAPI pointer such as /properties/modifiers/additionalProperties on ResolvePaymentLinkRequest.
API
Partner-apps
Platform support contact on consent previews and installs#
GET /v1/oauth/authorize/preview and partner app install responses now include an optional platform_contact:
The contact comes from the app's current platform_profile, so edits appear on the next read, including for revoked installs. support_email and website_url are always present inside the object; support_phone is omitted when unset. platform_contact is omitted when the app has no profile and in webhook event payloads.
Merchants receive only these three contact fields. Product and merchant descriptions, onboarding details, and volume estimates are not included. This is an additive response change and requires no new API version.
Payment-link donation_max_amount_money and adjustable line items' max_unit_price_money must be greater than zero and at least the minimum. Invalid bounds return 400 INVALID_REQUEST with an INVALID_VALUE detail naming the bound. A zero minimum remains valid. Omit the maximum when creating a link for no upper limit; send donation_max_amount_money: null to clear a donation maximum on update.
The OpenAPI minimum for platform_fee.amount_money.amount is now 1. Negative and zero amounts return the same instruction to send at least 1 minor unit. To charge no platform fee when creating a payment, omit platform_fee. Omitting it at capture preserves the existing fee. This matches the existing positive-fee requirement.
Breaking: creating or updating a payment link with a zero maximum now fails before the link can reach buyers. Platform-fee validation now rejects zero at the request schema and reports platform_fee.amount_money.amount instead of platform_fee.amount_money.
Malformed resource IDs in path parameters now return 400 INVALID_REQUEST with detail INVALID_VALUE and the parameter name. Well-formed IDs that do not exist return 404 RESOURCE_NOT_FOUND. Error messages do not repeat the submitted ID.
Request schemas now require positive amounts for catalog variant prices, payment link custom prices, and fixed promotion discounts. Order line item names have a maximum of 255 characters. Discount previews accept promotions; manual discounts are refused. Payment links continue to accept at most 44 caller-owned metadata keys.
Refusals now explain refund currency mismatches, checkout quick-pay amounts above 99999999 minor units, report intervals longer than 366 days, already closed gift cards, canceled subscriptions changing quantities, and metadata keys reserved for Flint. The underlying refund calculations and lifecycle rules are unchanged.
Malformed ticket lookup codes return 400 INVALID_REQUEST with detail INVALID_VALUE.
Applied Return resolution credits, including goodwill and price corrections, now appear in a Refund's credit_adjustment_money. This amount is part of amount_money and carries no item, shipping, tax, or tip allocation. A later return keeps the full remaining value and tax of its own goods.
Credits still use the original payments' refundable balance, including when issued as store credit. Merchant resolution previews and eligibility refund estimates now include refund_shortfall_money, zero when the full entitlement is payable. The entitlement stays unchanged; tender estimates show the payable amount. Creating or confirming a resolution with a shortfall returns 409 LIMIT_EXCEEDED with maximum_money. Add an explicit deduction or settle the shortfall outside Flint.
Automatic resolutions refuse an unfunded refund or store credit. If payment capacity disappears after confirmation, the resolution fails with refund_payment_balance_unavailable; retry is unavailable. Cancel it, then resolve the shortfall explicitly.
The itemized orders report includes refunded_credit_adjustment_money.amount and .currency, the cumulative successful credit amount as of report generation. Credits do not reduce reported sales or tax.
Breaking change
Returns
Errors
Return processing keeps separate keys for each partner install#
POST /v1/returns/{return_id}/process now treats the same idempotency key from a merchant credential and a partner install as separate requests. Replays recovered from a recorded command require the read scopes for the result and withhold one-time secrets from other credentials.
For a command recorded before this change, a retry returns 500 IDEMPOTENCY_RECOVERY_REQUIRED unless Flint can resume the caller's original idempotency record. This protection lasts as long as Flint retains the command. Nothing runs again on a refused retry. Retrieve the Return and its receipts, dispositions, and resolutions to check its outcome.
Order settlement_amounts.net_collected_money is paid_money - refunded_money - dispute_lost_money, including negative results. It previously stopped at zero. A $60.00 payment, $15.00 refund, and lost $60.00 chargeback now return −$15.00.
Store this amount as a signed integer. Order reads, expanded summaries, buyer reads, webhook objects, and order summaries in error current_resource objects use the same value. The OpenAPI field now uses SignedMoney. net_collected_money is defined separately on OrderSettlementAmounts and InvoiceSettlementAmounts because invoice net collections remain nonnegative.
Processing and dispute fees stay separate from order net collections. Subtract those fees to reconcile the balance transactions' net_money. Open disputes do not reduce order net collections until lost, and a later win removes the lost principal. Refunds and disputes do not reopen outstanding_money.
Breaking change
Subscriptions
Errors
Subscription payment retries use scoped idempotency#
A merchant credential and a partner install that send the same key to POST /v1/subscriptions/{subscription_id}/payment-retries now create separate payment retries. Two partner installs also create separate retries. Each caller's retry returns its own result without charging again. Separate requests also count separately toward the endpoint's retry limits.
If a payment retry created before this change uses the caller's raw key and Flint cannot resume its original public idempotency record, the request returns IDEMPOTENCY_RECOVERY_REQUIRED for as long as Flint retains that retry. Nothing runs again. Use the recovery read in remediation.next_actions to check the outcome.
A result recovered from the retry journal requires the subscription read scope when the caller has no original public record. The idempotency_key list filter selects the caller's retries and historical raw-key retries. Payment retry responses and webhooks continue to show the key the caller sent.
Breaking change
Subscriptions
Errors
Subscription renewals keep separate requests for each partner install#
For POST /v1/subscriptions/{subscription_id}/renew, a merchant credential and each partner install sending the same idempotency key now have separate renewal attempts. Each caller's retry recovers its own attempt.
If a renewal started before this change and Flint cannot resume its original public idempotency record, a retry returns IDEMPOTENCY_RECOVERY_REQUIRED while Flint retains its workflow or collection record. Nothing starts again. Use the recovery read in remediation.next_actions to check the subscription before deciding whether to send a new request.
A result recovered without its original public record requires the read scopes for the returned resources and omits payment client secrets. Buyer renewal requests keep their existing identities.
Breaking change
Subscriptions
Errors
Subscription plan and quantity changes use scoped idempotency#
For subscription plan changes with billing_starts: now or prorated_now, and quantity changes with billing_starts: prorated_now, a merchant credential and a partner install sending the same idempotency key each run their own request. Two installs also keep separate requests. Retrying within the same caller's namespace rejoins the original operation without starting a second collection.
If a request recorded before this change uses the original key and Flint cannot resume its owning public idempotency record, a retry returns IDEMPOTENCY_RECOVERY_REQUIRED with status 500. Nothing runs again. Follow remediation.next_actions to check the subscription and its orders before deciding whether to send another request.
A result recovered without its original public record requires the read scopes for the subscription, order, and payment attempt and withholds one-time secrets. Buyer plan and quantity changes retain their existing request identities.
Request fields named name, buyer_note, and internal_note trim surrounding whitespace before length validation. Other Unicode content is preserved. A supplied name or note cannot be blank; use null where the field supports clearing. Metadata keys and values are preserved exactly.
Webhook endpoint descriptions accept at most 500 characters on create and update. Their delivery URLs accept at most 2,048 characters. Customer internal notes accept at most 1,000 characters. Invoice memo and footer accept at most 2,048 characters, and reference and po_number accept at most 255. These limits count Unicode code points.
Invoice metadata now enforces the shared limits after merging a PATCH: 50 caller-owned keys, 256 code points per key, 4,096 code points per value, and 32,768 UTF-8 bytes in total. New email contacts require a local part of at most 64 UTF-8 bytes before @. Invalid writes return 400 INVALID_REQUEST naming the field.
Breaking change
API
Orders
Checkout
Delivery
Gift_cards
Checkout capabilities and order schemas match accepted behavior#
Order.gift_card_tender_enabled is now false when gift card purchases leave no amount eligible for gift card tender. Gift cards cannot pay for gift card purchases. Mixed orders can still use gift cards for the eligible balance.
Delivery address requirements list only countries served by methods that need that address. For example, a US-only shipment method plus pickup now lists only US for the destination address.
The Order response schema now publishes optional buyer_actions for checkout credentials on GET /v1/orders/{order_id}. Merchant responses omit the field. Order webhook types explicitly exclude it, matching their existing payloads. Regenerate SDKs to expose the field in checkout order responses.
An ACH bank return now reverses the returned amount on its invoice. paid_money and net_collected_money decrease, and outstanding_money increases. A paid invoice reopens as open when no collected payments remain, or partially_paid when other payments remain, and sends invoice.reopened.
Card chargeback losses continue to preserve gross invoice payments. Flint skips a paid receipt for a payment it already knows was returned, and a fully returned payment does not trigger a late order.paid event.