{"id":345,"date":"2024-07-08T13:53:46","date_gmt":"2024-07-08T13:53:46","guid":{"rendered":"https:\/\/developers.10npay.com\/?post_type=docs&#038;p=1403"},"modified":"2026-05-22T09:42:52","modified_gmt":"2026-05-22T09:42:52","password":"","slug":"search-individual-transactions-2","status":"publish","type":"docs","link":"https:\/\/developers.10npay.com\/bg\/docs\/search-individual-transactions-2\/","title":{"rendered":"Search Individual Transactions"},"content":{"rendered":"<h1>Search Individual Transactions<\/h1>\n<p>Advanced filtering for the transaction list. This uses the same gateway endpoint (<code>POST \/app\/get-all-transactions<\/code>) but demonstrates how to apply date and amount filters to narrow the result set.<\/p>\n<h2>Endpoint<\/h2>\n<pre><code>POST https:\/\/api-test.10npay.com\/app\/get-all-transactions\n<\/code><\/pre>\n<h2>Request Body (filters)<\/h2>\n<pre><code>{\n  \"individualId\": 2077,\n  \"dataBatch\": 1,\n  \"dataBatchCount\": 20,\n  \"timestampFrom\": \"2026-04-01T00:00:00Z\",\n  \"timestampTo\": \"2026-04-30T23:59:59Z\",\n  \"amountFrom\": \"100\",\n  \"amountTo\": \"500\",\n  \"transactionType\": \"P2P\"\n}\n<\/code><\/pre>\n<p>The official <code>AllTransactionRequestModel<\/code> supports:<\/p>\n<ul>\n<li><code>individualId<\/code> \u2013 required.<\/li>\n<li><code>dataBatch<\/code> \u2013 page index (start at 1).<\/li>\n<li><code>dataBatchCount<\/code> \u2013 optional page size.<\/li>\n<li><code>timestampFrom<\/code>\/<code>timestampTo<\/code> \u2013 optional ISO date range.<\/li>\n<li><code>amountFrom<\/code>\/<code>amountTo<\/code> \u2013 optional numeric range (string values).<\/li>\n<\/ul>\n<p>Additional filters (transactionType, category) are handled server-side based on the user\u2019s configuration.<\/p>\n<h2>Response<\/h2>\n<p>Identical to the \u201cTransactions List\u201d article: <code>AllTransactionReportResponse<\/code> with <code>transactions<\/code> array + <code>transactionCount<\/code>. Use <code>transactionCount<\/code> to determine when pagination is complete.<\/p>\n<h2>Error handling<\/h2>\n<ul>\n<li><strong>400<\/strong> \u2013 invalid range (e.g., <code>timestampFrom &gt; timestampTo<\/code>).<\/li>\n<li><strong>401<\/strong> \u2013 token missing\/expired.<\/li>\n<li><strong>404<\/strong> \u2013 no records found (empty dataset).<\/li>\n<li><strong>500<\/strong> \u2013 transient failure.<\/li>\n<\/ul>\n<h2>Usage tips<\/h2>\n<ul>\n<li>Implement infinite scroll by incrementing <code>dataBatch<\/code>.<\/li>\n<li>Use <code>timestampFrom<\/code>\/<code>timestampTo<\/code> for date pickers (month selector).<\/li>\n<li>Combine <code>amountFrom<\/code>\/<code>amountTo<\/code> with transaction type filters to replicate the app\u2019s \u201cSearch transactions\u201d modal.<\/li>\n<\/ul>","protected":false},"excerpt":{"rendered":"<p>Search Individual Transactions Advanced filtering for the transaction list. This uses the same gateway endpoint (POST \/app\/get-all-transactions) but demonstrates how to apply date and amount filters to narrow the result set. Endpoint POST https:\/\/api-test.10npay.com\/app\/get-all-transactions Request Body (filters) { &#8220;individualId&#8221;: 2077, &#8220;dataBatch&#8221;: 1, &#8220;dataBatchCount&#8221;: 20, &#8220;timestampFrom&#8221;: &#8220;2026-04-01T00:00:00Z&#8221;, &#8220;timestampTo&#8221;: &#8220;2026-04-30T23:59:59Z&#8221;, &#8220;amountFrom&#8221;: &#8220;100&#8221;, &#8220;amountTo&#8221;: &#8220;500&#8221;, &#8220;transactionType&#8221;: &#8220;P2P&#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-345","docs","type-docs","status-publish","hentry","doc_category-transactions-on-customer-level","knowledge_base-10npay"],"year_month":"2026-07","word_count":172,"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\/345","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=345"}],"version-history":[{"count":1,"href":"https:\/\/developers.10npay.com\/bg\/wp-json\/wp\/v2\/docs\/345\/revisions"}],"predecessor-version":[{"id":421,"href":"https:\/\/developers.10npay.com\/bg\/wp-json\/wp\/v2\/docs\/345\/revisions\/421"}],"wp:attachment":[{"href":"https:\/\/developers.10npay.com\/bg\/wp-json\/wp\/v2\/media?parent=345"}],"wp:term":[{"taxonomy":"doc_category","embeddable":true,"href":"https:\/\/developers.10npay.com\/bg\/wp-json\/wp\/v2\/doc_category?post=345"},{"taxonomy":"doc_tag","embeddable":true,"href":"https:\/\/developers.10npay.com\/bg\/wp-json\/wp\/v2\/doc_tag?post=345"},{"taxonomy":"knowledge_base","embeddable":true,"href":"https:\/\/developers.10npay.com\/bg\/wp-json\/wp\/v2\/knowledge_base?post=345"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}