Documentation/Guides/
Sandbox and test data
Two kinds of institution
As in the test and live modes of payment APIs, your test data and your real data live apart:
| Institution | Takes | Figures count |
|---|---|---|
| Production | PRODUCTION data only. A TEST, SCALE_TEST or DEMO payment, card event or CDD file is refused (400). | Its production records. |
| Sandbox | Any data classification its keys allow. | Everything it holds: it is all test data. |
Each institution has its own keys. Build and test your integration against your sandbox institution; switch to the production institution's key when you go live. An institution never goes from production to sandbox. A platform administrator of Underlayer can empty a sandbox's test data before a new round of tests (its settings, people and keys stay).
Data classifications
| Value | Use | In a sandbox |
|---|---|---|
PRODUCTION | Your real customers and payments. | Runs everything, the AI triage included. |
TEST | Integration tests. | The AI triage runs as a simulation: no AI model is called and held payments go to a person. |
DEMO | Demonstrations. | As TEST. |
SCALE_TEST | Load tests (payments and card events only). | No AI triage. |
Each key lists the classifications it may send; anything else answers 403.
EXAMPLE- references
Every example in this documentation uses references that begin EXAMPLE-, and every endpoint refuses them, so a copied example never creates data: a payment's external_transaction_id or customer_ref, or a card event's card_token, beginning EXAMPLE- (in any case) answers 400 (references beginning EXAMPLE- come from the documentation and are refused: send your own references); a CDD row's answers EXAMPLE_ROW.
{ "error": "references beginning EXAMPLE- come from the documentation and are refused: send your own references", "error_code": "EXAMPLE_ROW" }
© 2026 Underlayer, Lithuania. info@underlayer.eu System status Privacy notice