{"id":328,"date":"2024-06-14T14:34:22","date_gmt":"2024-06-14T14:34:22","guid":{"rendered":"https:\/\/developers.10npay.com\/?post_type=docs&#038;p=1041"},"modified":"2026-05-21T17:15:51","modified_gmt":"2026-05-21T17:15:51","password":"","slug":"create-payment-method-iban","status":"publish","type":"docs","link":"https:\/\/developers.10npay.com\/bg\/docs\/create-payment-method-iban\/","title":{"rendered":"Create Payment Method \u2013 IBAN"},"content":{"rendered":"<h1>Create Payment Method \u2013 IBAN<\/h1>\n<p>Registers an IBAN-based payment method for an individual user (e.g., external bank account for payouts).<\/p>\n<h2>Endpoint<\/h2>\n<pre><code>POST https:\/\/api-test.10npay.com\/api\/v1\/IndividualPaymentMethod\/{individualId}\/iban\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<li><code>Accept: application\/json<\/code><\/li>\n<\/ul>\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>individualId<\/code><\/td>\n<td>CRM individual ID (same one returned after onboarding).<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h2>Request Body<\/h2>\n<pre><code>{\n  \"accountName\": \"Acme OOD\",\n  \"bankName\": \"Bank of Somewhere\",\n  \"bankStatement\": \"BASE64...\",\n  \"bankStatementFileName\": \"statement.pdf\",\n  \"ibanNumber\": \"BG66TEST12345678901234\",\n  \"swift\": \"TESTBGSF\",\n  \"currency\": \"BGN\",\n  \"status\": \"PendingReview\"\n}\n<\/code><\/pre>\n<h3>Fields &amp; Validation<\/h3>\n<table>\n<thead>\n<tr>\n<th>Field<\/th>\n<th>Rules<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td><code>accountName<\/code><\/td>\n<td>Required. Latin\/Cyrillic letters, length &lt; 150 (per <code>Constants.NameLength<\/code>).<\/td>\n<\/tr>\n<tr>\n<td><code>bankName<\/code><\/td>\n<td>Required. Must match institution-name regex (letters, digits, punctuation).<\/td>\n<\/tr>\n<tr>\n<td><code>bankStatement<\/code><\/td>\n<td>Required. Base64-encoded PDF\/image; must pass regex + base64 validation.<\/td>\n<\/tr>\n<tr>\n<td><code>bankStatementFileName<\/code><\/td>\n<td>Required. File name \u2264 255 chars, matches file-name regex.<\/td>\n<\/tr>\n<tr>\n<td><code>ibanNumber<\/code><\/td>\n<td>Required. Must be a valid IBAN (ISO 13616 check).<\/td>\n<\/tr>\n<tr>\n<td><code>swift<\/code><\/td>\n<td>Required. Must match SWIFT\/BIC regex.<\/td>\n<\/tr>\n<tr>\n<td><code>currency<\/code><\/td>\n<td>ISO 4217, 3 uppercase letters; must be supported currency.<\/td>\n<\/tr>\n<tr>\n<td><code>status<\/code><\/td>\n<td>One of the <em>PaymentMethodStatus<\/em> enum keys (e.g., <code>PendingReview<\/code>, <code>Active<\/code>).<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h2>Responses<\/h2>\n<ul>\n<li><strong>200 OK<\/strong> \u2013 IBAN registered (empty body; status transitions to review\/approval).<\/li>\n<li><strong>400 Bad Request<\/strong> \u2013 validation failure. Example:\n<pre><code>{\n  \"errors\": {\n    \"Error\": [\n      \"'SWIFT Code' is not valid.\",\n      \"'Currency' must be three uppercase letter.\",\n      \"'Bank Statement' is not valid.\"\n    ]\n  },\n  \"title\": \"Bad Request\",\n  \"status\": 400\n}\n<\/code><\/pre>\n<\/li>\n<li><strong>404 Not Found<\/strong> \u2013 individual not found \/ inactive.<\/li>\n<li><strong>500 Internal Server Error<\/strong> \u2013 unexpected backend failure.<\/li>\n<\/ul>\n<h2>Notes<\/h2>\n<ul>\n<li>The individual must be Active and have &lt;= 20 payment methods in total.<\/li>\n<li>Provide a recent bank statement (PDF\/JPG) encoded as Base64 to comply with KYC.<\/li>\n<li>Use <code>GET \/api\/v1\/IndividualPaymentMethod\/{individualId}<\/code> to check the review state after submission.<\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>Create Payment Method \u2013 IBAN Registers an IBAN-based payment method for an individual user (e.g., external bank account for payouts). Endpoint POST https:\/\/api-test.10npay.com\/api\/v1\/IndividualPaymentMethod\/{individualId}\/iban Headers Authorization: Bearer &lt;access_token&gt; Content-Type: application\/json Accept: application\/json Path Parameter Name Description individualId CRM individual ID (same one returned after onboarding). Request Body { &#8220;accountName&#8221;: &#8220;Acme OOD&#8221;, &#8220;bankName&#8221;: &#8220;Bank of Somewhere&#8221;, &#8220;bankStatement&#8221;: [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","template":"","meta":{"footnotes":""},"doc_category":[51],"doc_tag":[],"knowledge_base":[33],"class_list":["post-328","docs","type-docs","status-publish","hentry","doc_category-application-payment-methods","knowledge_base-10npay"],"year_month":"2026-07","word_count":248,"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":"Application Payment Methods","term_url":"https:\/\/developers.10npay.com\/bg\/docs\/10npay\/application-payment-methods\/"}],"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\/328","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=328"}],"version-history":[{"count":1,"href":"https:\/\/developers.10npay.com\/bg\/wp-json\/wp\/v2\/docs\/328\/revisions"}],"predecessor-version":[{"id":407,"href":"https:\/\/developers.10npay.com\/bg\/wp-json\/wp\/v2\/docs\/328\/revisions\/407"}],"wp:attachment":[{"href":"https:\/\/developers.10npay.com\/bg\/wp-json\/wp\/v2\/media?parent=328"}],"wp:term":[{"taxonomy":"doc_category","embeddable":true,"href":"https:\/\/developers.10npay.com\/bg\/wp-json\/wp\/v2\/doc_category?post=328"},{"taxonomy":"doc_tag","embeddable":true,"href":"https:\/\/developers.10npay.com\/bg\/wp-json\/wp\/v2\/doc_tag?post=328"},{"taxonomy":"knowledge_base","embeddable":true,"href":"https:\/\/developers.10npay.com\/bg\/wp-json\/wp\/v2\/knowledge_base?post=328"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}