Getting QR Code

Requirments

  1. Download postman collection file from below

  2. Install postman

  3. Export collection file

  4. Add new environment and add variable (values can be obtain from Bill Master admin):

    1. username

    2. password

    3. client_id

    4. client_secret

Request

curl --location --request GET 'http://HOST:PORT/services/ofdms/api/ofd/status/7d11855e-76a3-433d-ad87-a81494bdbbcf' --header 'Content-Type: application/json' --header 'Authorization: Bearer eyJhbGciOiJIUzUxMiJ9.eyJsYW5nIjoidXoiLCJkZXZpY2VJZCI6IjEyNTk2OTEiLCJzdWIiOiI5OTg5MTY2Mzc3NDQiLCJhdXRoIjoiUk9MRV9GVUxMX0NMSUVOVCIsImV4cCI6MTY1NjA4NjY2MH0.yqyrbCEEYYP1Jz07WQNjxrNbkTh2_b8eeQGDqnGypGHZowAoK1tHBEERvYJTdbvdKQyGRLKespkddvX_IUw4Fw'

Response

{
  "id": 1,
  "code": 0,
  "message": "accepted",
  "terminalId": "EZ000000000031",
  "receiptId": 1,
  "fiscalSign": "311010881435",
  "qRCodeUrl": "https://ofd.soliq.uz/epi?t=EZ000000000031&r=1&c=20230321151526&s=311010881435"
}

Last updated