Skip to content

Payment methods

Managing payment methods in the e-shop.

Listing of payment methods

Request

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
Query
salesChannelGuidstring

Sales channel GUID. Optional parameter, if not provided, all payment methods will be returned.

Example:salesChannelGuid=0199bdfd-0979-71fb-85ce-e483c61d391b
Headers
Content-Typestringrequired
Default:"application/json"
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'

Responses

OK

Bodyapplication/json
dataobjectrequired
errorsArray of objects or null(Errors)required
metadataobject(Metadata)required
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" } }