Endpoint
POST /clients/business/disputes
Request body
The ID of the transaction you are disputing.
A clear explanation of the issue with the transaction.
Response
Confirmation message, e.g. "Dispute created successfully".
Code examples
curl -X POST https://sandbox.stellasbank.com/api/v1/clients/business/disputes \
-H "Authorization: Bearer YOUR_ACCESS_TOKEN" \
-H "SECRET_KEY: YOUR_SECRET_KEY" \
-H "businessId: YOUR_BUSINESS_ID" \
-H "Content-Type: application/json" \
-d '{
"transactionId": "txn_abc001",
"description": "Amount charged does not match the agreed amount for this transaction."
}'
Example response
{
"status": true,
"message": "Dispute created successfully"
}