Skip to main content

Endpoint

POST /clients/business/disputes

Headers

Authorization
string
required
Bearer YOUR_ACCESS_TOKEN
SECRET_KEY
string
required
Your API secret key.
businessId
string
required
Your business ID.

Request body

transactionId
string
required
The ID of the transaction you are disputing.
description
string
required
A clear explanation of the issue with the transaction.

Response

status
boolean
true on success.
message
string
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"
}