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
100
Cash110
Credit Note (Deprecated. Use510
for credit notes)200
Card (Verifone AirPay)210
Card (Verifone LPP)220
Card (Host2T)300
Card (External)400
Custom Method 5500
Gift Card510
Credit Note (as gift card)600
Invoice610
Cash on Delivery700
Klarna (Deprecated - legacy v2)705
Klarna710
Swish711
Swish with QR720
MobilePay (Deprecated from March 2024)730
Vipps (Deprecated from March 2024)800
Vipps MobilePay1000
Custom Method 11100
Custom Method 21200
Custom Method 31300
Custom Method 41400
Custom Invoice2000
Custom Payment API2100
Card (Adyen SDK)2110
Card (Adyen Terminal API)2120
Card (Adyen Tap to Pay)2200
Card (Nets)2300
Card (Coiney)2400
Card (iZettle)3000
Foreign 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.