Transactions list
Request:
GET |
https://api.moneypipe.com/sandbox/v1/transactions |
Request headers:
Query parameters:
Parameter | Description | For example |
---|---|---|
sort | Sort by fields: id, operation, amount, linked, reject_reason, created_at, updated_at. | sort=created |
sort_type | Sort types: asc, desc. | sort_type=asc |
id | Filter by id. Comma separated values. | id=transactionId1,transactionId2 |
operation_id | Filter by operation. Comma separated values. | operation_id=operationId1,operationId2 |
tx_id | Filter by tx_id from Blockchain. | tx_id=yqOaOf1KN7nBDOYMf6tiNR |
amount_from | Filter from specified amount value. | amount_from=0.001 |
amount_to | Filter to specified amount value. | amount_to=20 |
status | Filter by status. Values are separated by commas | status=0 |
linked | Filter by linked. It have to be 0 or 1 | linked=1 |
reject_reason | Filter by reason | reject_reason=23 |
created_from | Filter the creation date from the specified value | created_from=2019-03-21 |
created_to | Filter the creation date from to specified value | created_to=2019-03-21 |
page | Current page number | page=2 |
per_page | How many lines to display per page | per_page=10 |
Response:
200
Body
{ "data": [ { "id": "LEEPOu4cmIY4IsQhdokf", "tx_id": "9rmE5pF9zTgDqjeYihhtQcS9oknFGbwAy81ZcKYI73cx11TxPwuUZ51xMuIY", "operation_id": "We0lYsfqkDKEn0LMkSbb", "amount": "0.29797886", "status": "confirmed", "linked": false, "reject_reason": null, "created_at": "2019-10-27T16:32:24.993010Z", "updated_at": "2019-10-27T16:32:24.993072Z" } ], "links": { "first": "https://api.moneypipe.com/sandbox/v1/transactions?page=1", "last": "https://api.moneypipe.com/sandbox/v1/transactions?page=2", "prev": null, "next": "https://api.moneypipe.com/sandbox/v1/transactions?page=2" }, "meta": { "current_page": 1, "from": 1, "last_page": 2, "path": "https://api.moneypipe.com/sandbox/v1/transactions", "per_page": 50, "to": 50, "total": 100 } }
Transaction details:
Parameter |
Type |
Description |
id |
string |
Transaction ID |
tx_id |
string |
Transaction ID in Blockchain |
amount |
string |
Transaction amount |
status |
string |
Transaction status |
linked |
bool |
The transaction was linked manually |
reject_reason |
string |
Reason of rejecting transaction (only with reject status) |
created_at |
string |
Date of transaction was created |
updated_at |
string |
Date of transaction was changed |