Skip to main content

Sandbox

The OID4Pay sandbox is the safe harbor for integration work. It runs the same code as production but is wired to Stripe testmode and resets on a weekly cadence. No production data ever crosses into sandbox; no sandbox data ever escalates to production.

Endpoints

ComponentSandbox hostProduction host
Authorization Serversandbox.oid4pay.comas.oid4pay.com
Wallet Portalsandbox-wallet.oid4pay.comwallet.oid4pay.com
Discoverysandbox-discover.oid4pay.comdiscover.oid4pay.com
CDN bundlecdn.oid4pay.com/oid4ac-merchant/v1/loader.js?env=sandboxcdn.oid4pay.com/oid4ac-merchant/v1/loader.js

Test cards

The sandbox Stripe Connect account accepts the standard Stripe testmode PaymentMethod IDs. The most useful are:

PaymentMethodCard numberBehaviour
pm_card_visa4242 4242 4242 4242Authorises and captures successfully.
pm_card_chargeDeclined4000 0000 0000 0002Declines at authorisation.
pm_card_authenticationRequired4000 0027 6000 3184Triggers 3DS step-up; exercises the wallet step-up flow.
pm_card_chargeDisputed4000 0000 0000 0259Authorises, then synthesises a dispute event (good for testing the SSF receiver and the audit chain).

Any expiry date in the future and any 3-digit CVC are accepted. The full list of testmode cards is at the Stripe documentation; OID4Pay does not intercept testmode card numbers.

Rate limits

EndpointLimit
POST /oauth/par60 requests per minute per client
POST /oauth/token60 requests per minute per client
POST /oauth/register30 registrations per hour per IP
POST /merchant_test/verify-mandate120 verifications per minute per merchant
POST /merchant_test/charge100 charges per hour per client (sandbox-only cap)
GET /oauth/status-list10 requests per minute per IP (cache normally; this is the fallback ceiling)

Reset cadence

The sandbox AS Postgres is wiped every Sunday at 02:00 UTC. Registered clients, issued mandates, and pending charges all clear. Plan your integration tests around the reset; the wipe is announced in advance on the changelog.

SSF event delivery

Sandbox SSF events are delivered to your registered receiver URL the same way as production. The sandbox synthesises rare events (disputes, refresh replays, mandate revocations) on a deterministic schedule:

What is identical to production

What differs from production

Getting access

Sandbox is open. Register your first agent through POST /oauth/register on sandbox.oid4pay.com; no email allow-list. Production access requires the production-onboarding form linked from the support page.