FISCALISTO / API / REFERENCE
Create a test environment · Test environments
A test mode of its own for a person or a project: it's born with SAT's test issuer and an fk_test_ key (key.secret, only once) that only sees the environment's issuers, webhooks and events, and that resets only its own. It's created with an account test key (not from another environment nor limited to issuers). Up to 25 per account.
A test key (
fk_test_): this doesn't exist in production.A key for the whole account: not limited to some issuers or to a test environment.
bearerAuthAuthorizationBearer <key>Your secret key: fk_test_… in test mode, fk_live_… in production. Desarrolladores › Llaves.
Idempotency-Key?stringOptional (the SDKs send it on their own). If the response is lost, repeat the request with the same value within 24 hours: it answers the same, with idempotent-replayed: true, and doesn't do it twice (it doesn't create, send emails or charge).
1 <= length <= 255application/json- body
name*stringWho or what it's for, for example the name of the person who uses it.
1 <= length <= 60OK.
application/json- response
A sandbox: a person's own test mode, with its own issuer, keys, webhooks and events.
id*stringObject identifier, with its prefix (iss_, inv_, ret_, cus_, prd_, emp_, bat_, brn_, whs_, stm_, adj_, evt_, whe_).
object*stringWhat kind of object it is («invoice», «customer»…).
livemode*booleantrue in production (fk_live_ keys), false in test mode (fk_test_). Test objects aren't valid before the SAT.
name*stringName.
issuers*integerActive issuers in the sandbox.
-9007199254740991 <= value <= 9007199254740991issuer?|The SAT test issuer it starts with (only when created).
key?Only when created.
created_at*|When it was created, ISO 8601 with Mexico City time (-06:00).
deleted?booleanAlways true.
The sandbox couldn't be created: its name is missing or the account already has 25 (delete one you don't use).
This exists only in test mode: use your fk_test_ key.
This key belongs to a sandbox and the request is for the whole account: use the account's test key.
This key is limited to some issuers and the request touches another one (or creates one, or uses something of the whole account, like webhooks).
Plus those of any call (key, fields, limits): Errors. They all carry code, message and, when it's about a field, param.
curl -X POST 'https://api.fiscalisto.com/v1/sandboxes' \ -H 'Authorization: Bearer fk_test_…' \ -H 'Idempotency-Key: pedido-A-1042' \ -H 'Content-Type: application/json' \ -d '{ "name": "Ana"}'{ "id": "sbx_4kQm8ZtR2wLp9XbN", "object": "sandbox", "livemode": false, "name": "Ana", "issuers": 1, "created_at": "2026-10-25T09:40:00-06:00"}Was this page helpful?