API Endpoint
Description
This API endpoint allows you to create a dispute on Casap. The dispute will be identified by a unique identifier generated by Casap. This UUID will be returned in the response. The created dispute can be viewed in the "Dispute Detail" page on Casap, or it can be accessed at https://disputes-sandbox.casaphq.com/dispute/
Headers
Header | Description | Required |
---|---|---|
x-api-key | The API key for authentication | Yes |
x-api-secret | The API secret for authentication | Yes |
x-user-uuid | The UUID of the user creating the dispute | Yes |
x-org-uuid | The UUID of the user creating the dispute | Yes |
Content-Type | The format of the request payload (should be JSON) | No |
Authentication
The /api/dispute endpoint requires authentication to ensure secure access.
API Key and Secret
API key and secret must be included in the request headers (X-API-Key and X-API-Secret). These values are generated and provided by the server administrator.
User Authentication
The UUID of the user creating the dispute must be included in the X-User-UUID header. This ensures that only authorized users can create disputes on behalf of their account. The org UUID must also be provided in the header for authentication purposes