SET API (Platforms) · Sandbox
Run a sandbox scenario
POST/v1/sandbox/scenarios
Staging only. One call puts an object into an outcome your integration must handle before going live: a rejected KYB, an RFI, a deposit reviewed then refunded, a returned Cash-Out payment, a returned or undeliverable payout, a microdeposit, or a wallet that needs initiation. Every answer and event is labelled “Sandbox: simulated” (simulated: true).
Body
namestringrequiredkyb_rejected,rfi_raised,deposit_in_review_then_refunded,cash_out_payment_returned,payout_returned,payout_undeliverable,microdepositorwallet_initiation_required.objectstringrequired- The id it acts on: a customer, a virtual account or simulated deposit (
sim_dep_…), a Cash-Out Address or simulated payment (sim_drain_…), a payout, or a wallet. clearboolean- Ends
kyb_rejected,rfi_raised,microdepositorwallet_initiation_required. reasonsstring[]kyb_rejected: up to five rejection reasons. Never real personal data.amountdecimal string- Deposit and Cash-Out scenarios: at least
"1.00". amountsstring[]microdeposit: one or two amounts from"0.01"to"0.99".
Notes
kyb_rejected: the customer readsrejectedwithrejectionReasons, and creates for it answer409 verification_incomplete.rfi_raised:rfi.createdfor a stand-in RFI (sim_rfi_…) listed byGET /v1/customers/{id}/rfis; answering it withPOST /v1/rfis/{id}/responsescloses it (answers are not kept).wallet_initiation_required:GET /v1/wallets/{id}readsinitiationRequired: true, and payouts and withdrawals from it answer409 initiation_required.- In production the route answers 404. See Sandbox scenarios.
Errors
400 body_invalid400 scenario_unknown400 object_invalid400 clear_invalid400 clear_unsupported400 reasons_invalid400 amount_invalid400 amounts_invalid404 customer_unknown404 virtual_account_unknown404 deposit_unknown404 cash_out_address_unknown404 cash_out_payment_unknown404 payout_unknown404 wallet_unknown409 scenario_active409 scenario_not_active409 nothing_to_simulate409 virtual_account_inactive401 api_key_required401 api_key_invalid401 api_key_wrong_mode403 scope_missing429 rate_limited