@shubham_1745,
Please check the below logs and use the below APIs because its working fine for my ABHA Id(Patient_Id).
–> POST https://dev.ndhm.gov.in/cm/patients/verify-pin
Content-Length: 93
Content-Type: application/json
X-AUTH-TOKEN: Bearer eyJhbGciOiJSUzUxMiJ9.eyJzdWIiOiJnYW5hcGF0aHlwODVAc2J4IiwiY2xpZW50SWQiOiJURVNUX1BIUiIsInN5c3RlbSI6IkFCSEEtQSIsInJlcXVlc3RlcklkIjoiUEhSLVdFQiIsInBock1vYmlsZSI6bnVsbCwiZXhwIjoxNjcxNjIzNzUxLCJpYXQiOjE2NzE2MTY1NTEsInBockFkZHJlc3MiOiJnYW5hcGF0aHlwODVAc2J4IiwidHhuSWQiOiI5MTEyN2I1YS1mYzIyLTRkMmMtYmNiYi1iNmM5MDE0YzJiZmYifQ.mVBuprXg7j9ujxCoZ-aqAEUoRUfOZGGEXhbhHgkXsRA0CSXioFNITnsptcNyzMFmplAuMjBKrXRs9KemqQhRNxJbSJRxYPbddYjwTTAcOWNEAyHflcX-WP9juw6-SKO6R7wwfIafc4HlMyJNSCplGE1_eCInZX5waMwYmCQ0pzrPLjO4kPAe0q-fZaPECiiJbeqgzX7xo1Z01VPM0VVF4C3q5jwWEutNZbSPi1J8z_9RG7LRyjJecIEDSDSzgqNi5lUN1W2Zsxg86Wu6uQrKMm0svQd6jWUZjn_6ibi2UgZl5S7viTOLPU6N2-el1BYfbnuvT_CeAW5YM9vGrzuGRg
{“pin”:“3009”,“requestId”:“eed5c2c8-8c4b-4aa6-9402-d4de8e726e19”,“scope”:“profile.changepin”}
–> END POST (93-byte body)
<-- 200 OK https://dev.ndhm.gov.in/cm/patients/verify-pin (655ms)
correlation-id: 9b2b549d-88b6-480a-a17a-fd2c2ea52d22
content-type: application/json
content-length: 563
cache-control: no-cache, no-store, max-age=0, must-revalidate
pragma: no-cache
expires: 0
x-content-type-options: nosniff
strict-transport-security: max-age=31536000 ; includeSubDomains
x-frame-options: DENY
x-xss-protection: 1 ; mode=block
referrer-policy: no-referrer
x-envoy-upstream-service-time: 223
date: Wed, 21 Dec 2022 09:57:34 GMT
Set-Cookie: TS01960242=01445fed04ea33c2bb21cd53c50239f11cbf19fcb0f412ab72ced6702b0f55441035747a7083793429841ebc4fe3ce7c032c4d74b0; Path=/
{“temporaryToken”:“eyJhbGciOiJSUzUxMiJ9.eyJzdWIiOiJnYW5hcGF0aHlwODVAc2J4IiwiZXhwIjoxNjcxNjE2Nzc0LCJpYXQiOjE2NzE2MTY2NTQsInNpZCI6ImUwMDY4MzE4LWVmMjctNDIyNC1hMmYxLTEyODQ5ZGI0OThkMCIsInNjb3BlIjoicHJvZmlsZS5jaGFuZ2VwaW4ifQ.izeoQrx4o39s-SH-ELTSmt_hG7CNYvohHa8QJ-b5YWfyyI4fq-DvVX5raDF-8-yEZ6y5BwgzEcTCwhnWIAn9K36zrwYu1z3HpCPa3jhlPdYcQgoYWPvQx3O3xA-vk77lYxheWkit5W-p6M5-aIA665yPBaKUeyWYQ-sdOfyrWT3zEoElpnVKXE326zhF0mqKGprHY-mSKoHgUyl4V66uRRP7MuiMU-EUZsnQ7f4Gwfw4ROmXZ6ygkNhsQZ7sry_xcMiMtLDpyOIf9OdVNJAkAbtenjfxwAgnKl-KvsSfe0vCxbI6GxOj5O_S2RpGSfkEDL0rauKpNtkvrQdaylCfIg”}
<-- END HTTP (563-byte body)
–> POST https://dev.ndhm.gov.in/cm/patients/change-pin
Content-Length: 14
X-AUTH-TOKEN: eyJhbGciOiJSUzUxMiJ9.eyJzdWIiOiJnYW5hcGF0aHlwODVAc2J4IiwiZXhwIjoxNjcxNjE2Nzc0LCJpYXQiOjE2NzE2MTY2NTQsInNpZCI6ImUwMDY4MzE4LWVmMjctNDIyNC1hMmYxLTEyODQ5ZGI0OThkMCIsInNjb3BlIjoicHJvZmlsZS5jaGFuZ2VwaW4ifQ.izeoQrx4o39s-SH-ELTSmt_hG7CNYvohHa8QJ-b5YWfyyI4fq-DvVX5raDF-8-yEZ6y5BwgzEcTCwhnWIAn9K36zrwYu1z3HpCPa3jhlPdYcQgoYWPvQx3O3xA-vk77lYxheWkit5W-p6M5-aIA665yPBaKUeyWYQ-sdOfyrWT3zEoElpnVKXE326zhF0mqKGprHY-mSKoHgUyl4V66uRRP7MuiMU-EUZsnQ7f4Gwfw4ROmXZ6ygkNhsQZ7sry_xcMiMtLDpyOIf9OdVNJAkAbtenjfxwAgnKl-KvsSfe0vCxbI6GxOj5O_S2RpGSfkEDL0rauKpNtkvrQdaylCfIg
Content-Type: application/json
{“pin”:“4678”}
–> END POST (14-byte body)
<-- 200 OK https://dev.ndhm.gov.in/cm/patients/change-pin (687ms)
correlation-id: 113508df-9150-41e9-8368-6b3565fa2d4b
cache-control: no-cache, no-store, max-age=0, must-revalidate
pragma: no-cache
expires: 0
x-content-type-options: nosniff
strict-transport-security: max-age=31536000 ; includeSubDomains
x-frame-options: DENY
x-xss-protection: 1 ; mode=block
referrer-policy: no-referrer
content-length: 0
x-envoy-upstream-service-time: 147
date: Wed, 21 Dec 2022 09:58:08 GMT
Set-Cookie: TS01960242=01445fed04905ed81d7140ee234c375859bd80c2b8b3ac0ce0c283264207fd70fa4c0eece28b66b512213b2a25e687485a226383d7; Path=/
<-- END HTTP (0-byte body)
Activity_launch_request id:in.ndhm.phr.debug time:41324051
–> POST https://dev.ndhm.gov.in/cm/patients/verify-pin
Content-Length: 98
Content-Type: application/json
X-AUTH-TOKEN: Bearer eyJhbGciOiJSUzUxMiJ9.eyJzdWIiOiJnYW5hcGF0aHlwODVAc2J4IiwiY2xpZW50SWQiOiJURVNUX1BIUiIsInN5c3RlbSI6IkFCSEEtQSIsInJlcXVlc3RlcklkIjoiUEhSLVdFQiIsInBock1vYmlsZSI6bnVsbCwiZXhwIjoxNjcxNjIzNzUxLCJpYXQiOjE2NzE2MTY1NTEsInBockFkZHJlc3MiOiJnYW5hcGF0aHlwODVAc2J4IiwidHhuSWQiOiI5MTEyN2I1YS1mYzIyLTRkMmMtYmNiYi1iNmM5MDE0YzJiZmYifQ.mVBuprXg7j9ujxCoZ-aqAEUoRUfOZGGEXhbhHgkXsRA0CSXioFNITnsptcNyzMFmplAuMjBKrXRs9KemqQhRNxJbSJRxYPbddYjwTTAcOWNEAyHflcX-WP9juw6-SKO6R7wwfIafc4HlMyJNSCplGE1_eCInZX5waMwYmCQ0pzrPLjO4kPAe0q-fZaPECiiJbeqgzX7xo1Z01VPM0VVF4C3q5jwWEutNZbSPi1J8z_9RG7LRyjJecIEDSDSzgqNi5lUN1W2Zsxg86Wu6uQrKMm0svQd6jWUZjn_6ibi2UgZl5S7viTOLPU6N2-el1BYfbnuvT_CeAW5YM9vGrzuGRg
{“pin”:“4678”,“requestId”:“12db4ec1-14d5-4cbd-833c-ef7003aab76e”,“scope”:“consentrequest.approve”}
–> END POST (98-byte body)
<-- 200 OK https://dev.ndhm.gov.in/cm/patients/verify-pin (351ms)
correlation-id: ce5b32e1-3702-4bf0-87b8-1763c0ba5e11
content-type: application/json
content-length: 569
cache-control: no-cache, no-store, max-age=0, must-revalidate
pragma: no-cache
expires: 0
x-content-type-options: nosniff
strict-transport-security: max-age=31536000 ; includeSubDomains
x-frame-options: DENY
x-xss-protection: 1 ; mode=block
referrer-policy: no-referrer
x-envoy-upstream-service-time: 209
date: Wed, 21 Dec 2022 09:58:09 GMT
Set-Cookie: TS01960242=01445fed047d5bf5039157ff8170fd2bcea7a08e930479bab50af8ae6c3fabe8040245842ccb1e25677806b878bdcda6abfb637d44; Path=/
{“temporaryToken”:“eyJhbGciOiJSUzUxMiJ9.eyJzdWIiOiJnYW5hcGF0aHlwODVAc2J4IiwiZXhwIjoxNjcxNjE2ODA5LCJpYXQiOjE2NzE2MTY2ODksInNpZCI6IjkxYWIyNjkyLWQwYTUtNGFlNi1hZDQ4LTc1ZGVmZGMxMTI3MyIsInNjb3BlIjoiY29uc2VudHJlcXVlc3QuYXBwcm92ZSJ9.VcrkvxjtrqldZZkRhL_KlYSxkPJXOhLa4gKqNm9fiiLSatUtcLwLQxVD2oqthm2yXaiv74hhJGuovgnbJvRBn01iE_SvDDr3VLJSh_WEeMzJ35anC2SQxdqDPGsc4t-kngPh0RbDwPZol5jsEh64sYdo26yrsEyxiVCQunV9_IrihdHEyABCniSfPn332nGDd08jwmTqR-RAI9di85tTwCKanTUQd9thHrgVC2PiIOrPuUl28jW_bpDdPSAjoIc6S6SDTQavWi5XSSuDzGtTquIiZ7ftfLAjrZuvL9TMQBGaZxt7jcwcyygK4jFy5X-2teSZO0gHuZSN1KnrIceUyQ”}
<-- END HTTP (569-byte body)
Thanks.