{"metadata":{"image":[],"title":"","description":""},"api":{"url":"/billing/details","auth":"required","settings":"","results":{"codes":[{"name":"","code":"{\n  \"current_page\": 1,\n  \"per_page\": 100,\n  \"total_details\": 1,\n  \"total_pages\": 1,\n  \"details\": [\n    {\n      \"id\": 85,\n      \"send_paid_notification\": true,\n      \"send_payment_email\": null,\n      \"title\": \"Some Hosting Company\",\n      \"description\": \"Your purchase at Some Hosting Company\",\n      \"payment_method\": \"instant\",\n      \"callback_url\": \"https://yourcallbackurl.com/callbacks\",\n      \"underpaid_cover_pct\": \"0.0\",\n      \"details_id\": \"301\",\n      \"price_currency\": \"EUR\",\n      \"receive_currency\": \"BTC\",\n      \"items\": [\n        {\n          \"id\": 139,\n          \"description\": \"Very big server\",\n          \"quantity\": 1,\n          \"price\": \"10.8\",\n          \"item_id\": \"401\"\n        },\n        {\n          \"id\": 140,\n          \"description\": \"Smaller server\",\n          \"quantity\": 2,\n          \"price\": \"10.8\",\n          \"item_id\": \"401\"\n        }\n      ]\n    }\n  ]\n}","language":"json","status":200},{"name":"","code":"{\n\t\"message\": \"Auth Token is not valid\",\n\t\"reason\": \"BadAuthToken\"\n}","language":"json","status":401}]},"params":[{"name":"page","type":"int","default":"1","desc":"Current page number","required":false,"in":"body","ref":"","_id":"627a7cbb49ae24005f13bfd5"},{"name":"per_page","type":"int","default":"100","desc":"Number of subscription details per page (max - 100)","required":false,"in":"body","ref":"","_id":"627a7cbb49ae24005f13bfd6"}],"examples":{"codes":[{"code":"curl --location --request GET 'https://sandbox.coingate.com/api/v2/billing/details' \\\n--header 'Content-Type: application/json' \\\n--header 'Authorization: Bearer YOUR_TOKEN_GOES_HERE' \\\n--data-raw ''","language":"curl"}]},"method":"get"},"next":{"description":"","pages":[]},"title":"Get Subscription Details","type":"endpoint","slug":"get-subscription-details","excerpt":"Retrieves all subscription details.\n\n❗To create requests within the CoinGate system the user should have an authentication token. To get it, please follow the instructions <a href=\"https://developer.coingate.com/docs/api-authentication\" target=\"_blank\">here</a>.","body":"","updates":[],"order":8,"isReference":false,"hidden":false,"sync_unique":"","link_url":"","link_external":false,"_id":"627a7a08fb93810013ef87b9","createdAt":"2022-05-10T14:43:20.664Z","user":"5530bf7457cea10d00a3aa3a","category":{"sync":{"isSync":false,"url":""},"pages":[],"title":"Billing","slug":"billing","order":5,"from_sync":false,"reference":false,"_id":"5e7b51281ac49702d745882c","createdAt":"2020-03-25T12:40:08.657Z","version":"5adcc1185cd1890003da8165","project":"5530bfac57cea10d00a3aa3b","__v":0},"version":{"version":"2","version_clean":"2.0.0","codename":"","is_stable":true,"is_beta":false,"is_hidden":false,"is_deprecated":false,"categories":["5adcc1185cd1890003da8166","5adcc1185cd1890003da8167","5adcf4b3ce4b3f00035317e9","5adfb8e9452bd900036d115b","5e7b51281ac49702d745882c","5e7b526560c6cc004f25ca3e","61c47c8dc69d6b000f961812","62289a8cb831c9003650b36c","62615ded4828c0003015b8a2","627511250a8fbb052a794d80"],"_id":"5adcc1185cd1890003da8165","project":"5530bfac57cea10d00a3aa3b","createdAt":"2018-04-22T17:06:32.152Z","releaseDate":"2018-04-22T17:06:32.152Z","__v":9},"project":"5530bfac57cea10d00a3aa3b","__v":7,"parentDoc":null}