{"id":248,"date":"2023-06-09T10:27:05","date_gmt":"2023-06-09T10:27:05","guid":{"rendered":"https:\/\/developers.10npay.com\/?post_type=docs&#038;p=66"},"modified":"2023-06-09T10:27:05","modified_gmt":"2023-06-09T10:27:05","password":"","slug":"update-existing-card-payment-method","status":"publish","type":"docs","link":"https:\/\/developers.10npay.com\/bg\/docs\/update-existing-card-payment-method\/","title":{"rendered":"Update Existing Card Payment Method"},"content":{"rendered":"<pre class=\"wp-block-code has-base-color has-contrast-background-color has-text-color has-background\"><code>PUT \u200b\/api\u200b\/v1\u200b\/IndividualPaymentMethod\u200b\/{id}\u200b\/card<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Please provide IndividualId as {Id}<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Request<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-code has-base-color has-contrast-background-color has-text-color has-background\"><code>{\r\n  \"cardNumber\": \"string\",\r\n  \"cardAlias\": \"string\",\r\n  \"cardHolderName\": \"string\",\r\n  \"cardType\": \"any string value\",\r\n  \"cvvOrCvcCode\": \"integer\",\r\n  \"validityMonth\": \"2 Digit Month Number\",\r\n  \"validityYear\": \"4 Digit Year Number\"\r\n}<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Response<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Status Codes<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Status Code 200, If all good<\/li>\n\n\n\n<li>Status Code 400 with Error Messages in case of Bad Input<\/li>\n\n\n\n<li>Status Code 500 with No Error Message in case of Server Failure<\/li>\n<\/ul>","protected":false},"excerpt":{"rendered":"<p>Please provide IndividualId as {Id} Request Response Status Codes<\/p>","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"closed","template":"","meta":{"footnotes":""},"doc_category":[],"doc_tag":[],"knowledge_base":[33],"class_list":["post-248","docs","type-docs","status-publish","hentry","knowledge_base-10npay"],"year_month":"2026-06","word_count":61,"total_views":0,"reactions":{"happy":0,"normal":0,"sad":0},"author_info":{"name":"","author_nicename":"","author_url":"https:\/\/developers.10npay.com\/bg\/author\/"},"doc_category_info":[],"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\/248","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\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/developers.10npay.com\/bg\/wp-json\/wp\/v2\/comments?post=248"}],"version-history":[{"count":0,"href":"https:\/\/developers.10npay.com\/bg\/wp-json\/wp\/v2\/docs\/248\/revisions"}],"wp:attachment":[{"href":"https:\/\/developers.10npay.com\/bg\/wp-json\/wp\/v2\/media?parent=248"}],"wp:term":[{"taxonomy":"doc_category","embeddable":true,"href":"https:\/\/developers.10npay.com\/bg\/wp-json\/wp\/v2\/doc_category?post=248"},{"taxonomy":"doc_tag","embeddable":true,"href":"https:\/\/developers.10npay.com\/bg\/wp-json\/wp\/v2\/doc_tag?post=248"},{"taxonomy":"knowledge_base","embeddable":true,"href":"https:\/\/developers.10npay.com\/bg\/wp-json\/wp\/v2\/knowledge_base?post=248"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}