FREDFRED docs

Control a test order

Advances an order in the key's sandbox or simulates an incident. No real payments, printing or shipping. Requires sandbox:simulate.

Published by FRED

POST
/v1/sandboxes/{sandbox_id}/simulations

Advances an order in the key's sandbox or simulates an incident. No real payments, printing or shipping. Requires sandbox:simulate.

Authorization

ApiKeyAuth
X-API-Key<token>

Key created in the dashboard, to be kept on your server.

In: header

Path Parameters

sandbox_id*Sandbox Id

Header Parameters

Idempotency-Key*Idempotency-Key
Length1 <= length <= 160

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

curl -X POST "https://example.com/v1/sandboxes/string/simulations" \  -H "Idempotency-Key: string" \  -H "Content-Type: application/json" \  -d '{    "order_id": "string"  }'
null

Was this page helpful?