Operations list
Request:
GET |
https://api.moneypipe.com/sandbox/v1/operations |
Request headers:
Query parameters:
Parameter | Description | For example |
---|---|---|
sort | Sort by fields: id, category, order_id, amount, fee, amount_paid, rate, currency, currency_paid, created, updated. | sort=created |
sort_type | Sort types: asc, desc. | sort_type=asc |
id | Filter by id. Comma separated values. | id=operationid1,operationId2,operationId3 |
category | Filter by categories: application, manual. | category=application |
order_id | Filter by order_id. Comma separated values. | order_id=orderId1 |
amount_from | Filter from specified amount value. | amount_from=0.001 |
amount_to | Filter to specified amount value. | amount_to=20 |
fee_from | Filter from specified fee value | fee_from=0.001 |
fee_to | Filter to specified fee value | fee_to=20 |
amount_paid_from | Filter from specified amount_paid value | amount_paid_from=0.001 |
amount_paid_to | Filter to specified amount_paid values | amount_paid_to=20 |
currency | Filter by currency. Values are separated by commas. | currency=EUR,btc |
currency_paid | Filter by currency_paid. Values are separated by commas. | currency_paid=EUR,btc |
status | Filter by status. Values are separated by commas | status=0 |
address | Filter by address | address=2MxrLNgYJS5MM53XTVLc5QcAM4EwwfoDgy7 |
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": "eFbIa4lRUf3XQwlnoPmi", "application_id": "c84b5aae7378b62d0e47", "application_name": "Application name", "category": "application", "order_id": "422", "amount": "85.30000000", "fee": "0.00000000", "amount_paid": "0.01563549", "rate": "0.00018330", "currency": "USD", "currency_paid": "BTC", "status": "confirmed", "address": "2MxrLNgYJS5MM53XTVLc5QcAM4EwwfoDgy7", "created_at": "2019-10-27T13:33:03.224328Z", "updated_at": "2019-10-27T13:33:03.224391Z", "payment_url": null, "redirect_url": null, "transactions": [ { "id": "fJoJzw8FdOruNQnbLRvL", "tx_id": "miIq7CTGx3PPryqOaOf1KN7nBDOYMf6tiNRl8avIXBbEqDWDhfgbomzJHZpF", "amount": "0.01563549", "status": "confirmed", "linked": true, "reject_reason": null, "created_at": "2019-10-27T13:33:03.224501Z", "updated_at": "2019-10-27T13:33:03.224562Z" } ] } ], "links": { "first": "https://api.moneypipe.com/sandbox/v1/operations?page=1", "last": "https://api.moneypipe.com/sandbox/v1/operations?page=2", "prev": null, "next": "https://api.moneypipe.com/sandbox/v1/operations?page=2" }, "meta": { "current_page": 1, "from": 1, "last_page": 2, "path": "https://api.moneypipe.com/sandbox/v1/operations", "per_page": 50, "to": 50, "total": 100 } }
Operation details:
Parameter | Type | Description |
---|---|---|
id | string | Operation ID |
application_id | string |
Application id |
application_name | string | Application name |
category | string | Operation category (application, manual) |
order_id | string | Clients` order number |
amount | string | Operation amount |
fee | string | Fee from operation amount |
amount_paid | string | Paid amount of operation |
rate | string | Exchange rate at the moment of payment |
currency | string | Currency of issued operation |
currency_paid | string | Currency in which operation will be paid |
status | string | Operation status |
address | string | Operation address |
created_at | string | Date of operation creation |
updated_at | string | Date of operation change |
payment_url | string | Link to the payment page |
redirect_url | string | Link to the page, to which redirect from payment page will be made |
transactions | array | List of operation transactions |
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 |