Payments - Search Payments Information
GET yourdomain.com/api/payments/search/:keysearch
Header
json
Field | Type | Description |
---|---|---|
Authorization | String |
Basic Access Authentication token |
Parameter
json
Field | Type | Description |
---|---|---|
keysearch | String |
Search Keywords |
Success 200
json
Field | Type | Description |
---|---|---|
Payments | Array |
Payments information |
Error 4xx
json
Name | Type | Description |
---|---|---|
status | Boolean |
Request status |
message | String |
No data were found |
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": "",
...
}
]
HTTP/1.1 404 Not Found
{
"status": false,
"message": "No data were found"
}