Simulated terminals are available on sandbox accounts (
T prefix) only.Create a simulated terminal
POST /v1/accounts/{aid}/terminals
Set device_serial_number to SIMULATED-{account_id}- followed by a 3-digit number, for example SIMULATED-T12345678-001.
Request
ACTIVE immediately. You do not need to activate it.
Keep terminal_id from the response. Use it as order.store.terminal_id when you create a payment.
Create a payment
Create a terminal session with the simulated terminal’sterminal_id in order.store.terminal_id. The simulated terminal answers automatically. Set order.amount to one of the test amounts to choose the outcome.
POST /sessions-profile
Request
399.00 NOK, so the payment is approved with a Visa card.
Payment responses
A simulated terminal answers a payment automatically. The session amount decides the outcome and the card brand.Amounts are shown in major units. In the API, send them in minor units, for example
990100 for 9901.00.Refunds and terminal operations
You can refund a captured transaction from a successful simulated-terminal payment. Forseitatech.in_person refunds, include terminal_id; the simulated terminal approves automatically.
You can also send terminal operations to a simulated terminal.
The simulator does not provide failure scenarios for refunds or terminal operations, but invalid requests can still return API errors.
Find simulated terminals
Filter bydevice_model=SIMULATED:
GET /v1/accounts/{aid}/terminals
Request