Create Platform Transaction
Platform
Create Platform Transactions
Record completed sales from a platform calculation. For payment processors, this creates two transactions: one for the order and one for the fee. For marketplace providers or merchants of record, only the order transaction is created.
POST
Create Platform Transaction
Documentation Index
Fetch the complete documentation index at: https://docs.numeral.com/llms.txt
Use this file to discover all available pages before exploring further.
Platform Transactions Endpoint (2026-01-01)
Convert a platform calculation into recorded transactions for tax reporting and filing purposes.Remember to include the
X-API-Version: 2026-01-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:| Platform Role | Order Transaction | Fee Transaction |
|---|---|---|
payment_processor | Created with client_role: ["payment_processor"] | Created separately with client_role: [] |
marketplace_provider | Created with client_role: ["marketplace_provider"] | No separate fee transaction |
merchant_of_record | Created with client_role: ["merchant_of_record"] | No separate fee transaction |
Payment Processor Behavior
Payment processors (like Stripe) receive two separate transactions:- Order Transaction - Records the merchant’s sale with taxes calculated on the order items
- Fee Transaction - Records the platform fee with applicable taxes
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
Thetype field in each transaction indicates what it represents:
order- A transaction for the actual sale/orderfee- 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
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Headers
Available options:
2026-01-01 Body
application/json
Request body for creating transactions from a platform calculation
The ID of the platform calculation to convert to transactions
Your unique identifier for this order
Your unique identifier for the payment (optional)
Unix timestamp when the transaction was processed