The endpoint returns the listing of all available payment methods and details about their settings. Paging is not used, it always returns all methods at once.
Security
shoptetAccessToken or shoptetPrivateApiToken
- Mock serverhttps://api.docs.shoptet.com/_mock/shoptet-api/openapi/api/payment-methods
- https://api.myshoptet.comhttps://api.myshoptet.com/api/payment-methods
- shoptetAccessToken
- shoptetPrivateApiToken
curl -i -X GET \
'https://api.docs.shoptet.com/_mock/shoptet-api/openapi/api/payment-methods?salesChannelGuid=0199bdfd-0979-71fb-85ce-e483c61d391b' \
-H 'Content-Type: application/json' \
-H 'Shoptet-Access-Token: YOUR_API_KEY_HERE'Response
{ "data": { "paymentMethods": [ … ], "wholesaleActive": true, "wholesaleSplitActive": true, "defaultRetailMethod": "6df78fa2-05b0-11e9-925b-0800273dc42e", "defaultWholesaleMethod": "b57f91bb-e920-11e0-baa3-7dc668b75ca8" }, "errors": [ { … } ], "metadata": { "requestId": "019c8c34-64f3-7328-af43-bf1e34fa39d7" } }