curl --request POST \
--url https://api.withflex.com/v1/disputes/{dispute_id}/close \
--header 'Authorization: Bearer <token>'{
"dispute": {
"dispute_id": "<string>",
"payment_intent_id": "<string>",
"amount": 123,
"currency": "<string>",
"metadata": {},
"created_at": "<string>",
"status": "<unknown>",
"reason": "bank_cannot_process",
"is_charge_refundable": true,
"test_mode": true,
"charge_id": "<string>",
"evidence_details": {
"has_evidence": true,
"past_due": true,
"submission_count": 123,
"due_by": "<string>"
},
"balance_transactions": [
{
"balance_transaction_id": "<string>",
"amount": 123,
"fee": 123,
"net": 123,
"status": "available",
"type": "<string>",
"created_at": "<string>"
}
],
"payment_method_details": {
"type": "<string>",
"card": {
"brand": "<string>",
"network_reason_code": "<string>"
}
},
"client_reference_id": "<string>"
}
}Close a dispute, accepting the dispute and forfeiting the funds.
curl --request POST \
--url https://api.withflex.com/v1/disputes/{dispute_id}/close \
--header 'Authorization: Bearer <token>'{
"dispute": {
"dispute_id": "<string>",
"payment_intent_id": "<string>",
"amount": 123,
"currency": "<string>",
"metadata": {},
"created_at": "<string>",
"status": "<unknown>",
"reason": "bank_cannot_process",
"is_charge_refundable": true,
"test_mode": true,
"charge_id": "<string>",
"evidence_details": {
"has_evidence": true,
"past_due": true,
"submission_count": 123,
"due_by": "<string>"
},
"balance_transactions": [
{
"balance_transaction_id": "<string>",
"amount": 123,
"fee": 123,
"net": 123,
"status": "available",
"type": "<string>",
"created_at": "<string>"
}
],
"payment_method_details": {
"type": "<string>",
"card": {
"brand": "<string>",
"network_reason_code": "<string>"
}
},
"client_reference_id": "<string>"
}
}