Skip to main content
POST
Create Platform Transaction

Platform Transactions Endpoint (2026-03-01)

Convert a platform calculation into recorded transactions for tax reporting and filing purposes.
Remember to include the X-API-Version: 2026-03-01 header in your request to use this API version.

How Platform Transactions Work

When you create a platform transaction from a platform calculation, the number of transactions created depends on your platform role:

Payment Processor Behavior

Payment processors (like Stripe) receive two separate transactions:
  1. Order Transaction - Records the merchant’s sale with taxes calculated on the order items
  2. Fee Transaction - Records the platform fee with applicable taxes
This separation allows for proper tax reporting where the platform fee tax liability may differ from the order tax liability.

Marketplace Provider / Merchant of Record Behavior

Marketplace providers and merchants of record receive a single transaction that includes all order items. Fee taxes (if calculated) are included in the same transaction.

Transaction Types

The type field in each transaction indicates what it represents:
  • order - A transaction for the actual sale/order
  • fee - A transaction specifically for platform fees (payment processors only)

Example Workflow

Response Structure

The response is always a list containing one or more transactions:

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Headers

X-API-Version
enum<string>
required
Available options:
2026-01-01

Body

application/json

Request body for creating transactions from a platform calculation

platform_calculation_id
string
required

The ID of the platform calculation to convert to transactions

reference_order_id
string
required

Your unique identifier for this order

reference_payment_id
string

Your unique identifier for the payment (optional)

transaction_processed_at
number

Unix timestamp when the transaction was processed

Response

Platform transaction list response

Response containing the list of created transactions. Payment processors receive two transactions (order + fee), while marketplace providers and merchants of record receive one.

object
string
Example:

"list"

transactions
object[]