Skip to content

Transactions

Updated: Feb 10, 2026

As a seller, you can use the Payouts endpoint to access the payout history for your store (with limited details about those payouts). To access more detailed information about a specific payout, see the Transactions endpoint.

Query the Payouts endpoint using payout_reference_id to obtain information, such as which orders were included in a given payout, whether the payout was a sale or a refund, and tax details. See also GPT to Facebook Tax Category Mappings.

Below is an example request to get all transactions and their order details for the month of June.

We recommend to pull transactions few days before the payout date and until the payout date. For the July example, pull orders from middle of June until end of July. It might take a few more days after you received the payout to get updates from our payment provider. Allow up to 3 business days.

curl -X GET -G \
  -d 'payout_reference_id="FBMP123123"' \
  -d 'start_time=1557878400' \
  -d 'end_time=1598867200' \
  -d 'fields="transaction_type,transaction_date,order_details,transfer_id,processing_fee,net_payment_amount,tax_rate,payout_reference_id"' \
  -d 'access_token=<ACCESS_TOKEN>' \
https://graph.facebook.com/v25.0/<PAGE_ID>/commerce_transactions

Request

AttributeTypeDescription
payout_reference_idstringReference ID associated with a payout.
start_timeUnix Timestamp⁠Starting time period for orders returned.
end_timeUnix Timestamp⁠Ending time period for orders returned.
fieldsReturns specified fields: transaction_type, transaction_date, order_details, transfer_id, processing_fee, net_payment_amount, tax_rate, payout_reference_id. See transaction_detail for details.

Response

AttributeTypeDescription
dataarray of transaction_detailTransaction details.

transaction_detail object

AttributeTypeDescription
itemsarray of order_itemsArray of order_items.
transaction_typestringType of transaction. Supported values: SALE or REFUND.
transaction_datestringOrder last update time in ISO 8601 format⁠.
order_detailsOrder objectDetails about this order.
transfer_idstringThe ID of the transfer.
processing_feecurrency_amountProcessing fee.
net_payment_amountcurrency_amountNet payment amount.
tax_ratestringPercentage tax rate.
tax_detailsarray of tax_detailsTax details. See also GPT to Facebook Tax Category Mappings.
payout_reference_idstringThe reference ID associated with this payout.

order_items object

AttributeTypeDescription
order_itemsarrayArray of order items that includes the following fields: * id — Retailer product ID * product_id — Facebook product ID * product_name — Facebook product name. * quantity — Quantity of this product. * price_per_unit — See currency_amount * tax_details — See tax_detail_object and GPT to Facebook Tax Category Mappings. * selected_shipping_option — See selected_shipping_option

tax_details object

AttributeTypeDescription
dataarray of tax_detailSee item_tax_details and GPT to Facebook Tax Category Mappings.

tax_detail object

AttributeTypeDescription
tax_categorystringFacebook tax category. See also GPT to Facebook Tax Category Mappings.
jurisdictionstringJurisdiction for this tax item; for example, estate, city, finance authority, and so on.
impositionstringImposed tax; for example: Sales and Use Tax.
item_tax_ratestringTax rate for item. See also GPT to Facebook Tax Category Mappings.
item_tax_amountcurrency_amountTax amount for item. See also GPT to Facebook Tax Category Mappings.

currency_amount object

AttributeTypeDescription
amountstringAmount in decimal format. Example: 4.99
currencystringThree digit ISO-4217-3 code for the purchase. Format the currency as a number, followed by the 3-digit ISO currency code (ISO 4217 standards)⁠, with a space between cost and currency. Example: USD

selected_shipping_option object

AttributeTypeDescription
namestringHuman readable name of the shipping option.
pricecurrency_amountShipping cost.
calculated_taxcurrency_amountShipping tax amount. This amount is updated as the order is fulfilled, you can do additional API calls to update this amount.
estimated_shipping_timeestimated_shipping_timeEstimated shipping time

Sample Response

{  
  "data": [  
    {  
      "transaction_type": "REFUND",  
      "transaction_date": "2019-09-06T19:56:53+00:00",  
      "order_details": {  
        "id": "420069168636230",  
        "order_status": {  
          "state": "COMPLETED"  
        },  
        "created": "2019-08-27T21:08:42+00:00",  
        "last_updated": "2019-09-06T19:56:56+00:00"  
      },  
      "processing_fee": {  
        "amount": "0.00",  
        "currency": "USD"  
      },  
      "net_payment_amount": {  
        "amount": "-0.40",  
        "currency": "USD"  
      },  
      "tax_rate": "0%;0%"  
    },  
    {  
      "transaction_type": "REFUND",  
      "transaction_date": "2019-09-06T19:56:53+00:00",  
      "order_details": {  
        "id": "420069168636230",  
        "order_status": {  
          "state": "COMPLETED"  
        },  
        "created": "2019-08-27T21:08:42+00:00",  
        "last_updated": "2019-09-06T19:56:56+00:00"  
      },  
      "processing_fee": {  
        "amount": "0.00",  
        "currency": "USD"  
      },  
      "net_payment_amount": {  
        "amount": "-0.11",  
        "currency": "USD"  
      },  
      "tax_rate": "0%;0%"  
    },  
  ],  
  "paging": {  
    "cursors": {  
      "before": "MAZDZD",  
      "after": "MTgZD"  
    }  
  }  
}

Unofficial mirror for reference/search purposes. All content originates from developers.facebook.com — see the source link at the top of each page. Machine-readable indexes: llms.txt · llms-full.txt · About