{"id":342,"date":"2024-07-08T09:33:29","date_gmt":"2024-07-08T09:33:29","guid":{"rendered":"https:\/\/developers.10npay.com\/?post_type=docs&#038;p=1371"},"modified":"2026-05-21T14:03:18","modified_gmt":"2026-05-21T14:03:18","password":"","slug":"send-email-verification-code","status":"publish","type":"docs","link":"https:\/\/developers.10npay.com\/bg\/docs\/send-email-verification-code\/","title":{"rendered":"Resend Email Verification Code"},"content":{"rendered":"<h1>Resend Email Verification Code<\/h1>\n<p>Triggers a new verification email for a user who has not yet confirmed their address.<\/p>\n<h2>Endpoint<\/h2>\n<pre><code>POST https:\/\/api-test.10npay.com\/User\/email\/send-confirmation\n<\/code><\/pre>\n<h2>Headers<\/h2>\n<ul>\n<li><code>Authorization: Bearer &lt;access_token&gt;<\/code><\/li>\n<li><code>Content-Type: application\/json<\/code><\/li>\n<\/ul>\n<h2>Request Body<\/h2>\n<pre><code>{\n  \"id\": 123,\n  \"email\": \"user@example.com\"\n}\n<\/code><\/pre>\n<table>\n<thead>\n<tr>\n<th>Field<\/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<\/td>\n<td>User identifier. Required.<\/td>\n<\/tr>\n<tr>\n<td><code>email<\/code><\/td>\n<td>string<\/td>\n<td>Target email address. Required; must match the registration email.<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h2>Responses<\/h2>\n<ul>\n<li><strong>204 No Content<\/strong> &mdash; request accepted. If the email was already verified, the server still returns 204 but no email is sent.<\/li>\n<li><strong>400 Bad Request<\/strong> &mdash; invalid email address or user state.<\/li>\n<li><strong>401 Unauthorized<\/strong> &mdash; missing\/expired Bearer token.<\/li>\n<li><strong>404 Not Found<\/strong> &mdash; unknown <code>userId<\/code>.<\/li>\n<li><strong>5xx<\/strong> &mdash; transient error (retry with backoff).<\/li>\n<\/ul>\n<h2>Notes<\/h2>\n<ul>\n<li>Apply cooldowns or attempt counters in your UI to avoid spamming emails.<\/li>\n<li>If a new code is requested, only the latest code remains valid for <code>POST \/User\/email\/confirm<\/code>.<\/li>\n<li>Use this endpoint whenever the user reports they did not receive the initial verification message.<\/li>\n<\/ul>","protected":false},"excerpt":{"rendered":"<p>Resend Email Verification Code Triggers a new verification email for a user who has not yet confirmed their address. Endpoint POST https:\/\/api-test.10npay.com\/User\/email\/send-confirmation Headers Authorization: Bearer &lt;access_token&gt; Content-Type: application\/json Request Body { &#8220;id&#8221;: 123, &#8220;email&#8221;: &#8220;user@example.com&#8221; } Field Type Description id integer User identifier. Required. email string Target email address. Required; must match the registration email. [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","template":"","meta":{"footnotes":""},"doc_category":[55],"doc_tag":[],"knowledge_base":[33],"class_list":["post-342","docs","type-docs","status-publish","hentry","doc_category-create-customer","knowledge_base-10npay"],"year_month":"2026-05","word_count":157,"total_views":0,"reactions":{"happy":0,"normal":0,"sad":0},"author_info":{"name":"10npaydev","author_nicename":"10npaydev","author_url":"https:\/\/developers.10npay.com\/bg\/author\/10npaydev\/"},"doc_category_info":[{"term_name":"Create - Customer","term_url":"https:\/\/developers.10npay.com\/bg\/docs\/10npay\/create-customer\/"}],"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\/342","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\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/developers.10npay.com\/bg\/wp-json\/wp\/v2\/comments?post=342"}],"version-history":[{"count":1,"href":"https:\/\/developers.10npay.com\/bg\/wp-json\/wp\/v2\/docs\/342\/revisions"}],"predecessor-version":[{"id":383,"href":"https:\/\/developers.10npay.com\/bg\/wp-json\/wp\/v2\/docs\/342\/revisions\/383"}],"wp:attachment":[{"href":"https:\/\/developers.10npay.com\/bg\/wp-json\/wp\/v2\/media?parent=342"}],"wp:term":[{"taxonomy":"doc_category","embeddable":true,"href":"https:\/\/developers.10npay.com\/bg\/wp-json\/wp\/v2\/doc_category?post=342"},{"taxonomy":"doc_tag","embeddable":true,"href":"https:\/\/developers.10npay.com\/bg\/wp-json\/wp\/v2\/doc_tag?post=342"},{"taxonomy":"knowledge_base","embeddable":true,"href":"https:\/\/developers.10npay.com\/bg\/wp-json\/wp\/v2\/knowledge_base?post=342"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}