Skip to content

Payment method deletion

Request

Deletes payment method by guid. Only payment methods related to your addon may be deleted. Private API tokens aren't currently supported.

Security
shoptetAccessToken or shoptetPrivateApiToken
Path
guidstringrequired

Payment guid

Example:93bc0dbe-7481-11e8-8216-002590dad85e
Headers
Content-Typestringrequired
Default:"application/json"
curl -i -X DELETE \
  https://api.docs.shoptet.com/_mock/shoptet-api/openapi/api/payment-methods/93bc0dbe-7481-11e8-8216-002590dad85e \
  -H 'Content-Type: application/json' \
  -H 'Shoptet-Access-Token: YOUR_API_KEY_HERE'

Responses

OK

Bodyapplication/json
dataobject or nullrequired
errorsArray of objects or null(Errors)required
metadataobject(Metadata)required
Response
{ "data": {}, "errors": [ {} ], "metadata": { "requestId": "019c8c34-64f3-7328-af43-bf1e34fa39d7" } }