Disputes
Get Dispute Stats
Counts and amounts for the project's disputes: open, won, lost, and the last 30 days and 12 months.
Authorization
Authorization AuthorizationBearer <token>
In: header
Path Parameters
projectIdrequiredstring
ID of the project.
Response Body
application/json
application/json
application/json
application/json
application/json
application/json
curl -X GET "https://www.saasco.com/api/v2/projects/string/dispute-stats"{
"amountDisputedLast12moCents": -9007199254740991,
"amountDisputedLast30dCents": -9007199254740991,
"countLast12mo": -9007199254740991,
"countLast30d": -9007199254740991,
"lost": -9007199254740991,
"pending": -9007199254740991,
"total": -9007199254740991,
"totalAmountDisputedCents": -9007199254740991,
"won": -9007199254740991
}{
"code": "BAD_REQUEST",
"message": "Invalid input data",
"issues": []
}{
"code": "UNAUTHORIZED",
"message": "Authorization not provided",
"issues": []
}{
"code": "FORBIDDEN",
"message": "Insufficient access",
"issues": []
}{
"code": "NOT_FOUND",
"message": "Not found",
"issues": []
}{
"code": "INTERNAL_SERVER_ERROR",
"message": "Internal server error",
"issues": []
}