Simulate payment outcomes in a sandbox without a real payment processor — success, failure, pending and dispute — to test how your integration handles each. Combine with test clocks to run a whole billing cycle.
Sandbox only: a live workspace answers 403.
List test payment simulations
Returns all payment simulations for the current sandbox.
Headers
X-Workspace-IdSelects the workspace this request operates in, by workspace UUID or slug (e.g. a sandbox workspace for test integrations). Omitted: the organization's default live workspace. Unknown workspace: 404; workspace outside your organization: 403. Discover workspaces via GET /workspaces.
Workspace UUID or slug.
List test payment simulations › Responses
OK
Create a test payment simulation
Creates a new payment simulation for testing payment flows in sandbox mode.
Headers
Idempotency-KeyUnique key that makes this POST safe to retry: repeats with the same key replay the first response instead of re-executing. Replays are scoped to the retrying principal (same API key / user) and kept for 24 hours. Required on every POST.
Client-generated idempotency key (e.g. a UUID).
X-Workspace-IdSelects the workspace this request operates in, by workspace UUID or slug (e.g. a sandbox workspace for test integrations). Omitted: the organization's default live workspace. Unknown workspace: 404; workspace outside your organization: 403. Discover workspaces via GET /workspaces.
Workspace UUID or slug.
Create a test payment simulation › Request Body
outcomepayment_method_idCreate a test payment simulation › Responses
Created
Delete a test payment simulation
Permanently deletes a payment simulation.
path Parameters
idSimulation UUID
Headers
X-Workspace-IdSelects the workspace this request operates in, by workspace UUID or slug (e.g. a sandbox workspace for test integrations). Omitted: the organization's default live workspace. Unknown workspace: 404; workspace outside your organization: 403. Discover workspaces via GET /workspaces.
Workspace UUID or slug.
Delete a test payment simulation › Responses
No Content