Chargeback Search
1 min
POST
https://api.accertify.net/api/cbv1/search
acceptstringGenerated from available response content types
searchobjectThe inputs to match an existing transaction
200Transaction is found and column values returned.
400<p>Error response for requests are sent in following cases:</p>
<ol>
<li>One or more invalid or missing inputs.
<pre><code>{
"errorMessage":"Validation Failed",
"errorCode":400,
"errors":[
"One or more required fields is missing"
]
}
</code></pre>
</li>
<li>End Date is before Start Date
<pre><code>{
"errorMessage":"Validation Failed",
"errorCode":400,
"errors":[
"End Date is before Start Date"
]
}
</code></pre>
</li>
<li>Start Date or End Date is too far in the past
<pre><code>{
"errorMessage":"Validation Failed",
"errorCode":400,
"errors":[
"Start Date or End Date is too far in the past"
]
}
</code></pre>
</li>
<li>Date range exceeded.
<pre><code>{
"errorMessage":"Validation Failed",
"errorCode":400,
"errors":[
"Date range exceeded"
]
}
</code></pre>
</li>
<li>Invalid fields
<pre><code>{
"errorMessage":"Validation Failed",
"errorCode":400,
"errors":[
"Invalid fields Name = CaseInitStartDate, Value = 2022-09-31"
]
</code></pre>
</li>
</ol>
401Error response for authorization failures.
404<p>Error response for unknown API requests or no matching records.</p>
<ol>
<li>Unknown API
<pre><code>{
"errorMessage": "Unknown API",
"errorCode": 404,
"errors": []
]
}
</code></pre>
</li>
<li>No failed validations but no matching records.
<pre><code>{
"errorMessage": "No matching record found",
"errorCode": 404,
"errors": []
]
}
</code></pre>
</li>
</ol>
500Error response when we are unable to process due to internal error.
curl --request POST \
--url https://api.accertify.net/api/cbv1/search \
--header 'accept: application/json'