Title
Page icon
Create new category
Edit page index title
Edit category
Edit link
Delete QR Code
Overview
This endpoint is used to delete a QR code using the qr_code_id.
Endpoint Details
Definition | Description |
|---|---|
Endpoint | https://api.paas.sandbox.co.passportfintech.com/v1/qrcodes/:qr_code_id |
Method | DELETE |
Headers | Content-Type: application/json, Authorization |
Authentication | Access Token (Bearer Token) |
Request Body
This endpoint does not require a request body.
Example Request
Response
HTTP Code: 204 DELETED.
Example of Response
No response body is returned.
Common Errors and Handling
HTTP Status Code | Meaning | Description |
|---|---|---|
400 | Bad Request | Invalid parameters or malformed request |
401 | Unauthorized | Missing/expired bearer token, or token lacks scope |
403 | Forbidden | Caller does not have permission to delete QR Codes |
404 | Not Found | No QR Codes exists with the supplied id. |
500 | Server Error | Unexpected error; retry or contact support |
Best Practices
Make sure the QR code can be deleted by not starting a transaction or waiting until you receive the SETTLED status for the payment.