Title
Page icon
Create new category
Edit page index title
Edit category
Edit link
Retrieve QR Code
Overview
This endpoint retrieves detailed information about a specific QR Code by its unique identifier. It provides metadata such as payment amount, merchant details, QR Code payload, image, and configuration attributes.
Endpoint Details
Definition | Description |
|---|---|
Endpoint | https://api.paas.sandbox.co.passportfintech.com/v1/qrcodes/:qr_code_id |
Method | GET |
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 Status Code: 200 OK.
Example of Response
Common Errors and Handling
HTTP Status Code | Meaning | Description |
|---|---|---|
400 | Bad Request | Malformed |
401 | Unauthorized | Missing/expired bearer token, or token lacks |
403 | Forbidden | Caller not permitted to retrieve this QR Code |
404 | Not Found | QR Code with the given |
500 | Server Error | Unexpected error; retry or contact support |
Best Practices
Use
qr_code_image(Base64) when embedding in mobile apps or web UIs; decode it into a PNG/JPEG for rendering.Pair this with Cancel QR Code (DELETE /qrcodes/{id}) to revoke compromised or unused QR Codes.