Delete QR Code

Overview

This endpoint is used to delete a QR code using the qr_code_id.

Endpoint Details

DefinitionDescription
Endpointhttps://api.paas.sandbox.co.passportfintech.com/v1/qrcodes/:qr_code_id
MethodDELETE
HeadersContent-Type: application/json, Authorization
AuthenticationAccess Token (Bearer Token)

Request Body

This endpoint does not require a request body.

Example Request

JSON
Copy

Response

  • HTTP Code: 204 DELETED.

Example of Response

  • No response body is returned.

Common Errors and Handling

HTTP Status CodeMeaningDescription
400Bad RequestInvalid parameters or malformed request
401UnauthorizedMissing/expired bearer token, or token lacks scope
403ForbiddenCaller does not have permission to delete QR Codes
404Not FoundNo QR Codes exists with the supplied id.
500Server ErrorUnexpected 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.
Type to search, ESC to discard
Type to search, ESC to discard
Type to search, ESC to discard