Submit Defense for Infraction
This endpoint allows submitting a defense for a specific infraction associated with a virtual account.
scope: infractions.write
Path parameters
virtualAccountIdstring · uuidRequiredExample:
The ID of the virtual account
01977a5b-274d-705f-a889-2b03137cb838
infractionIdstring · uuidRequiredExample:
The ID of the infraction
019764e0-4ab4-706a-b399-9c3d541689a3
Header parameters
AcceptstringOptionalExample:
application/json
Content-TypestringOptionalExample:
application/json
X-API-KeystringRequiredExample:
{{API_KEY}}
Body
defense_reasonstringRequired
Reason for the defense
additional_infostringOptional
Additional information for the defense
attachmentstring · binaryOptional
File to be attached to the defense. Accepted formats: PDF, JPG, JPEG, PNG, DOC, DOCX. Maximum file size: 2MB
Responses
200
Success
application/json
403
Forbidden
application/json
422
Validation Error
application/json
500
Internal Server Error
application/json
post
POST /banking/v1/infractions/virtual-account/{virtualAccountId}/{infractionId}/submit-defense HTTP/1.1
Host: api.aurixpay.ws
X-API-Key: text
Content-Type: multipart/form-data
Accept: */*
Content-Length: 113
{
"defense_reason": "upgrading the defense",
"additional_info": "additional information",
"attachment": "document.pdf"
}
{
"message": "Defense submitted successfully and is pending admin approval",
"defense_id": "0198ce01-61fb-72b8-b4f5-6e8e9ff45f0c",
"status": "SENT",
"created_at": "2025-08-21T19:00:53.000000Z",
"submitted_at": "2025-08-21T19:00:56.000000Z"
}