{"id":348,"date":"2024-07-09T07:33:03","date_gmt":"2024-07-09T07:33:03","guid":{"rendered":"https:\/\/developers.10npay.com\/?post_type=docs&#038;p=1423"},"modified":"2026-05-22T09:53:21","modified_gmt":"2026-05-22T09:53:21","password":"","slug":"adding-individual-beneficiary","status":"publish","type":"docs","link":"https:\/\/developers.10npay.com\/bg\/docs\/adding-individual-beneficiary\/","title":{"rendered":"Adding Individual Beneficiary"},"content":{"rendered":"<h1>Add Individual Beneficiary<\/h1>\n<p>Adds another 10nPay user to the caller&#8217;s beneficiary list.<\/p>\n<h2>Endpoint<\/h2>\n<pre><code>POST https:\/\/api-test.10npay.com\/app\/{beneficiaryId}\/add-individual-beneficiary\n<\/code><\/pre>\n<h2>Path Parameter<\/h2>\n<table>\n<thead>\n<tr>\n<th>Name<\/th>\n<th>Description<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td><code>beneficiaryId<\/code><\/td>\n<td>User ID of the friend to add.<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\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>Body<\/h2>\n<p>No body required; the backend uses the authenticated user as the source.<\/p>\n<h2>Response<\/h2>\n<ul>\n<li><strong>200 OK<\/strong> \u2013 returns <code>\"success\"<\/code>.<\/li>\n<li><strong>400<\/strong> \u2013 already added \/ invalid ID.<\/li>\n<li><strong>404<\/strong> \u2013 user not found.<\/li>\n<\/ul>","protected":false},"excerpt":{"rendered":"<p>Add Individual Beneficiary Adds another 10nPay user to the caller&#8217;s beneficiary list. Endpoint POST https:\/\/api-test.10npay.com\/app\/{beneficiaryId}\/add-individual-beneficiary Path Parameter Name Description beneficiaryId User ID of the friend to add. Headers Authorization: Bearer &lt;access_token&gt; Accept: application\/json Body No body required; the backend uses the authenticated user as the source. Response 200 OK \u2013 returns &#8220;success&#8221;. 400 \u2013 already [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","template":"","meta":{"footnotes":""},"doc_category":[54],"doc_tag":[],"knowledge_base":[33],"class_list":["post-348","docs","type-docs","status-publish","hentry","doc_category-beneficiaries","knowledge_base-10npay"],"year_month":"2026-07","word_count":65,"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":"Beneficiaries","term_url":"https:\/\/developers.10npay.com\/bg\/docs\/10npay\/beneficiaries\/"}],"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\/348","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=348"}],"version-history":[{"count":1,"href":"https:\/\/developers.10npay.com\/bg\/wp-json\/wp\/v2\/docs\/348\/revisions"}],"predecessor-version":[{"id":425,"href":"https:\/\/developers.10npay.com\/bg\/wp-json\/wp\/v2\/docs\/348\/revisions\/425"}],"wp:attachment":[{"href":"https:\/\/developers.10npay.com\/bg\/wp-json\/wp\/v2\/media?parent=348"}],"wp:term":[{"taxonomy":"doc_category","embeddable":true,"href":"https:\/\/developers.10npay.com\/bg\/wp-json\/wp\/v2\/doc_category?post=348"},{"taxonomy":"doc_tag","embeddable":true,"href":"https:\/\/developers.10npay.com\/bg\/wp-json\/wp\/v2\/doc_tag?post=348"},{"taxonomy":"knowledge_base","embeddable":true,"href":"https:\/\/developers.10npay.com\/bg\/wp-json\/wp\/v2\/knowledge_base?post=348"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}