https://your-domain.com/api
All endpoints on this page require
Authorization: Bearer {token}.Overview
QR codes in Doss encode a user or merchant identifier as an encrypted string. When scanned, the application decodes the string to determine the QR code type (user, standard merchant, or express merchant) and routes to the appropriate payment flow.GET /get-user-qr-code
Returns the user’s active QR code secret (URL-encoded).Request parameters
The authenticated user’s ID.
Response fields
200 on success, 401 if no active QR code found.URL-encoded QR code secret string.
POST /add-or-update-user-qr-code
Generates or refreshes the QR code for the authenticated user.Request parameters
The authenticated user’s ID.
Response fields
200 on success.URL-encoded secret for the new QR code.
POST /perform-qr-code-operation
Decodes a scanned QR code and returns the merchant type and details. Use this when the user scans any QR code to determine whether it belongs to a standard or express merchant.Request parameters
The raw QR code string scanned from the device camera.
The authenticated user’s ID.
Response fields
true on success, 404 for an invalid QR code.Decoded type:
standard_merchant or express_merchant.Merchant ID decoded from the QR code.
Merchant’s default currency code.
Pre-set payment amount (standard merchant only).
Error message on failure.
POST /send-money-request-money-perform-qr-code-operation
Decodes a user QR code for use in the send money or request money flow. Returns the receiver’s email.Request parameters
The raw QR code string scanned from a user’s QR code.
The authenticated user’s ID.
Response fields
true on success, 404 on failure.user on success.The decoded receiver’s email address.
Error message on failure.