{"id":320,"date":"2024-06-13T15:45:20","date_gmt":"2024-06-13T15:45:20","guid":{"rendered":"https:\/\/developers.10npay.com\/?post_type=docs&#038;p=989"},"modified":"2026-05-21T15:44:06","modified_gmt":"2026-05-21T15:44:06","password":"","slug":"989","status":"publish","type":"docs","link":"https:\/\/developers.10npay.com\/bg\/docs\/989\/","title":{"rendered":"Main Activity"},"content":{"rendered":"<h1>Main Activity<\/h1>\n<p>Provides the list of main-activity codes (employment status \/ occupation) required in the onboarding form.<\/p>\n<h2>Endpoint<\/h2>\n<pre><code>GET https:\/\/api-test.10npay.com\/User\/main-activity\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>Response &mdash; 200 OK<\/h2>\n<pre><code>[\n  { \"label\": \"Employed on an employment contract\", \"value\": \"1\" },\n  { \"label\": \"Self Employed\", \"value\": \"2\" },\n  { \"label\": \"Retired\", \"value\": \"3\" },\n  { \"label\": \"Unemployed\", \"value\": \"4\" },\n  { \"label\": \"Student\", \"value\": \"5\" },\n  { \"label\": \"Individual investor\", \"value\": \"6\" }\n]\n<\/code><\/pre>\n<h2>Notes<\/h2>\n<ul>\n<li>Use the <code>value<\/code> codes when submitting <code>mainActivityCode<\/code> to <code>POST \/User\/add-additional-data<\/code>.<\/li>\n<li>The endpoint is public for authenticated clients; do not cache values indefinitely.<\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>Main Activity Provides the list of main-activity codes (employment status \/ occupation) required in the onboarding form. Endpoint GET https:\/\/api-test.10npay.com\/User\/main-activity Headers Authorization: Bearer &lt;access_token&gt; Accept: application\/json Response &mdash; 200 OK [ { &#8220;label&#8221;: &#8220;Employed on an employment contract&#8221;, &#8220;value&#8221;: &#8220;1&#8221; }, { &#8220;label&#8221;: &#8220;Self Employed&#8221;, &#8220;value&#8221;: &#8220;2&#8221; }, { &#8220;label&#8221;: &#8220;Retired&#8221;, &#8220;value&#8221;: &#8220;3&#8221; }, { [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"doc_category":[56],"doc_tag":[],"knowledge_base":[33],"class_list":["post-320","docs","type-docs","status-publish","hentry","doc_category-kyc-verification-process","knowledge_base-10npay"],"year_month":"2026-07","word_count":85,"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":"KYC verification process","term_url":"https:\/\/developers.10npay.com\/bg\/docs\/10npay\/kyc-verification-process\/"}],"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\/320","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=320"}],"version-history":[{"count":1,"href":"https:\/\/developers.10npay.com\/bg\/wp-json\/wp\/v2\/docs\/320\/revisions"}],"predecessor-version":[{"id":394,"href":"https:\/\/developers.10npay.com\/bg\/wp-json\/wp\/v2\/docs\/320\/revisions\/394"}],"wp:attachment":[{"href":"https:\/\/developers.10npay.com\/bg\/wp-json\/wp\/v2\/media?parent=320"}],"wp:term":[{"taxonomy":"doc_category","embeddable":true,"href":"https:\/\/developers.10npay.com\/bg\/wp-json\/wp\/v2\/doc_category?post=320"},{"taxonomy":"doc_tag","embeddable":true,"href":"https:\/\/developers.10npay.com\/bg\/wp-json\/wp\/v2\/doc_tag?post=320"},{"taxonomy":"knowledge_base","embeddable":true,"href":"https:\/\/developers.10npay.com\/bg\/wp-json\/wp\/v2\/knowledge_base?post=320"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}