Can't able to render PNG ABHA Card by getting V3 APIs

Hai @Integrationsupport, Hope you are doing well,
Got a successful response from the below API, But it gives the PNG Encoded string as response, which is shown in the attached image.


We can’t able to render that response in the screen, In V1 API demonstration We got ABHA PNG Card as Xml code, But In V3 scenario we got response as PNG Encoded format. Are we missing anything? Like decoding process… And It is not properly mentioned in the v3_M1 documentation. That’s why we rising the query. We have almost done our M1 implementation, this is the pending one. So, urgent action is matter. Thank you.

curl --location ‘https://abhasbx.abdm.gov.in/abha/api/v3/profile/account/abha-card
–header ‘X-Token’: "Bearer " + eyJhbGciOiJSUzI1Ni…,
–header ‘REQUEST-ID: 470e0524-c9d4-4140-8e03-315e5c9fdc9e’
–header ‘TIMESTAMP: 2023-12-06’’‘T’’‘12:24:16.874’’’+05:30’’’’
–header ‘Authorization: Bearer eyJhbGciOiJSUzI1Ni…’
–header ‘Content-Type: application/json’
–data ‘’

can you help me where you found the v3 APIs, and if you have any postman collection of V3 apis, can you share that with us, it would help us in moving faster

1 Like

Hi Phaneendhar,
Refer this for v3 documentation - https://sandbox.abdm.gov.in/abdm-docs/ABDM_M3_V1

Hi
Are you using v3 or v1 for card?

@ayadav33
previously we used v1, now we have migrated to v3,
just the uri was updated nothing else

@ayadav33, one more thing, are you guys using the v1 or v3 for the ABHA Address creation and verification. if you are using the v3, can you share the API for V3 ???