Business Paymethods Model

ActionMethodResourceDescription
Get allGET/business/:business_id/paymethodsGet all business paymethods.
GetGET/business/:business_id/paymethods/:paymethod_idGet business paymethod with id business_id and paymethod_id.
Create POST/business/:business_id/paymethodsCreate a business paymethod with business_id.
Update PUT/business/:business_id/paymethods/:paymethod_idUpdate business paymethod with business_id and paymethod_id.
Delete DELETE/business/:business_id/paymethods/:paymethod_idDelete business paymethod with business_id and paymethod_id.

The business paymethod model is composed of the following attributes:

AttributeTypeRequiredDescription
paymethod_idstringno, required to create.The business paymethod's name.
sandboxbooleanno, required to create.The business paymethod's sandbox.
datajsonno, required to create.The business paymethod's data.
data_sandboxjsonno, required to create.The business paymethod's data sandbox.
enabledbooleannoThe business paymethod's status.
maximunstringnoThe paymethod's maximun amount allowed to place order