Get Disputes
Changed onLists the shop's payment disputes. Requires the Scale plan.
Request
- Base URLhttps://api.sellauth.com
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Request body
Example request
{
"page": 1
}Response
Example response
{
"current_page": 1,
"data": [
{
"id": 1,
"shop_id": 1,
"invoice_id": 1,
"payment_id": null,
"payment_method_id": null,
"gateway": "STRIPE",
"gateway_dispute_id": "du_1QExampleDispute",
"gateway_payment_ref": "pi_3QExamplePaymentIntent",
"stage": "chargeback",
"status": "needs_response",
"is_final": false,
"funds_status": "withdrawn",
"reason": "fraudulent",
"contestable": true,
"gateway_status": "needs_response",
"gateway_substatus": null,
"gateway_reason": "fraudulent",
"network_reason_code": "10.4",
"card_brand": "visa",
"amount": "14.99",
"currency": "USD",
"amount_usd": "14.99",
"fee": "15.00",
"fee_currency": "USD",
"fee_usd": "15.00",
"is_partial": false,
"evidence_due_at": "2026-11-03T20:00:52.000000Z",
"opened_at": "2026-11-01T20:00:52.000000Z",
"responded_at": null,
"closed_at": null,
"gateway_updated_at": "2026-11-01T20:00:52.000000Z",
"gateway_version": null,
"fetched": true,
"invoice_status_before": null,
"invoice_flipped_at": null,
"livemode": true,
"created_at": "2026-11-01T20:00:52.000000Z",
"updated_at": "2026-11-01T20:00:52.000000Z",
"invoice": {
"id": 1,
"salt": "667e99ffee7e5",
"email": "customer@sellauth.test",
"price": "14.99",
"currency": "USD",
"status": "completed",
"gateway": "STRIPE",
"unique_id": "667e99ffee7e5-0000000000001"
}
}
],
"first_page_url": "http://api.sellauth.test/v1/shops/1/disputes?page=1",
"from": 1,
"last_page": 1,
"last_page_url": "http://api.sellauth.test/v1/shops/1/disputes?page=1",
"links": [
{
"url": null,
"label": "« Previous",
"page": null,
"active": false
},
{
"url": "http://api.sellauth.test/v1/shops/1/disputes?page=1",
"label": "1",
"page": 1,
"active": true
},
{
"url": null,
"label": "Next »",
"page": null,
"active": false
}
],
"next_page_url": null,
"path": "http://api.sellauth.test/v1/shops/1/disputes",
"per_page": 20,
"prev_page_url": null,
"to": 1,
"total": 1
}Changes
- breaking
request property
/was restricted to a list of enum values - breaking
the response property
//became nullable for the status - breaking
the response property
//became nullable for the status - breaking
the response property
//became nullable for the status - breaking
the response property
//became nullable for the status - breaking
the response property
//became nullable for the status - breaking
the response property
//became nullable for the status - breaking
the response property
//became nullable for the status - breaking
the response property
//became nullable for the status - breaking
the response property
//became nullable for the status - breaking
the response property
became nullable for the status - breaking
the response property
became nullable for the status - info
the request property
became nullable - info
the request property
became nullable - info
the request property
became nullable - info
the request property
became nullable - info
the request property
became nullable - info
the request property
became nullable - info
the request property
became nullable - info
the request property
became nullable - info
the request property
became nullable - info
the request property
became nullable - info
the request property
became nullable - info
added the new
acceptedenum value to the request property/ - info
added the new
canceledenum value to the request property/ - info
added the new
closedenum value to the request property/ - info
added the new
expiredenum value to the request property/ - info
added the new
lostenum value to the request property/ - info
added the new
needs_responseenum value to the request property/ - info
added the new
preventedenum value to the request property/ - info
added the new
under_reviewenum value to the request property/ - info
added the new
wonenum value to the request property/ - info
added the optional property
//to the response with the status
- breaking
- info
endpoint added
- info