{"_id":"590b2a74c0161e190095374e","user":"5530bf7457cea10d00a3aa3a","category":{"_id":"55d37623f77e6d0d00b1b11c","pages":["55d37685b9ef4435006deda6","55d37cb1b9ef4435006dedbc","55d38213b9ef4435006dedd6","55d384630168850d0073f1e3"],"version":"5530bfad57cea10d00a3aa3e","project":"5530bfac57cea10d00a3aa3b","__v":4,"sync":{"url":"","isSync":false},"reference":false,"createdAt":"2015-08-18T18:14:59.726Z","from_sync":false,"order":1,"slug":"orders","title":"Orders"},"version":{"_id":"5530bfad57cea10d00a3aa3e","project":"5530bfac57cea10d00a3aa3b","__v":3,"createdAt":"2015-04-17T08:09:17.192Z","releaseDate":"2015-04-17T08:09:17.192Z","categories":["5530bfad57cea10d00a3aa3f","55d368cff77e6d0d00b1b0d0","55d37623f77e6d0d00b1b11c"],"is_deprecated":false,"is_hidden":false,"is_beta":false,"is_stable":true,"codename":"","version_clean":"1.0.0","version":"1.0"},"parentDoc":null,"project":"5530bfac57cea10d00a3aa3b","__v":4,"updates":[],"next":{"pages":[],"description":""},"createdAt":"2017-05-04T13:19:48.248Z","link_external":false,"link_url":"","githubsync":"","sync_unique":"","hidden":false,"api":{"examples":{"codes":[{"language":"text","code":"https://api-sandbox.coingate.com/v1/orders?per_page=10&page=5&sort=created_at_desc"}]},"method":"get","results":{"codes":[{"language":"json","code":"{\n  \"current_page\": 1,\n  \"per_page\": 2,\n  \"total_orders\": 618,\n  \"total_pages\": 309,\n  \"orders\": [{\n    \"id\": 3443,\n    \"currency\": \"EUR\",\n    \"bitcoin_uri\": \"bitcoin:mk4QAby26rn7cQ8QzPL7wLw1vcDWe7jGps?amount=0.40675303\",\n    \"status\": \"pending\",\n    \"price\": \"600.00\",\n    \"btc_amount\": \"0.40675303\",\n    \"created_at\": \"2017-05-04T13:54:12+00:00\",\n    \"expire_at\": \"2017-05-04T14:09:12+00:00\",\n    \"bitcoin_address\": \"mk4QAby26rn7cQ8QzPL7wLw1vcDWe7jGps\",\n    \"order_id\": \"TEST-ORDER-1493906052\",\n    \"payment_url\": \"https://sandbox.coingate.com/invoice/8d50aa4d-754f-4289-bf5e-53aaa8bd904a\"\n  }, {\n    \"id\": 3442,\n    \"currency\": \"EUR\",\n    \"bitcoin_uri\": \"bitcoin:mzs4n8CJYXRsLmsPXbE2imQXaTjSkEesgz?amount=0.40675303\",\n    \"status\": \"pending\",\n    \"price\": \"600.00\",\n    \"btc_amount\": \"0.40675303\",\n    \"created_at\": \"2017-05-04T13:54:06+00:00\",\n    \"expire_at\": \"2017-05-04T14:09:06+00:00\",\n    \"bitcoin_address\": \"mzs4n8CJYXRsLmsPXbE2imQXaTjSkEesgz\",\n    \"order_id\": \"TEST-ORDER-1493906046\",\n    \"payment_url\": \"https://sandbox.coingate.com/invoice/1052a60a-6b10-4a3c-8874-771e6f9c0c83\"\n  }]\n}","name":"","status":200}]},"settings":"","auth":"required","params":[{"_id":"590b3329c0161e19009537ee","ref":"","in":"query","required":false,"desc":"How many orders list per page. Default: 100. Max 100","default":"100","type":"int","name":"per_page"},{"_id":"590b3329c0161e19009537ed","ref":"","in":"query","required":false,"desc":"Current page. Default: 1","default":"1","type":"int","name":"page"},{"_id":"590b3329c0161e19009537ec","ref":"","in":"query","required":false,"desc":"Sort orders by value. Default: `created_at_desc`. Possible values: `created_at_desc`, `created_at_asc`","default":"created_at_desc","type":"string","name":"sort"}],"url":"/orders"},"isReference":false,"order":2,"body":"","excerpt":"","slug":"list-orders","type":"endpoint","title":"List Orders"}

Definition

{{ api_url }}{{ page_api_url }}

Parameters

Query Params

per_page:
integer100
How many orders list per page. Default: 100. Max 100
page:
integer1
Current page. Default: 1
sort:
stringcreated_at_desc
Sort orders by value. Default: `created_at_desc`. Possible values: `created_at_desc`, `created_at_asc`

Examples


Result Format