{"id":239,"date":"2023-06-09T08:05:23","date_gmt":"2023-06-09T08:05:23","guid":{"rendered":"https:\/\/developers.10npay.com\/?post_type=docs&#038;p=43"},"modified":"2023-06-09T08:05:23","modified_gmt":"2023-06-09T08:05:23","password":"","slug":"verify-phone-number-code","status":"publish","type":"docs","link":"https:\/\/developers.10npay.com\/bg\/docs\/verify-phone-number-code\/","title":{"rendered":"Verify Phone Number Code"},"content":{"rendered":"<p class=\"wp-block-paragraph\">The following api should be called in Auth Service<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Auth Dev Instance : (<a href=\"https:\/\/auth-dev.10npay.com\/\">Alaric IdentityServer<\/a> )<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Endpoint<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\/api\/v1\/User\/phone-number\/verify<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Post<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-code has-base-color has-contrast-background-color has-text-color has-background\"><code>{\r\n  \"id\": 0,\r\n  \"code\": \"string\"\r\n}<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\"><code>id<\/code>: Please provide your User Id in id. Should be a valid UserId<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><code>code<\/code>: Please provide a valid 6 digit OTP that you have received on your provided phone number.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Response<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-code has-base-color has-contrast-background-color has-text-color has-background\"><code>Success: Code 200 with no body. Indicates SMS Code Verified\r\nBadInput : Code 400 with error messages. \r\nServer Failure: Code 500 with no error message<\/code><\/pre>","protected":false},"excerpt":{"rendered":"<p>The following api should be called in Auth Service Auth Dev Instance : (Alaric IdentityServer ) Endpoint \/api\/v1\/User\/phone-number\/verify Post id: Please provide your User Id in id. Should be a valid UserId code: Please provide a valid 6 digit OTP that you have received on your provided phone number. Response<\/p>","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"closed","template":"","meta":{"footnotes":""},"doc_category":[],"doc_tag":[],"knowledge_base":[33],"class_list":["post-239","docs","type-docs","status-publish","hentry","knowledge_base-10npay"],"year_month":"2026-07","word_count":75,"total_views":0,"reactions":{"happy":0,"normal":0,"sad":0},"author_info":{"name":"","author_nicename":"","author_url":"https:\/\/developers.10npay.com\/bg\/author\/"},"doc_category_info":[],"doc_tag_info":[],"knowledge_base_info":[{"term_name":"10npay","term_url":"https:\/\/developers.10npay.com\/bg\/docs\/10npay\/","term_slug":"10npay"}],"knowledge_base_slug":["10npay"],"_links":{"self":[{"href":"https:\/\/developers.10npay.com\/bg\/wp-json\/wp\/v2\/docs\/239","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/developers.10npay.com\/bg\/wp-json\/wp\/v2\/docs"}],"about":[{"href":"https:\/\/developers.10npay.com\/bg\/wp-json\/wp\/v2\/types\/docs"}],"author":[{"embeddable":true,"href":"https:\/\/developers.10npay.com\/bg\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/developers.10npay.com\/bg\/wp-json\/wp\/v2\/comments?post=239"}],"version-history":[{"count":0,"href":"https:\/\/developers.10npay.com\/bg\/wp-json\/wp\/v2\/docs\/239\/revisions"}],"wp:attachment":[{"href":"https:\/\/developers.10npay.com\/bg\/wp-json\/wp\/v2\/media?parent=239"}],"wp:term":[{"taxonomy":"doc_category","embeddable":true,"href":"https:\/\/developers.10npay.com\/bg\/wp-json\/wp\/v2\/doc_category?post=239"},{"taxonomy":"doc_tag","embeddable":true,"href":"https:\/\/developers.10npay.com\/bg\/wp-json\/wp\/v2\/doc_tag?post=239"},{"taxonomy":"knowledge_base","embeddable":true,"href":"https:\/\/developers.10npay.com\/bg\/wp-json\/wp\/v2\/knowledge_base?post=239"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}