{"id":280,"date":"2023-06-14T06:51:34","date_gmt":"2023-06-14T06:51:34","guid":{"rendered":"https:\/\/developers.10npay.com\/?post_type=docs&#038;p=563"},"modified":"2023-06-14T06:51:34","modified_gmt":"2023-06-14T06:51:34","password":"","slug":"create-calculation-charge","status":"publish","type":"docs","link":"https:\/\/developers.10npay.com\/bg\/docs\/create-calculation-charge\/","title":{"rendered":"Create Calculation Charge"},"content":{"rendered":"<p class=\"wp-block-paragraph\"><strong>Endpoints<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">POST \/api\/v1\/Payment\/create-calculation-charge<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Post<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>{\r\n  \"merchantId\": 0,\r\n  \"customerNumber\": \"string\",\r\n  \"productCode\": \"string\",\r\n  \"currency\": \"string\",\r\n  \"amount\": 0,\r\n  \"accountNumber\": \"string\"\r\n}<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\"><code>merchantId<\/code>: Provide a valid Merchant Id<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><code>customerNumber<\/code>: Please provide a valid Customer No.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><code>productCode<\/code>: Can be any item against charge is being calculated. eg, \u201cTransfer Fee\u201d<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><code>currency<\/code>: examples are <code>BNG<\/code><\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><code>amount<\/code>: Non Zero amount<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><code>accountNumber<\/code>: Please provide a valid customer account number.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Response<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><\/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>\n\n\n\n<p class=\"wp-block-paragraph\">Please use any of the following endpoint according to the requirement.<\/p>","protected":false},"excerpt":{"rendered":"<p>Endpoints POST \/api\/v1\/Payment\/create-calculation-charge Post merchantId: Provide a valid Merchant Id customerNumber: Please provide a valid Customer No. productCode: Can be any item against charge is being calculated. eg, \u201cTransfer Fee\u201d currency: examples are BNG amount: Non Zero amount accountNumber: Please provide a valid customer account number. Response Status Codes Please use any of the following [&hellip;]<\/p>\n","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-280","docs","type-docs","status-publish","hentry","knowledge_base-10npay"],"year_month":"2026-07","word_count":99,"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\/280","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=280"}],"version-history":[{"count":0,"href":"https:\/\/developers.10npay.com\/bg\/wp-json\/wp\/v2\/docs\/280\/revisions"}],"wp:attachment":[{"href":"https:\/\/developers.10npay.com\/bg\/wp-json\/wp\/v2\/media?parent=280"}],"wp:term":[{"taxonomy":"doc_category","embeddable":true,"href":"https:\/\/developers.10npay.com\/bg\/wp-json\/wp\/v2\/doc_category?post=280"},{"taxonomy":"doc_tag","embeddable":true,"href":"https:\/\/developers.10npay.com\/bg\/wp-json\/wp\/v2\/doc_tag?post=280"},{"taxonomy":"knowledge_base","embeddable":true,"href":"https:\/\/developers.10npay.com\/bg\/wp-json\/wp\/v2\/knowledge_base?post=280"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}