{"metadata":{"image":[],"title":"","description":""},"api":{"url":"/v:version/transactions.json","auth":"required","settings":"","results":{"codes":[{"name":"","code":"{\n \"hasMore\":true,\n \"data\":[\n {\n \"id\":123,\n ...\n },\n {\n \"id\":124,\n ...\n },\n {\n \"id\":125,\n ...\n }\n ]\n}","language":"json","status":200}]},"method":"get","examples":{"codes":[]},"params":[{"name":"page","type":"int","default":"1","desc":"page number","required":false,"in":"query","ref":"","_id":"57ee23213b369f0e00469c4b"},{"name":"perPage","type":"int","default":"100","desc":"number of objects per page","required":false,"in":"query","ref":"","_id":"5cd437163823bd036a5fe46e"}]},"next":{"description":"","pages":[]},"title":"/transactions.json","type":"endpoint","slug":"transactions-list","excerpt":"Returns a collection of transactions.","body":"[block:callout]\n{\n \"type\": \"danger\",\n \"body\": \"If you would like to retrieve donation data please use donations.json! This transactions.xml is only suitable for some special cases if you need data immediately after the donation.\\n\\nWhile a transaction offers raw data from the donation form donations have a higher data quality and are available for manual created donations as well.\",\n \"title\": \"Important: transactions vs. donations\"\n}\n[/block]\n\n[block:callout]\n{\n \"type\": \"info\",\n \"body\": \"Maximum is 100 entries, use the page parameter to get the next results.\\n\\n(with pagination: /transactions.xml?page={page_number})\",\n \"title\": \"Pagination\"\n}\n[/block]\n\n[block:api-header]\n{\n \"title\": \"Filter by criteria\"\n}\n[/block]\nGET /transactions.xml?amount_min={value}&page={page_number}\n\nReturns a collection of transactions that fits to a given criteria.\n\nThese criteria are currently available:\n[block:parameters]\n{\n \"data\": {\n \"h-0\": \"Criterion\",\n \"h-1\": \"Description\",\n \"h-2\": \"Type\",\n \"0-0\": \"token\",\n \"1-0\": \"amount_min\",\n \"2-0\": \"amount_max\",\n \"3-0\": \"date_min\",\n \"4-0\": \"date_max\",\n \"5-0\": \"fb_type_id\",\n \"6-0\": \"fb_source_id\",\n \"7-0\": \"fb_payment_form_configuration_id\",\n \"8-0\": \"status\",\n \"9-0\": \"recurring\",\n \"10-0\": \"meta_info\",\n \"0-2\": \"string\",\n \"1-2\": \"float\",\n \"2-2\": \"float\",\n \"3-2\": \"date\",\n \"4-2\": \"date\",\n \"5-2\": \"integer\",\n \"6-2\": \"integer\",\n \"7-2\": \"integer\",\n \"1-1\": \"Minimum amount\",\n \"2-1\": \"Maximum amount\",\n \"3-1\": \"Minimum creation date\",\n \"4-1\": \"Maximum creation date\",\n \"5-1\": \"The ID of a payment type\",\n \"6-1\": \"The ID of a source\",\n \"7-1\": \"The ID of a payment form\",\n \"0-1\": \"The unique token of a transaction\",\n \"8-1\": \"The status\",\n \"10-1\": \"Some content included in the meta information\",\n \"9-2\": \"boolean\",\n \"9-1\": \"1 when only transactions by recurring should be returned.\\n\\n0 when only transactions with no recurring should be returned.\",\n \"8-2\": \"Enum (\\\"awaiting\\\", \\\"confirmed\\\", \\\"processing\\\", \\\"reversed\\\", \\\"failed\\\")\",\n \"10-2\": \"string\"\n },\n \"cols\": 3,\n \"rows\": 11\n}\n[/block]\n\n[block:callout]\n{\n \"type\": \"info\",\n \"body\": \"You can find a transaction by its token with the following request:\\nGET /transactions.xml?criteria[token]={value}\",\n \"title\": \"Example\"\n}\n[/block]\n\n[block:callout]\n{\n \"type\": \"info\",\n \"title\": \"Meta infos\",\n \"body\": \"The data could offer some so called \\\"meta infos\\\". These meta info can contain some useful additional informations. Please take a look [at the meta-info section](doc:meta-info) for more details.\"\n}\n[/block]\n\n[block:callout]\n{\n \"type\": \"info\",\n \"body\": \"If no transaction with these criteria exist, an empty transaction container will be returned.\",\n \"title\": \"Empty result\"\n}\n[/block]","updates":[],"order":70,"isReference":false,"hidden":false,"sync_unique":"","link_url":"","link_external":false,"_id":"5cbefa2cd6b9fd0146448c91","project":"571f5e8cd8667f0e00a3c498","version":{"version":"1","version_clean":"1.0.0","codename":"","is_stable":true,"is_beta":false,"is_hidden":false,"is_deprecated":false,"categories":["571f5e8cd8667f0e00a3c49c","571f73cfcb4baa0e00d13a80","571f7451cb4baa0e00d13a88","571f7d2720695f3400f38797","571f7fb0ac2a080e0014c661","571f884be54f2d0e003ebb0a","572200c9ecb38d0e00d80ebd","572c301e7c8eff0e00aaa174","57df91b2c6348d0e0020c452","57e104db9ff1e21900a721ab","57fd04caeaa77f19008b8202","5899c7113514ce0f0014da84","5cbeda4b862d090013abd413","5e60d6278f8b380072f0b1e3"],"_id":"571f5e8cd8667f0e00a3c49b","hasDoc":true,"releaseDate":"2016-04-26T12:26:52.312Z","__v":14,"hasReference":true,"createdAt":"2016-04-26T12:26:52.312Z","project":"571f5e8cd8667f0e00a3c498"},"category":{"sync":{"isSync":false,"url":""},"pages":[],"title":"JSON-REST-API (API-Package)","slug":"rest-api-json","order":9,"from_sync":false,"reference":false,"_id":"5cbeda4b862d090013abd413","project":"571f5e8cd8667f0e00a3c498","version":"571f5e8cd8667f0e00a3c49b","createdAt":"2019-04-23T09:26:35.210Z","__v":1},"user":"5720ba18c669e80e00c35051","createdAt":"2019-04-23T11:42:36.055Z","__v":11,"parentDoc":null}
get/transactions.json
Returns a collection of transactions.
Definition
{{ api_url }}{{ page_api_url }}
Parameters
Query Params
page:
integer1
page number
perPage:
integer100
number of objects per page