{"_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":"Private"},"user":"5530bf7457cea10d00a3aa3a","parentDoc":null,"project":"5530bfac57cea10d00a3aa3b","version":{"_id":"5adcc1185cd1890003da8165","project":"5530bfac57cea10d00a3aa3b","__v":3,"createdAt":"2018-04-22T17:06:32.152Z","releaseDate":"2018-04-22T17:06:32.152Z","categories":["5adcc1185cd1890003da8166","5adcc1185cd1890003da8167","5adcf4b3ce4b3f00035317e9","5adfb8e9452bd900036d115b"],"is_deprecated":false,"is_hidden":false,"is_beta":false,"is_stable":true,"codename":"","version_clean":"2.0.0","version":"2"},"__v":8,"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":"curl -H \"Authorization: Token YOUR_APP_TOKEN\" https://api.coingate.com/v2/orders?per_page=2&page=1&sort=created_at_desc","language":"curl"}]},"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\": 1195862,\n      \"status\": \"new\",\n      \"price_currency\": \"USD\",\n      \"price_amount\": \"2000.0\",\n      \"receive_currency\": \"EUR\",\n      \"receive_amount\": \"\",\n      \"created_at\": \"2018-04-25T13:28:16+00:00\",\n      \"order_id\": \"111\",\n      \"payment_url\": \"https://coingate.com/invoice/6003de09-ee9a-4584-be0e-5c0c71c5e497\"\n    },\n    {\n      \"id\": 1195824,\n      \"status\": \"paid\",\n      \"price_currency\": \"EUR\",\n      \"price_amount\": \"10.0\",\n      \"pay_currency\": \"BTC\",\n      \"pay_amount\": \"0.001281\",\n      \"receive_currency\": \"EUR\",\n      \"receive_amount\": \"9.9\",\n      \"created_at\": \"2018-04-24T23:43:14+00:00\",\n      \"expire_at\": \"2018-04-25T00:05:40+00:00\",\n      \"payment_address\": \"38gmr5MujyDxcEhaqFfC5P9K6bhJo548gu\",\n      \"order_id\": \"110\",\n      \"payment_url\": \"https://coingate.com/invoice/4f5e5a63-5270-435d-bf05-eec369b0fdba\"\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":4,"body":"","excerpt":"Retrieving information of all placed orders","slug":"list-orders","type":"endpoint","title":"List Orders"}

getList Orders

Retrieving information of all placed 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