List QR Codes

Overview

This endpoint gives a paginated list of all created QR codes, including details like type (STATIC / DYNAMIC), state, merchant information, and extra data (like invoice number and transaction purpose).

Endpoint Details

DefinitionDescription
Endpointhttps://api.paas.sandbox.co.passportfintech.com/v1/qrcodes
MethodGET
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: 200 OK.

Example of Response

JSON
Copy

Common Errors and Handling

HTTP Status CodeMeaningDescription
400Bad RequestInvalid parameters or malformed request
401UnauthorizedMissing/expired bearer token, or token lacks paas.core.qrcodes.list.get scope
403ForbiddenCaller does not have permission to view QR Codes
404Not FoundNo QR Codes exist for the entity
500Server ErrorUnexpected error; retry or contact support

Best Practices

  • Use pagination_info to iterate through multiple pages when many QR Codes exist.
  • Leverage type (STATIC vs DYNAMIC) to determine use cases (POS, MPOS, invoice collection).
  • Track created_at and id values for reconciliation with transaction logs.
Type to search, ESC to discard
Type to search, ESC to discard
Type to search, ESC to discard