{"_id":"59f8871ff0a94d0010b1bf7d","project":"544fc17e698ab40800b4f891","version":{"_id":"56326e9cdf556c0d00cd08ca","project":"544fc17e698ab40800b4f891","__v":2,"createdAt":"2015-10-29T19:08:12.724Z","releaseDate":"2015-10-29T19:08:12.724Z","categories":["56326e9ddf556c0d00cd08cb","56326e9ddf556c0d00cd08cc","56326e9ddf556c0d00cd08cd","56326e9ddf556c0d00cd08ce","56326e9ddf556c0d00cd08cf","56326e9ddf556c0d00cd08d0","56326e9ddf556c0d00cd08d1","56326e9ddf556c0d00cd08d2","56326e9ddf556c0d00cd08d3","56326e9ddf556c0d00cd08d4","56d942ac337fd11300d6a251"],"is_deprecated":false,"is_hidden":false,"is_beta":false,"is_stable":true,"codename":"collector","version_clean":"2.1.0","version":"2.1"},"category":{"_id":"56326e9ddf556c0d00cd08d2","project":"544fc17e698ab40800b4f891","version":"56326e9cdf556c0d00cd08ca","pages":["56326e9fdf556c0d00cd08e0","56326e9fdf556c0d00cd08e1","56326e9fdf556c0d00cd08e2","56326e9fdf556c0d00cd08e3","56326e9fdf556c0d00cd08e4","56326e9fdf556c0d00cd08e5","56326e9fdf556c0d00cd08e6","56326e9fdf556c0d00cd08e7","56326e9fdf556c0d00cd08e8"],"__v":1,"sync":{"url":"","isSync":false},"reference":false,"createdAt":"2015-05-01T08:07:30.539Z","from_sync":false,"order":8,"slug":"wallets","title":"Wallets"},"user":"544fc065698ab40800b4f888","__v":0,"parentDoc":null,"updates":[],"next":{"pages":[],"description":""},"createdAt":"2017-10-31T14:22:23.658Z","link_external":false,"link_url":"","githubsync":"","sync_unique":"","hidden":false,"api":{"method":"get","examples":{"codes":[{"code":"import requests\n\nurl = \"https://coins.ph/api/v3/balance-statements/?month=10&year=2017\"\n\nTOKEN = 'YOUR TOKEN'\nheaders = {\n    'Authorization': 'Bearer {}'.format(TOKEN),\n    'Content-Type': 'application/json;charset=UTF-8',\n    'Accept': 'application/json'\n}\n\nresponse = requests.get(url, headers=headers)\n\nprint(response.text)","language":"python"}]},"results":{"codes":[{"name":"","code":"\"Entry Type\",\"Transaction ID\",\"Created At\",\"Amount\",\"Running Balance\",\"Payment Outlet\",\"Recipient\",\"Currency\",\"Fee\",\"Transfer ID\",\"Order ID\",\"Payment Request ID\",\"Invoice ID\",\"Payment Request Fee\",\"Payer\",\"Message\"\n\"outgoing\",\"ca67f5c225f0417f991f2e907db53bdd\",\"2017-10-30 04:12:14+00\",-150000,67.23,\"\",\"example:::at:::example.com\",\"PHP\",\"\",\"edc2b0fc00af47e68096283a3385796d\",\"\",\"\",\"\",\"\",\"\",\"Example message\"\n\"incoming\",\"81dae72b77884c2798960a8093928bf1\",\"2017-10-30 01:50:56+00\",150000,150067.23,\"\",\"\",\"PHP\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"Example message\"\n\n","language":"text","status":200}]},"settings":"","auth":"required","params":[{"_id":"59f8871ff0a94d0010b1bf80","ref":"","in":"query","required":false,"desc":"The year when the transactions were created.","default":"Current year (ie. 2017)","type":"int","name":"year"},{"_id":"59f8871ff0a94d0010b1bf7f","ref":"","in":"query","required":false,"desc":"The month when the transactions were created","default":"Current month (ie. 06)","type":"int","name":"month"},{"_id":"59f8871ff0a94d0010b1bf7e","ref":"","in":"query","required":false,"desc":"Currency symbol of the transactions to retrieve","default":"","type":"string","name":"currency"}],"url":"/api/v3/balance-statements/"},"isReference":false,"order":9,"body":"Balance statements can be retrieved through this endpoint. A balance statement contains the following types of transactions:\n\n* Wallet transfers\n* Cash-outs\n* Cash-ins\n* Payment requests\n\nThe response returned is a CSV that contains all of the account's transactions with the supported types.","excerpt":"Retrieve transaction history","slug":"balance-statements","type":"endpoint","title":"balance-statements"}

getbalance-statements

Retrieve transaction history

Definition

{{ api_url }}{{ page_api_url }}

Parameters

Query Params

year:
integerCurrent year (ie. 2017)
The year when the transactions were created.
month:
integerCurrent month (ie. 06)
The month when the transactions were created
currency:
string
Currency symbol of the transactions to retrieve

Examples


Result Format


Documentation

Balance statements can be retrieved through this endpoint. A balance statement contains the following types of transactions: * Wallet transfers * Cash-outs * Cash-ins * Payment requests The response returned is a CSV that contains all of the account's transactions with the supported types.