Skip to main content

Overview

The Payouts API allows you to track, filter, and reconcile money movements from Flex to your Shopify store. Using these endpoints, you can fetch payout records, filter them by date ranges, and drill into the associated balance transactions.

Reconciliation

Flex provides all the data you need to reconcile payouts with your Shopify records.

How money flows:

  1. Customers transact on your Shopify store.
  2. Flex processes the payment.
  3. An order is generated in your Shopify Admin with a corresponding payment.
  4. The payment amount, minus Flex fees, is deposited into your Stripe account.
  5. Within 24–72 hours, Stripe settles the funds into your linked bank account.

Payouts Endpoints

1. Get all payouts (no filters)

Expected: List all payouts across all timeranges.

2. Filter by start_date only

Expected: Only the newer payout (created 2025-09-19)

3. Filter by end_date only

Expected: Only the older payout (created 2025-09-17)

4. Filter by date range

Expected: Only the older payout

5. With limit parameter

Expected: Only 1 payout (newest first)

6. Get specific payout by ID

Expected: Only that specific payout

7. Precise timestamp filtering

Expected: Both payouts (≥ exact timestamp)

Balance Transactions

Balance transactions provide detailed reconciliation data, including gross amounts, Flex fees, and net amounts.

Get all balance transactions

Get balance transactions for a specific payout

Filter by specific balance_transaction_id

With limit parameter

Pagination with ending_before