| Action | Method | Resource | Description |
|---|
| Get all | GET | /paymethods | Get all paymethods. |
| Get | GET | /paymethods/:paymethod_id | Get paymethod with id paymethod_id. |
| Create | POST | /paymethods | Create a paymethod. |
| Update | PUT | /paymethods/:paymethod_id | Update paymethod with paymethod_id. |
| Delete | DELETE | /paymethods/:paymethod_id | Delete paymethod with paymethod_id. |
The paymethod model is composed of the following attributes:
| Attribute | Type | Required | Description | Whereable |
|---|
| name | string | no, required to create. | The paymethod's name. | Yes |
| gateway | string | no, required to create. | The paymethod's gateway. | Yes |
| enabled | boolean | no | The paymethod's status. | Yes |
🚧