{"id":271,"date":"2023-06-12T14:27:14","date_gmt":"2023-06-12T14:27:14","guid":{"rendered":"https:\/\/developers.10npay.com\/?post_type=docs&#038;p=300"},"modified":"2023-06-12T14:27:14","modified_gmt":"2023-06-12T14:27:14","password":"","slug":"initiate-payment","status":"publish","type":"docs","link":"https:\/\/developers.10npay.com\/bg\/docs\/initiate-payment\/","title":{"rendered":"Initiate payment"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">In the body of the request, data about the payment itself is sent:<br>instructedAmount \u2013 amount and currency<br>debtorAccount \u2013 IBAN of the payer<br>creditorAccount \u2013 IBAN of the payee<br>creditorName \u2013 name of the payee<br>other fields are optional.<br>A unique ID is created for the payment, and if a payment request is successfully created, links for further operations are returned in the response &#8211; payment information (self), payment status (status), authorization operations (authoriseTransaction)<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">POST http:\/\/[ip]:[port]\/psd2\/v1\/payments\/bgn-credit-transfers<br>HEADERS:<br>X-Request-ID: [request-id] &#8211; required<br>Content-Type: application\/json &#8211; required<br>PSU-ID: [user-id] \u2013 user ID received at login, required<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Request:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>{\r\n   \"instructedAmount\":{\r\n      \"currency\":\"USD\",\r\n      \"content\":\"123.50\"\r\n   },\r\n   \"debtorAccount\":{\r\n      \"iban\":\"DE2310010010123456789\"\r\n   },\r\n   \"creditorName\":\"IhuAhu.com\",\r\n   \"creditorAccount\":{\r\n      \"iban\":\"TR73TURKBANK123456789\"\r\n   },\r\n   \"paymentType\" : {\"serviceLevel\" : \"SS1\"},\r\n   \"remittanceInformationUnstructured\": \"ihuahu link\"   \r\n}\r<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Response:<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">{<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">&nbsp; &#8220;transactionStatus&#8221;: &#8220;RCVD&#8221;,<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">&nbsp; &#8220;paymentId&#8221;: &#8220;526091c1-e4ac-410a-a642-65af191ee8a9&#8221;,<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">&nbsp; &#8220;_links&#8221;: {<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">&nbsp;&nbsp;&nbsp; &#8220;self&#8221;: {<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &#8220;href&#8221;: &#8220;\/v1\/payments\/bgn-credit-transfer\/526091c1-e4ac-410a-a642-65af191ee8a9&#8221;<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">&nbsp;&nbsp;&nbsp; },<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">&nbsp;&nbsp;&nbsp; &#8220;status&#8221;: {<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &#8220;href&#8221;: &#8220;\/v1\/payments\/bgn-credit-transfer\/526091c1-e4ac-410a-a642-65af191ee8a9\/status&#8221;<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">&nbsp;&nbsp;&nbsp; },<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">&nbsp;&nbsp;&nbsp; &#8220;authoriseTransaction&#8221;: {<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &#8220;href&#8221;:&#8221;\/v1\/payments\/bgn-credit-transfer\/526091c1-e4ac-410a-a642-65af191ee8a9\/authorisations&#8221;<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">&nbsp;&nbsp;&nbsp; }<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">&nbsp; }<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">}<\/p>\n","protected":false},"excerpt":{"rendered":"<p>In the body of the request, data about the payment itself is sent:instructedAmount \u2013 amount and currencydebtorAccount \u2013 IBAN of the payercreditorAccount \u2013 IBAN of the payeecreditorName \u2013 name of the payeeother fields are optional.A unique ID is created for the payment, and if a payment request is successfully created, links for further operations are [&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-271","docs","type-docs","status-publish","hentry","knowledge_base-10npay"],"year_month":"2026-07","word_count":202,"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\/271","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=271"}],"version-history":[{"count":0,"href":"https:\/\/developers.10npay.com\/bg\/wp-json\/wp\/v2\/docs\/271\/revisions"}],"wp:attachment":[{"href":"https:\/\/developers.10npay.com\/bg\/wp-json\/wp\/v2\/media?parent=271"}],"wp:term":[{"taxonomy":"doc_category","embeddable":true,"href":"https:\/\/developers.10npay.com\/bg\/wp-json\/wp\/v2\/doc_category?post=271"},{"taxonomy":"doc_tag","embeddable":true,"href":"https:\/\/developers.10npay.com\/bg\/wp-json\/wp\/v2\/doc_tag?post=271"},{"taxonomy":"knowledge_base","embeddable":true,"href":"https:\/\/developers.10npay.com\/bg\/wp-json\/wp\/v2\/knowledge_base?post=271"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}