Search Payments Information
GET/api/payments/search/{keysearch}
Headers
| Field | Type | Description |
|---|---|---|
| authtoken | String | Authentication token, generated from admin area |
Parameters
| Field | Type | Description |
|---|---|---|
| keysearch | String | Search Keywords |
curl -X GET "https://yoursite.com/api/payments/search/acme" \
-H "authtoken: YOUR_API_TOKEN" Success-Response:
HTTP/1.1 200 OK
[
{
"id": "3",
"invoiceid": "14",
"amount": "8.00",
"paymentmode": "2",
"paymentmethod": "",
"date": "2020-07-04",
"daterecorded": "2020-07-04 15:47:30",
"note": "",
"transactionid": "",
...
}
] Error-Response:
HTTP/1.1 404 Not Found
{
"paymentmode": false,
"message": "No data were found"
}