POS Payment Types
Add POS Payment Type
post /sites/{site_id}/pospaymenttypes.jsonAdd a payment type for the POS.
Site ID. (Use eshopid of the site for this parameter).
A POS payment type.
{ "paymentmethodid": 500, "name": "Gift Card", "externalid": "GIFT_CARD"}3| HTTP Status Code Summary | |
|---|---|
| 200 | Successful. Returns ID of the added POS payment type. |
| 400 | Invalid request. Data sent from client is invalid. |
| 401 | Missing or bad authentication. |
| 404 | The specified resource was not found. |
| 429 | Too Many Requests. |
| 500 | Internal Server Error. |
Get POS Payment Types
get /sites/{site_id}/pospaymenttypes.jsonReturns all POS payment types. The array returned will be sorted by the sortorder field in ascending order.
Comma separated list of fields to return. Use this to query only the fields you are using. See PosPaymentType object for all fields.
Site ID. (Use eshopid of the site for this parameter).
[ { "paymenttypeid": 1, "paymentmethodid": 100, "name": "Cash", "sortorder": 0, "externalid": "CASH" }, { "paymenttypeid": 2, "paymentmethodid": 300, "name": "External Card", "sortorder": 1 }, { "paymenttypeid": 3, "paymentmethodid": 500, "name": "Gift Card", "sortorder": 2, "externalid": "GIFT_CARD" }]| HTTP Status Code Summary | |
|---|---|
| 200 | Successful. Returns array of PosPaymentType objects. |
| 400 | Invalid request. Data sent from client is invalid. |
| 401 | Missing or bad authentication. |
| 404 | The specified resource was not found. |
| 429 | Too Many Requests. |
| 500 | Internal Server Error. |
Get POS Payment Type
get /sites/{site_id}/pospaymenttypes/{pos_payment_type_id}.jsonReturns the POS payment type for the provided ID.
Site ID. (Use eshopid of the site for this parameter).
POS Payment Type ID.
{ "paymenttypeid": 1, "paymentmethodid": 100, "name": "Cash", "sortorder": 0, "externalid": "CASH"}| HTTP Status Code Summary | |
|---|---|
| 200 | Successful. Returns the POS payment type for the provided ID. |
| 400 | Invalid request. Data sent from client is invalid. |
| 401 | Missing or bad authentication. |
| 404 | The specified resource was not found. |
| 429 | Too Many Requests. |
| 500 | Internal Server Error. |
Update POS Payment Type
put /sites/{site_id}/pospaymenttypes/{pos_payment_type_id}.jsonUpdates the POS payment type for the provided ID.
Site ID. (Use eshopid of the site for this parameter).
POS Payment Type ID.
A POS payment type.
{ "externalid": "EXT_CARD"}true| HTTP Status Code Summary | |
|---|---|
| 200 | Successful. Returns true. |
| 400 | Invalid request. Data sent from client is invalid. |
| 401 | Missing or bad authentication. |
| 404 | The specified resource was not found. |
| 429 | Too Many Requests. |
| 500 | Internal Server Error. |
Delete POS Payment Type
delete /sites/{site_id}/pospaymenttypes/{pos_payment_type_id}.jsonDeletes the POS payment type for the provided ID.
Site ID. (Use eshopid of the site for this parameter).
POS Payment Type ID.
true| HTTP Status Code Summary | |
|---|---|
| 200 | Successful. Returns true. |
| 400 | Invalid request. Data sent from client is invalid. |
| 401 | Missing or bad authentication. |
| 404 | The specified resource was not found. |
| 429 | Too Many Requests. |
| 500 | Internal Server Error. |
Objects
PosPaymentMethodinteger
100Cash110Credit Note (Deprecated. Use510for credit notes)200Card (Verifone AirPay) (Deprecated)210Card (Verifone LPP)220Card (Host2T)300Card (External)400Custom Method 5500Gift Card510Credit Note (as gift card)600Invoice610Cash on Delivery700Klarna (Deprecated - legacy v2)705Klarna710Swish711Swish with QR720MobilePay (Deprecated from March 2024)730Vipps (Deprecated from March 2024)800Vipps MobilePay1000Custom Method 11100Custom Method 21200Custom Method 31300Custom Method 41400Custom Invoice2000Custom Payment API2100Card (Adyen SDK) (Deprecated)2110Card (Adyen Terminal API)2120Card (Adyen Tap to Pay)2200Card (Nets)2300Card (Coiney) (Deprecated)2400Card (iZettle)2500Card (Softpay)2600Card (FreedomPay)3000Foreign Currency Cash
PosPaymentTypeobject
Payment type to be used in the POS
ID for the payment type in Sitoo.
Method for the payment type in Sitoo. It is not allowed to change the method of an existing payment type.
Display name for the payment type in Sitoo. The name must be unique among payment types for a site.
External ID for the payment type in Sitoo.
Zero-based index for this payment type, used for sorting. Setting the value to the same value as an already existing payment type will push the existing one down in order together with all the ones after. Setting the value to 0 will place it first. Excluding the value in a POST will place it last. The property is not required in a PUT.