{"_id":"5adcc1185cd1890003da816f","category":{"_id":"5adcc1185cd1890003da8167","version":"5adcc1185cd1890003da8165","project":"5530bfac57cea10d00a3aa3b","__v":0,"sync":{"url":"","isSync":false},"reference":false,"createdAt":"2015-08-18T18:14:59.726Z","from_sync":false,"order":2,"slug":"orders","title":"Orders"},"user":"5530bf7457cea10d00a3aa3a","parentDoc":null,"project":"5530bfac57cea10d00a3aa3b","version":{"_id":"5adcc1185cd1890003da8165","project":"5530bfac57cea10d00a3aa3b","__v":2,"createdAt":"2018-04-22T17:06:32.152Z","releaseDate":"2018-04-22T17:06:32.152Z","categories":["5adcc1185cd1890003da8166","5adcc1185cd1890003da8167","5adcf4b3ce4b3f00035317e9"],"is_deprecated":false,"is_hidden":false,"is_beta":false,"is_stable":true,"codename":"","version_clean":"2.0.0","version":"2"},"__v":3,"updates":[],"next":{"pages":[],"description":""},"createdAt":"2017-05-04T13:19:48.248Z","link_external":false,"link_url":"","githubsync":"","sync_unique":"","hidden":false,"api":{"examples":{"codes":[{"code":"https://api-sandbox.coingate.com/v2/orders?per_page=10&page=5&sort=created_at_desc","language":"text"}]},"method":"get","results":{"codes":[{"status":200,"name":"","code":"{\n  \"current_page\": 1,\n  \"per_page\": 2,\n  \"total_orders\": 940,\n  \"total_pages\": 470,\n  \"orders\": [\n    {\n      \"id\": 1169,\n      \"status\": \"paid\",\n      \"price_currency\": \"USD\",\n      \"price_amount\": \"2000.0\",\n      \"pay_currency\": \"BTC\",\n      \"pay_amount\": \"0.288099\",\n      \"receive_currency\": \"EUR\",\n      \"receive_amount\": \"1599.87\",\n      \"created_at\": \"2018-04-23T13:35:35+00:00\",\n      \"expire_at\": \"2018-04-23T13:55:52+00:00\",\n      \"payment_address\": \"2NCHj48cVqfm4xj4PEPCt8M9VBVnJL8DNky\",\n      \"order_id\": \"111\",\n      \"payment_url\": \"http://localhost:3000/invoice/09e6174c-18f8-4be4-9706-cdb3a5a0aa18\"\n    },\n    {\n      \"id\": 1168,\n      \"status\": \"new\",\n      \"price_currency\": \"USD\",\n      \"price_amount\": \"2000.0\",\n      \"receive_currency\": \"EUR\",\n      \"receive_amount\": \"\",\n      \"created_at\": \"2018-04-23T13:31:37+00:00\",\n      \"order_id\": \"111\",\n      \"payment_url\": \"http://localhost:3000/invoice/f257c04b-8c4b-4106-9fca-d32c40970dcd\"\n    }\n  ]\n}","language":"json"}]},"settings":"5adcc50db719b20003516400","auth":"required","params":[{"_id":"5a4538fb1621b50012b570cd","ref":"","in":"query","required":false,"desc":"How many orders per page. Max: 100. Default: 100.","default":"100","type":"int","name":"per_page"},{"_id":"5a4538fb1621b50012b570cc","ref":"","in":"query","required":false,"desc":"","default":"1","type":"int","name":"page"},{"_id":"5a4538fb1621b50012b570cb","ref":"","in":"query","required":false,"desc":"Sort orders by field. Available sort options: created_at_asc, created_at_desc. Default: created_at_desc.","default":"created_at_desc","type":"string","name":"sort"}],"url":"/orders"},"isReference":false,"order":2,"body":"","excerpt":"","slug":"list-orders","type":"get","title":"List Orders"}

Definition

{{ api_url }}{{ page_api_url }}

Parameters

Query Params

per_page:
integer100
How many orders per page. Max: 100. Default: 100.
page:
integer1
sort:
stringcreated_at_desc
Sort orders by field. Available sort options: created_at_asc, created_at_desc. Default: created_at_desc.

Examples


Result Format