{"id":314,"date":"2024-06-13T12:34:37","date_gmt":"2024-06-13T12:34:37","guid":{"rendered":"https:\/\/developers.10npay.com\/?post_type=docs&#038;p=918"},"modified":"2026-05-22T14:22:22","modified_gmt":"2026-05-22T14:22:22","password":"","slug":"check-user-status","status":"publish","type":"docs","link":"https:\/\/development-portal.10npay.com\/bg\/docs\/check-user-status\/","title":{"rendered":"Check user status"},"content":{"rendered":"<h1>Check User Status<\/h1>\n<p>Returns the current verification state of a user and drives the onboarding decision tree.<\/p>\n<h2>Endpoint<\/h2>\n<pre><code>GET https:\/\/api-test.10npay.com\/User\/{id}\/status\r\n<\/code><\/pre>\n<h2>Headers<\/h2>\n<ul>\n<li><code>Authorization: Bearer &lt;access_token&gt;<\/code><\/li>\n<li><code>Accept: application\/json<\/code><\/li>\n<\/ul>\n<h2>Path Parameters<\/h2>\n<table>\n<thead>\n<tr>\n<th>Name<\/th>\n<th>Type<\/th>\n<th>Description<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td><code>id<\/code><\/td>\n<td>integer (int32)<\/td>\n<td>The userId returned by <code>POST \/User<\/code>. Range 1..2147483647.<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h2>Response \u2014 200 OK<\/h2>\n<pre><code>{\r\n  \"isEmailVerified\": false,\r\n  \"isPhoneNumberVerified\": false,\r\n  \"isScaVerified\": false,\r\n  \"isAdditionalData\": false,\r\n  \"isOptionalKyc\": false,\r\n  \"status\": 50\r\n}\r\n<\/code><\/pre>\n<h3>Field Reference<\/h3>\n<table>\n<thead>\n<tr>\n<th>Field<\/th>\n<th>Description<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td><code>isEmailVerified<\/code><\/td>\n<td>Email confirmed via <code>POST \/User\/email\/confirm<\/code>.<\/td>\n<\/tr>\n<tr>\n<td><code>isPhoneNumberVerified<\/code><\/td>\n<td>Phone confirmed via <code>POST \/User\/phone-number\/verify<\/code>.<\/td>\n<\/tr>\n<tr>\n<td><code>isScaVerified<\/code><\/td>\n<td>User has been provisioned inside the SCA application.<\/td>\n<\/tr>\n<tr>\n<td><code>isAdditionalData<\/code><\/td>\n<td>Additional onboarding questionnaire submitted.<\/td>\n<\/tr>\n<tr>\n<td><code>isOptionalKyc<\/code><\/td>\n<td>Optional KYC (if applicable) completed.<\/td>\n<\/tr>\n<tr>\n<td><code>status<\/code><\/td>\n<td>Lifecycle code (50 Registered, 150 PendingVerification, 200 Active, 300 Deactivated, 350 Closed, 400 Blocked).<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h2>Errors<\/h2>\n<ul>\n<li><strong>401 Unauthorized<\/strong> \u2014 missing or expired Bearer token.<\/li>\n<li><strong>404 Not Found<\/strong> \u2014 unknown <code>userId<\/code>.<\/li>\n<li><strong>5xx Server Error<\/strong> \u2014 transient gateway failure (retry with backoff).<\/li>\n<\/ul>\n<h2>Usage Notes<\/h2>\n<ul>\n<li>Poll this endpoint until <code>status == 200<\/code> and every required flag is <code>true<\/code>; use it to decide which onboarding step to show next.<\/li>\n<li>Safe to call multiple times; the state is derived server-side.<\/li>\n<li>Downstream the Gateway forwards the call to the internal <code>\/app\/user-status<\/code> handler, so the response contract matches the wallet client.<\/li>\n<\/ul>\n<h2>Snippet<\/h2>\n    <div class=\"json-snippet\">\n        <form id=\"api_form\" class=\"json-snippet__layout\" onsubmit=\"return false;\" action=\"\">\n            <section class=\"json-card json-card--request\">\n                <header class=\"json-card__header\">\n                    <span class=\"json-card__step\">01<\/span>\n                    <div>\n                        <h2>Request setup<\/h2>\n                        <p>Configure the endpoint, headers, and payload before hitting the gateway.<\/p>\n                    <\/div>\n                <\/header>\n                <div class=\"json-form-grid\">\n                    <div class='json-field'>\n                <label for='api_url' class='json-label'>API URL<\/label>\n                <input type='text' id='api_url' class='json-input api_url' value='https:\/\/api-test.10npay.com\/User\/id\/status' autocomplete='off'>\n            <\/div><div class='json-field'>\n        <label for='http_method' class='json-label'>HTTP Method<\/label>\n        <input type='text' id='http_method' class='json-input' value='GET' disabled>\n    <\/div><div class='json-field'>\n                <label for='content_type' class='json-label'>Content-Type<\/label>\n                <input type='text' id='content_type' class='json-input content_type' value='application\/json' autocomplete='off'>\n            <\/div><div class='json-field'>\n                <label for='token' class='json-label'>Token<\/label>\n                <input type='text' id='token' class='json-input token' value='{Token}' autocomplete='off'>\n            <\/div>\n                <\/div>\n                <div class=\"json-card__section\">\n                    <h3>Payload<\/h3>\n                    \n                <\/div>\n                <button type=\"button\" class=\"json-btn\" id=\"fetch_data\">\n                    <span class=\"json-btn__icon\">&#9658;<\/span>\n                    Run request\n                <\/button>\n            <\/section>\n\n            <section class=\"json-card json-card--response\">\n                <header class=\"json-card__header\">\n                    <span class=\"json-card__step\">02<\/span>\n                    <div>\n                        <h2>Response<\/h2>\n                        <p>Preview the API response with pretty-printed JSON.<\/p>\n                    <\/div>\n                <\/header>\n                <div class=\"json-alert json-alert--neutral\" id=\"response-status\">\n                    Waiting for request\u2026\n                <\/div>\n                <div class=\"json-tabs\" role=\"tablist\">\n                    <button type=\"button\" class=\"json-tab is-active\" data-tab=\"body\">Body<\/button>\n                <\/div>\n                <div class=\"json-code\" id=\"result\">\n                    <pre><code id=\"result-body\">{\n  \"status\": \"pending\"\n}<\/code><\/pre>\n                <\/div>\n            <\/section>\n        <input type=\"hidden\" name=\"trp-form-language\" value=\"bg\"\/><\/form>\n        \n    <\/div>","protected":false},"excerpt":{"rendered":"<p>Check User Status Returns the current verification state of a user and drives the onboarding decision tree. Endpoint GET https:\/\/api-test.10npay.com\/User\/{id}\/status Headers Authorization: Bearer &lt;access_token&gt; Accept: application\/json Path Parameters Name Type Description id integer (int32) The userId returned by POST \/User. Range 1..2147483647. Response \u2014 200 OK { &#8220;isEmailVerified&#8221;: false, &#8220;isPhoneNumberVerified&#8221;: false, &#8220;isScaVerified&#8221;: false, &#8220;isAdditionalData&#8221;: false, [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"doc_category":[55],"doc_tag":[],"knowledge_base":[33],"class_list":["post-314","docs","type-docs","status-publish","hentry","doc_category-create-customer","knowledge_base-10npay"],"year_month":"2026-07","word_count":189,"total_views":0,"reactions":{"happy":0,"normal":0,"sad":0},"author_info":{"name":"10npaydev","author_nicename":"10npaydev","author_url":"https:\/\/development-portal.10npay.com\/bg\/author\/10npaydev\/"},"doc_category_info":[{"term_name":"Create - Customer","term_url":"https:\/\/development-portal.10npay.com\/bg\/docs\/10npay\/create-customer\/"}],"doc_tag_info":[],"knowledge_base_info":[{"term_name":"10npay","term_url":"https:\/\/development-portal.10npay.com\/bg\/docs\/10npay\/","term_slug":"10npay"}],"knowledge_base_slug":["10npay"],"_links":{"self":[{"href":"https:\/\/development-portal.10npay.com\/bg\/wp-json\/wp\/v2\/docs\/314","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/development-portal.10npay.com\/bg\/wp-json\/wp\/v2\/docs"}],"about":[{"href":"https:\/\/development-portal.10npay.com\/bg\/wp-json\/wp\/v2\/types\/docs"}],"author":[{"embeddable":true,"href":"https:\/\/development-portal.10npay.com\/bg\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/development-portal.10npay.com\/bg\/wp-json\/wp\/v2\/comments?post=314"}],"version-history":[{"count":5,"href":"https:\/\/development-portal.10npay.com\/bg\/wp-json\/wp\/v2\/docs\/314\/revisions"}],"predecessor-version":[{"id":429,"href":"https:\/\/development-portal.10npay.com\/bg\/wp-json\/wp\/v2\/docs\/314\/revisions\/429"}],"wp:attachment":[{"href":"https:\/\/development-portal.10npay.com\/bg\/wp-json\/wp\/v2\/media?parent=314"}],"wp:term":[{"taxonomy":"doc_category","embeddable":true,"href":"https:\/\/development-portal.10npay.com\/bg\/wp-json\/wp\/v2\/doc_category?post=314"},{"taxonomy":"doc_tag","embeddable":true,"href":"https:\/\/development-portal.10npay.com\/bg\/wp-json\/wp\/v2\/doc_tag?post=314"},{"taxonomy":"knowledge_base","embeddable":true,"href":"https:\/\/development-portal.10npay.com\/bg\/wp-json\/wp\/v2\/knowledge_base?post=314"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}