Action | Method | Resource | Description |
---|
Get all | GET | /business/:business_id/paymethods | Get all business paymethods. |
Get | GET | /business/:business_id/paymethods/:paymethod_id | Get business paymethod with id business_id and paymethod_id . |
Create | POST | /business/:business_id/paymethods | Create a business paymethod with business_id . |
Update | PUT | /business/:business_id/paymethods/:paymethod_id | Update business paymethod with business_id and paymethod_id . |
Delete | DELETE | /business/:business_id/paymethods/:paymethod_id | Delete business paymethod with business_id and paymethod_id . |
The business paymethod model is composed of the following attributes:
Attribute | Type | Required | Description |
---|
paymethod_id | string | no, required to create. | The business paymethod's name. |
sandbox | boolean | no, required to create. | The business paymethod's sandbox. |
data | json | no, required to create. | The business paymethod's data. |
data_sandbox | json | no, required to create. | The business paymethod's data sandbox. |
enabled | boolean | no | The business paymethod's status. |
maximun | string | no | The paymethod's maximun amount allowed to place order |