{"id":346,"date":"2024-07-08T14:44:33","date_gmt":"2024-07-08T14:44:33","guid":{"rendered":"https:\/\/developers.10npay.com\/?post_type=docs&#038;p=1409"},"modified":"2026-05-22T09:43:09","modified_gmt":"2026-05-22T09:43:09","password":"","slug":"get-transaction-by-id-2","status":"publish","type":"docs","link":"https:\/\/developers.10npay.com\/bg\/docs\/get-transaction-by-id-2\/","title":{"rendered":"Get Transaction by ID"},"content":{"rendered":"<h1>Get Transaction by ID<\/h1>\n<p>Returns the full transaction record for a specific transfer. Useful for drill-down views or dispute workflows.<\/p>\n<h2>Endpoint<\/h2>\n<pre><code>POST https:\/\/api-test.10npay.com\/app\/get-transaction\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>Request Body<\/h2>\n<pre><code>{\n  \"transactionId\": \"TNP0007241580001\"\n}\n<\/code><\/pre>\n<h2>Response<\/h2>\n<p><strong>200 OK<\/strong> \u2013 returns a <code>Transaction<\/code> object:<\/p>\n<pre><code>{\n  \"transactionId\": \"TNP0007241580001\",\n  \"amount\": 120.5,\n  \"currency\": \"BGN\",\n  \"timeStamp\": \"2026-05-21T12:35:02Z\",\n  \"transactionType\": \"P2P\",\n  \"transactionCategory\": \"Debit\",\n  \"transactionStatus\": \"Accepted\",\n  \"senderName\": \"John Doe\",\n  \"receiverName\": \"Ivailo Petkov\",\n  \"senderIban\": \"BG56TEPJ...\",\n  \"receiverIban\": \"BG36TEPJ...\",\n  \"paymentNotes\": \"Rent May\",\n  \"paymentSystem\": \"INTERNAL\",\n  \"scaStatus\": \"APPROVED\"\n}\n<\/code><\/pre>\n<h2>Errors<\/h2>\n<ul>\n<li><strong>404 Not Found<\/strong> \u2013 transaction ID does not exist or does not belong to this user.<\/li>\n<li><strong>400 Bad Request<\/strong> \u2013 missing <code>transactionId<\/code> or invalid format.<\/li>\n<li><strong>401 Unauthorized<\/strong> \u2013 missing\/expired token.<\/li>\n<li><strong>500 Internal Server Error<\/strong> \u2013 retry later.<\/li>\n<\/ul>\n<h2>Notes<\/h2>\n<ul>\n<li>Combine with <code>POST \/app\/get-all-transactions<\/code>: store the IDs from the list and request detailed info on demand.<\/li>\n<li>The response structure matches the wallet\u2019s <code>Transaction<\/code> model (see Appendix in this category).<\/li>\n<\/ul>","protected":false},"excerpt":{"rendered":"<p>Get Transaction by ID Returns the full transaction record for a specific transfer. Useful for drill-down views or dispute workflows. Endpoint POST https:\/\/api-test.10npay.com\/app\/get-transaction Headers Authorization: Bearer &lt;access_token&gt; Content-Type: application\/json Accept: application\/json Request Body { &#8220;transactionId&#8221;: &#8220;TNP0007241580001&#8221; } Response 200 OK \u2013 returns a Transaction object: { &#8220;transactionId&#8221;: &#8220;TNP0007241580001&#8221;, &#8220;amount&#8221;: 120.5, &#8220;currency&#8221;: &#8220;BGN&#8221;, &#8220;timeStamp&#8221;: &#8220;2026-05-21T12:35:02Z&#8221;, &#8220;transactionType&#8221;: [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","template":"","meta":{"footnotes":""},"doc_category":[53],"doc_tag":[],"knowledge_base":[33],"class_list":["post-346","docs","type-docs","status-publish","hentry","doc_category-transactions-on-customer-level","knowledge_base-10npay"],"year_month":"2026-07","word_count":150,"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":"Transactions (on Customer Level)","term_url":"https:\/\/developers.10npay.com\/bg\/docs\/10npay\/transactions-on-customer-level\/"}],"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\/346","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=346"}],"version-history":[{"count":1,"href":"https:\/\/developers.10npay.com\/bg\/wp-json\/wp\/v2\/docs\/346\/revisions"}],"predecessor-version":[{"id":422,"href":"https:\/\/developers.10npay.com\/bg\/wp-json\/wp\/v2\/docs\/346\/revisions\/422"}],"wp:attachment":[{"href":"https:\/\/developers.10npay.com\/bg\/wp-json\/wp\/v2\/media?parent=346"}],"wp:term":[{"taxonomy":"doc_category","embeddable":true,"href":"https:\/\/developers.10npay.com\/bg\/wp-json\/wp\/v2\/doc_category?post=346"},{"taxonomy":"doc_tag","embeddable":true,"href":"https:\/\/developers.10npay.com\/bg\/wp-json\/wp\/v2\/doc_tag?post=346"},{"taxonomy":"knowledge_base","embeddable":true,"href":"https:\/\/developers.10npay.com\/bg\/wp-json\/wp\/v2\/knowledge_base?post=346"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}