GET
and POST
are supported.GET
, PUT
, and DELETE
are supported.A product has a number of properties, represented by fields.
The full list of supported fields is given below (mandatory fields are marked with *).
Note
Any field not listed in the table below will be ignored if occurs in an API request JSON data.
Field name | Description | Default value | Supported values |
---|---|---|---|
payment* | Payment name | — | string |
a_surcharge | Absolute surcharge | 0.000 | float |
company_id | Company ID | Default company ID | integer |
description | Payment description | ‘’ | string |
image | Payment icon | {} | See Main pair |
instructions | Payment instructions | ‘’ | string |
lang_code | Language code | en |
en ru etc.
|
localization | String of comma-separated localization IDs | ‘’ | string |
p_surcharge | Per cent surcharge | 0.000 | float |
payment_category | Payment category | tab1 |
tab1 —Credit cardtab2 —Internet paymentstab3 —Other payment options |
payment_id | Payment ID | Set automatically | integer |
position | Payment position in the payment list | 0 | integer |
processor | Payment processor name | — | One of the supported payment gateways or checkout providers
Leave empty for
Offline |
processor_id | Payment processor ID | 0 (offline) | integer |
processor_params | Processor-specific parameters | — | JSON object |
processor_type | Processor type | — | C for CheckoutP for Payment gatewayLeave empty for the
Offline processor |
status | Payment status
|
A |
A for activeD for disabledH for hidden |
surcharge_title | Surcharge title | ‘’ | string
|
tax_ids | Tax IDs | ‘’ | String of comma-separated tax IDs |
template | Payment template | views/orders/components/payments/business_check.tpl |
Valid path to a payment template |
usergroup_ids | User group IDs | ‘0’ | String of comma-separated user group IDs |
Questions & Feedback
Have any questions that weren't answered here? Need help with solving a problem in your online store? Want to report a bug in our software? Find out how to contact us.