Payment_Modes - Request Payment Modes
GET yourdomain.com/api/common/payment_mode
Header
json
Field | Type | Description |
---|---|---|
Authorization | String |
Basic Access Authentication token. |
Success 200
json
Field | Type | Description |
---|---|---|
Payment | Array |
Modes. |
Error 4xx
json
Name | Type | Description |
---|---|---|
status | Boolean |
Request status. |
message | String |
No data were found. |
HTTP/1.1 200 OK
[
{
"id": "1",
"name": "Bank",
"description": null,
"show_on_pdf": "0",
"invoices_only": "0",
"expenses_only": "0",
"selected_by_default": "1",
"active": "1"
}
]
HTTP/1.1 404 Not Found
{
"status": false,
"message": "No data were found"
}