Simulation
Simulate Order Status Update
Changed onSimulates a status transition for an existing order in the sandbox environment. The status update is processed asynchronously and triggers the corresponding webhooks for the target status.
post/v3/simulation/order
Request
- Base URLhttps://sandbox-api.transfi.com
- AuthHTTP basic
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Headers
MIDstring required
Merchant or sub-merchant MID
Request body
Example request
{
"orderId": "OR-2603130504320558904",
"status": "fund_settled",
"errorCode": "PAYMENT_NOT_COMPLETED",
"mockRefund": true
}Response
Order status update accepted for processing
Changes
- info
added the new optional request property
- info