Payment status update via the payment gateway. The paymentCode is the identifier. Payment status can be updated when the payment has been successfully recorded.
Please note that message can not be longer than 255 characters.
Security
shoptetAccessToken or shoptetPrivateApiToken
- Mock serverhttps://api.docs.shoptet.com/_mock/shoptet-api/openapi/api/payment-status/{paymentCode}
- https://api.myshoptet.comhttps://api.myshoptet.com/api/payment-status/{paymentCode}
- shoptetAccessToken
- shoptetPrivateApiToken
curl -i -X PATCH \
'https://api.docs.shoptet.com/_mock/shoptet-api/openapi/api/payment-status/os8FtURz7PpO46Z87euEAoBAn9RClB2d?suppressDocumentGeneration=true&suppressEmailSending=true' \
-H 'Content-Type: application/json' \
-H 'Shoptet-Access-Token: YOUR_API_KEY_HERE' \
-d '{
"data": {
"status": "OK",
"message": "Not enough finances on the card"
}
}'Response
{ "data": {}, "errors": [ { … } ], "metadata": { "requestId": "019c8c34-64f3-7328-af43-bf1e34fa39d7" } }