{"id":331,"date":"2024-06-14T14:36:38","date_gmt":"2024-06-14T14:36:38","guid":{"rendered":"https:\/\/developers.10npay.com\/?post_type=docs&#038;p=1047"},"modified":"2026-05-21T17:17:07","modified_gmt":"2026-05-21T17:17:07","password":"","slug":"delete-payment-methods","status":"publish","type":"docs","link":"https:\/\/development-portal.10npay.com\/bg\/docs\/delete-payment-methods\/","title":{"rendered":"Delete Payment Methods"},"content":{"rendered":"<h1>Delete Payment Method<\/h1>\n<p>Deletes a specific card or IBAN payment method for an individual.<\/p>\n<h2>Endpoint<\/h2>\n<pre><code>DELETE https:\/\/api-test.10npay.com\/api\/v1\/IndividualPaymentMethod\/{individualId}\/{cardOrIbanNumber}\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>Path Parameters<\/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.<\/td>\n<\/tr>\n<tr>\n<td><code>cardOrIbanNumber<\/code><\/td>\n<td>The exact value returned in <code>value<\/code> when listing payment methods (masked card number or IBAN).<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h2>Responses<\/h2>\n<ul>\n<li><strong>200 OK<\/strong> \u2013 payment method deleted (empty body).<\/li>\n<li><strong>400 Bad Request<\/strong> \u2013 invalid ID\/number combination. Example:\n<pre><code>{\n  \"errors\": {\n    \"Error\": [ \"Card or iban number is not valid.\" ]\n  },\n  \"title\": \"Bad Request\",\n  \"status\": 400\n}\n<\/code><\/pre>\n<\/li>\n<li><strong>404 Not Found<\/strong> \u2013 payment method not found for this individual.<\/li>\n<li><strong>500 Internal Server Error<\/strong> \u2013 unexpected backend error.<\/li>\n<\/ul>\n<h2>Notes<\/h2>\n<ul>\n<li>Ensure the individual has no pending transactions using the payment method before deletion.<\/li>\n<li>The <code>cardOrIbanNumber<\/code> must match exactly the stored value (masked cards use the returned masked form).<\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>Delete Payment Method Deletes a specific card or IBAN payment method for an individual. Endpoint DELETE https:\/\/api-test.10npay.com\/api\/v1\/IndividualPaymentMethod\/{individualId}\/{cardOrIbanNumber} Headers Authorization: Bearer &lt;access_token&gt; Accept: application\/json Path Parameters Name Description individualId CRM individual ID. cardOrIbanNumber The exact value returned in value when listing payment methods (masked card number or IBAN). Responses 200 OK \u2013 payment method deleted (empty [&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-331","docs","type-docs","status-publish","hentry","doc_category-application-payment-methods","knowledge_base-10npay"],"year_month":"2026-07","word_count":130,"total_views":0,"reactions":{"happy":0,"normal":0,"sad":0},"author_info":{"name":"10npaydev","author_nicename":"10npaydev","author_url":"https:\/\/development-portal.10npay.com\/bg\/author\/10npaydev\/"},"doc_category_info":[{"term_name":"Application Payment Methods","term_url":"https:\/\/development-portal.10npay.com\/bg\/docs\/10npay\/application-payment-methods\/"}],"doc_tag_info":[],"knowledge_base_info":[{"term_name":"10npay","term_url":"https:\/\/development-portal.10npay.com\/bg\/docs\/10npay\/","term_slug":"10npay"}],"knowledge_base_slug":["10npay"],"_links":{"self":[{"href":"https:\/\/development-portal.10npay.com\/bg\/wp-json\/wp\/v2\/docs\/331","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/development-portal.10npay.com\/bg\/wp-json\/wp\/v2\/docs"}],"about":[{"href":"https:\/\/development-portal.10npay.com\/bg\/wp-json\/wp\/v2\/types\/docs"}],"author":[{"embeddable":true,"href":"https:\/\/development-portal.10npay.com\/bg\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/development-portal.10npay.com\/bg\/wp-json\/wp\/v2\/comments?post=331"}],"version-history":[{"count":1,"href":"https:\/\/development-portal.10npay.com\/bg\/wp-json\/wp\/v2\/docs\/331\/revisions"}],"predecessor-version":[{"id":409,"href":"https:\/\/development-portal.10npay.com\/bg\/wp-json\/wp\/v2\/docs\/331\/revisions\/409"}],"wp:attachment":[{"href":"https:\/\/development-portal.10npay.com\/bg\/wp-json\/wp\/v2\/media?parent=331"}],"wp:term":[{"taxonomy":"doc_category","embeddable":true,"href":"https:\/\/development-portal.10npay.com\/bg\/wp-json\/wp\/v2\/doc_category?post=331"},{"taxonomy":"doc_tag","embeddable":true,"href":"https:\/\/development-portal.10npay.com\/bg\/wp-json\/wp\/v2\/doc_tag?post=331"},{"taxonomy":"knowledge_base","embeddable":true,"href":"https:\/\/development-portal.10npay.com\/bg\/wp-json\/wp\/v2\/knowledge_base?post=331"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}