Environments

Casap runs the Disputes API in two environments you can reach. Each one has its own host and its own credentials. A token issued for one does not work in the other.

Environment Base URL
Sandbox https://api-sandbox.casaphq.com
Production https://api.casaphq.com

Every path in the API reference is relative to the base URL and starts with /v1. Create Dispute in sandbox is:

POST https://api-sandbox.casaphq.com/v1/disputes

Which one to build against

Sandbox is the environment to build against. It holds test customers and test transactions, and it is isolated from production data.

Production is live. Disputes created there are real.

Credentials

Casap issues a separate organization UUID and secret per environment. See Authentication for how to turn them into a bearer token.

Webhook endpoints and their signing secrets are also per environment. See Getting set up.