Using the sandbox environment for testing

Configuration2026-07-01

Goal

Make test requests to the POP API without consuming account credits.

Prerequisites

Steps

You can activate the sandbox in two equivalent ways:

  1. Explicit parameter — send "environment": "sandbox" in the body to https://popapi.io/wp-json/api/v2/....
  2. Sandbox gateway — call https://sandbox.popapi.io/wp-json/api/v2/... without specifying environment: the gateway forces it automatically. If you still send an explicit environment, that one takes priority.

All document-generation routes (SdI, PEPPOL, KSeF, PDF, ZUGFeRD, legacy Facturae) accept environment: sandbox.

Verify

Common errors

See api/sdi and the other api/* pages for the specific behavior of each route in sandbox.