{"id":327,"date":"2024-06-14T13:24:49","date_gmt":"2024-06-14T13:24:49","guid":{"rendered":"https:\/\/developers.10npay.com\/?post_type=docs&#038;p=1033"},"modified":"2024-06-14T13:24:49","modified_gmt":"2024-06-14T13:24:49","password":"","slug":"create-account-iban","status":"publish","type":"docs","link":"https:\/\/developers.10npay.com\/bg\/docs\/create-account-iban\/","title":{"rendered":"Create &#8211; Account\/IBAN"},"content":{"rendered":"<p><span style=\"font-size: 20px\">This document provides technical details for the API endpoint used to automatically create an account and IBAN for an individual. The endpoint is part of the CRM API and requires authentication via a Bearer token.<\/span><\/p>\n<h4><span style=\"font-size: 20px\">End-point Overview<\/span><\/h4>\n<p><span style=\"font-size: 20px\"><strong>Endpoint:<\/strong> https:\/\/crm-api-test.10npay.com\/api\/v1\/IndividualWallet\/create-wallet<\/span><br \/>\n<span style=\"font-size: 20px\"><strong>Method:<\/strong> POST<\/span><\/p>\n<p><span style=\"font-size: 20px\">Authentication<\/span><\/p>\n<p><span style=\"font-size: 20px\"><strong>Type:<\/strong> Bearer Token<\/span><br \/>\n<span style=\"font-size: 20px\"><strong>Header:<\/strong> Authorization: Bearer {Token}<\/span><\/p>\n<h4><span style=\"font-size: 20px\">Headers<\/span><\/h4>\n<p><span style=\"font-size: 20px\"><strong>accept:<\/strong> *\/*<\/span><br \/>\n<span style=\"font-size: 20px\"><strong>Authorization:<\/strong> Bearer {Token}<\/span><br \/>\n<span style=\"font-size: 20px\"><strong>Content-Type:<\/strong> application\/json-patch+json<\/span><\/p>\n<h4><span style=\"font-size: 20px\">Request Body<\/span><\/h4>\n<p><span style=\"font-size: 20px\"><strong>Content-Type:<\/strong> application\/json-patch+json<\/span><br \/>\n<span style=\"font-size: 20px\">Parameters:<\/span><br \/>\n<span style=\"font-size: 20px\">id: The ID of the individual in the merchant portal.<\/span><br \/>\n<span style=\"font-size: 20px\">currency: The currency for the wallet (e.g., &#8220;USD&#8221;).<\/span><\/p>\n<p><span style=\"font-size: 20px\"><strong>Example Request Body<\/strong><\/span><br \/>\n<span style=\"font-size: 20px\"><div class=\"dm-code-snippet dark default  dm-normal-version\" style=\"background-color:#abb8c3;\" snippet-height=\"\">\n\t\t\t<div class=\"control-language\">\n                <div class=\"dm-buttons\">\n                    <div class=\"dm-buttons-left\">\n                        <div class=\"dm-button-snippet red-button\"><\/div>\n                        <div class=\"dm-button-snippet orange-button\"><\/div>\n                        <div class=\"dm-button-snippet green-button\"><\/div>\n                    <\/div>\n                    <div class=\"dm-buttons-right\">\n                        <a id=\"dm-copy-raw-code\">\n                        <span class=\"dm-copy-text\">Copy Code<\/span>\n                        <span class=\"dm-copy-confirmed\" style=\"display:none\">Copied<\/span>\n                        <span class=\"dm-error-message\" style=\"display:none\">Use a different Browser<\/span><\/a>\n                    <\/div>\n                <\/div>\n                <pre class=\"no-line-numbers\"><code id=\"dm-code-raw\" class=\"wrap language-php\"><\/span><\/p>\n<pre class=\"dm-pre-admin-side\"><span style=\"font-size: 20px\">{\r\n\t\"id\": 590,\r\n\t\"currency\": \"USD\"\r\n}<\/span><\/pre>\n<p><span style=\"font-size: 20px\"><\/code><\/pre>\n\t\t\t<\/div>\n        <\/div><\/span><\/p>\n<h5><span style=\"font-size: 20px\">Example cURL Request<\/span><\/h5>\n<p><span style=\"font-size: 20px\"><div class=\"dm-code-snippet dark default  dm-normal-version\" style=\"background-color:#abb8c3;\" snippet-height=\"\">\n\t\t\t<div class=\"control-language\">\n                <div class=\"dm-buttons\">\n                    <div class=\"dm-buttons-left\">\n                        <div class=\"dm-button-snippet red-button\"><\/div>\n                        <div class=\"dm-button-snippet orange-button\"><\/div>\n                        <div class=\"dm-button-snippet green-button\"><\/div>\n                    <\/div>\n                    <div class=\"dm-buttons-right\">\n                        <a id=\"dm-copy-raw-code\">\n                        <span class=\"dm-copy-text\">Copy Code<\/span>\n                        <span class=\"dm-copy-confirmed\" style=\"display:none\">Copied<\/span>\n                        <span class=\"dm-error-message\" style=\"display:none\">Use a different Browser<\/span><\/a>\n                    <\/div>\n                <\/div>\n                <pre class=\"no-line-numbers\"><code id=\"dm-code-raw\" class=\"wrap language-shell\"><\/span><\/p>\n<pre class=\"dm-pre-admin-side\"><span style=\"font-size: 20px\">curl -X 'POST' \\ 'https:\/\/crm-api-test.10npay.com\/api\/v1\/IndividualWallet\/create-wallet' \\ -H 'accept: *\/*' \\ -H 'Authorization: Bearer {Token}' \\ -H 'Content-Type: application\/json-patch+json' \\ -d '{ \"id\": 590, \"currency\": \"USD\" }'<\/span><\/pre>\n<p><span style=\"font-size: 20px\"><\/code><\/pre>\n\t\t\t<\/div>\n        <\/div><\/span><\/p>\n<h4><span style=\"font-size: 20px\">Responses<\/span><\/h4>\n<h5><span style=\"font-size: 20px\"><strong>Success (200)<\/strong><\/span><\/h5>\n<p><span style=\"font-size: 20px\"><strong>Description:<\/strong> Wallet created successfully.<\/span><\/p>\n<h5><span style=\"font-size: 20px\"><strong>Bad Request (400)<\/strong><\/span><\/h5>\n<p><span style=\"font-size: 20px\"><strong>Description:<\/strong> The wallet could not be created due to invalid input.<\/span><\/p>\n<p><span style=\"font-size: 20px\"><strong>Example Responses:<\/strong><\/span><br \/>\n<span style=\"font-size: 20px\"><div class=\"dm-code-snippet dark default  dm-normal-version\" style=\"background-color:#abb8c3;\" snippet-height=\"\">\n\t\t\t<div class=\"control-language\">\n                <div class=\"dm-buttons\">\n                    <div class=\"dm-buttons-left\">\n                        <div class=\"dm-button-snippet red-button\"><\/div>\n                        <div class=\"dm-button-snippet orange-button\"><\/div>\n                        <div class=\"dm-button-snippet green-button\"><\/div>\n                    <\/div>\n                    <div class=\"dm-buttons-right\">\n                        <a id=\"dm-copy-raw-code\">\n                        <span class=\"dm-copy-text\">Copy Code<\/span>\n                        <span class=\"dm-copy-confirmed\" style=\"display:none\">Copied<\/span>\n                        <span class=\"dm-error-message\" style=\"display:none\">Use a different Browser<\/span><\/a>\n                    <\/div>\n                <\/div>\n                <pre class=\"no-line-numbers\"><code id=\"dm-code-raw\" class=\"no-wrap language-php\"><\/span><\/p>\n<pre class=\"dm-pre-admin-side\"><span style=\"font-size: 20px\">{\r\n\t\"errors\": {\r\n\t\t\"Error\": [\r\n\t\t\t\"Merchant currency must be valid.\"\r\n\t\t]\r\n\t},\r\n\t\"type\": \"https:\/\/tools.ietf.org\/html\/rfc7231#section-6.5.1\",\r\n\t\"title\": \"Bad Request\",\r\n\t\"status\": 400,\r\n\t\"traceId\": \"00-b8233a8255e5257000aa9f40ebabdd22-54334e6ac25203a3-01\"\r\n}<\/span><\/pre>\n<p><span style=\"font-size: 20px\"><\/code><\/pre>\n\t\t\t<\/div>\n        <\/div><\/span><\/p>\n<p><span style=\"font-size: 20px\"><div class=\"dm-code-snippet dark default  dm-normal-version\" style=\"background-color:#abb8c3;\" snippet-height=\"\">\n\t\t\t<div class=\"control-language\">\n                <div class=\"dm-buttons\">\n                    <div class=\"dm-buttons-left\">\n                        <div class=\"dm-button-snippet red-button\"><\/div>\n                        <div class=\"dm-button-snippet orange-button\"><\/div>\n                        <div class=\"dm-button-snippet green-button\"><\/div>\n                    <\/div>\n                    <div class=\"dm-buttons-right\">\n                        <a id=\"dm-copy-raw-code\">\n                        <span class=\"dm-copy-text\">Copy Code<\/span>\n                        <span class=\"dm-copy-confirmed\" style=\"display:none\">Copied<\/span>\n                        <span class=\"dm-error-message\" style=\"display:none\">Use a different Browser<\/span><\/a>\n                    <\/div>\n                <\/div>\n                <pre class=\"no-line-numbers\"><code id=\"dm-code-raw\" class=\"wrap language-php\"><\/span><\/p>\n<pre class=\"dm-pre-admin-side\"><span style=\"font-size: 20px\">{\r\n\t\"errors\": {\r\n\t\t\"Error\": [\r\n\t\t\t\"Currency should be three upper characters\"\r\n\t\t]\r\n\t},\r\n\t\"title\": \"Bad Request\",\r\n\t\"status\": 400\r\n}<\/span><\/pre>\n<p><span style=\"font-size: 20px\"><\/code><\/pre>\n\t\t\t<\/div>\n        <\/div><\/span><\/p>\n<h5><span style=\"font-size: 20px\"><strong>Not Found (404)<\/strong><\/span><\/h5>\n<p><span style=\"font-size: 20px\"><strong>Description:<\/strong> The request property mismatched or not found.<\/span><\/p>\n<p><span style=\"font-size: 20px\">Response:<\/span><\/p>\n<p><span style=\"font-size: 20px\"><div class=\"dm-code-snippet dark default  dm-normal-version\" style=\"background-color:#abb8c3;\" snippet-height=\"\">\n\t\t\t<div class=\"control-language\">\n                <div class=\"dm-buttons\">\n                    <div class=\"dm-buttons-left\">\n                        <div class=\"dm-button-snippet red-button\"><\/div>\n                        <div class=\"dm-button-snippet orange-button\"><\/div>\n                        <div class=\"dm-button-snippet green-button\"><\/div>\n                    <\/div>\n                    <div class=\"dm-buttons-right\">\n                        <a id=\"dm-copy-raw-code\">\n                        <span class=\"dm-copy-text\">Copy Code<\/span>\n                        <span class=\"dm-copy-confirmed\" style=\"display:none\">Copied<\/span>\n                        <span class=\"dm-error-message\" style=\"display:none\">Use a different Browser<\/span><\/a>\n                    <\/div>\n                <\/div>\n                <pre class=\"no-line-numbers\"><code id=\"dm-code-raw\" class=\"no-wrap language-php\"><\/span><\/p>\n<pre class=\"dm-pre-admin-side\"><span style=\"font-size: 20px\">{\r\n\t\"type\": \"string\",\r\n\t\"title\": \"string\",\r\n\t\"status\": 404,\r\n\t\"detail\": \"Not Found\",\r\n\t\"instance\": \"string\",\r\n\t\"additionalProp1\": \"string\",\r\n\t\"additionalProp2\": \"string\",\r\n\t\"additionalProp3\": \"string\"\r\n}<\/span><\/pre>\n<p><span style=\"font-size: 20px\"><\/code><\/pre>\n\t\t\t<\/div>\n        <\/div><\/span><\/p>\n<h5><span style=\"font-size: 20px\">Internal Server Error (500)<\/span><\/h5>\n<p><span style=\"font-size: 20px\">Description: An internal error occurred.<\/span><\/p>\n<p>&nbsp;<\/p>\n<h4><span style=\"font-size: 20px\">Snippet<\/span><\/h4>\n<p><span style=\"font-size: 20px\">[codesnippet id=&#8221;48&#8243;]<\/span><\/p>\n","protected":false},"excerpt":{"rendered":"<p>This document provides technical details for the API endpoint used to automatically create an account and IBAN for an individual. The endpoint is part of the CRM API and requires authentication via a Bearer token. End-point Overview Endpoint: https:\/\/crm-api-test.10npay.com\/api\/v1\/IndividualWallet\/create-wallet Method: POST Authentication Type: Bearer Token Header: Authorization: Bearer {Token} Headers accept: *\/* Authorization: Bearer {Token} [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","template":"","meta":{"footnotes":""},"doc_category":[50],"doc_tag":[],"knowledge_base":[33],"class_list":["post-327","docs","type-docs","status-publish","hentry","doc_category-create-account-iban","knowledge_base-10npay"],"year_month":"2026-05","word_count":378,"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 - Account\/IBAN","term_url":"https:\/\/developers.10npay.com\/bg\/docs\/10npay\/create-account-iban\/"}],"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\/327","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=327"}],"version-history":[{"count":0,"href":"https:\/\/developers.10npay.com\/bg\/wp-json\/wp\/v2\/docs\/327\/revisions"}],"wp:attachment":[{"href":"https:\/\/developers.10npay.com\/bg\/wp-json\/wp\/v2\/media?parent=327"}],"wp:term":[{"taxonomy":"doc_category","embeddable":true,"href":"https:\/\/developers.10npay.com\/bg\/wp-json\/wp\/v2\/doc_category?post=327"},{"taxonomy":"doc_tag","embeddable":true,"href":"https:\/\/developers.10npay.com\/bg\/wp-json\/wp\/v2\/doc_tag?post=327"},{"taxonomy":"knowledge_base","embeddable":true,"href":"https:\/\/developers.10npay.com\/bg\/wp-json\/wp\/v2\/knowledge_base?post=327"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}