Disputes
Submit dispute response
Submits the dispute response
⚠️ Not available for Canada accounts
The dispute response and evidence endpoints are not available for Canada accounts.
post/disputes/{id}/response
Request
- Base URLhttps://api.justifi.ai/v1
- Authnone declared. Required headers: Authorization
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
idstring uuid required
Headers
Authorizationstring required
the access_token value returned from the JustiFi oauth/token endpoint (be sure to append Bearer before the token)
Request body
Example request
{
"service_date": "2024-10-31",
"shipping_date": "2024-10-31"
}Response
Dispute response submitted
Example response
{
"id": "prefix_xyz (same as id of data object)",
"type": "dispute",
"data": {
"id": "dp_xyz",
"payment_id": "py_xyz",
"account_id": "acc_xyz",
"amount": 100,
"currency": "usd",
"reason": "fraudulent",
"due_date": "2025-02-23",
"status": "won",
"metadata": {},
"created_at": "2021-01-01T12:00:00Z",
"updated_at": "2021-01-01T12:00:00Z",
"dispute_response": {
"service_date": "2024-10-31",
"shipping_date": "2024-10-31"
},
"dispute_reversal": {
"description": "Dispute was reversed",
"created_at": "2021-01-01T12:00:00Z"
}
}
}Changes
No recorded changes to this operation across all 1 revision of this API.