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.
X-API-Version: 2026-01-01 header in your request to use this API version.| 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 |
type 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)Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
2026-01-01 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