{"metadata":{"image":[],"title":"","description":""},"api":{"url":"/billing/details/:id","auth":"required","settings":"","results":{"codes":[{"name":"","code":"{\n    \"id\": 85,\n    \"send_paid_notification\": false,\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    \"details_id\": \"301\",\n    \"price_currency\": \"EUR\",\n    \"receive_currency\": \"BTC\",\n    \"items\": [\n        {\n            \"id\": 141,\n            \"description\": \"Very big server\",\n            \"quantity\": 1,\n            \"price\": \"10.8\",\n            \"item_id\": \"401\"\n        },\n        {\n            \"id\": 142,\n            \"description\": \"Smaller server\",\n            \"quantity\": 2,\n            \"price\": \"10.8\",\n            \"item_id\": \"401\"\n        }\n    ]\n}","language":"json","status":200}]},"params":[{"name":"id","type":"int","default":"","desc":"","required":true,"in":"path","ref":"","_id":"5e830737116c6900114007fc"}],"examples":{"codes":[{"code":"curl --location --request PATCH 'https://sandbox.coingate.com/api/v2/billing/details/85' \\\n--header 'Content-Type: application/json' \\\n--header 'Authorization: Bearer YOUR_TOKEN_GOES_HERE' \\\n--header 'Content-Type: application/json' \\\n--data-raw '{\n\t\"title\": \"Some Hosting Company\",\n\t\"description\": \"Your purchase at Some Hosting Company\",\n\t\"price_currency\": \"EUR\",\n\t\"payment_method\": \"instant\",\n\t\"send_paid_notification\": \"false\",\n\t\"details_id\": \"301\",\n\t\"items\": [\n\t\t{\n\t\t\t\"item_id\": \"401\",\n\t\t\t\"description\": \"Very big server\",\n\t\t\t\"quantity\": 1,\n\t\t\t\"price\": 10.80\n\t\t},\n\t\t{\n\t\t\t\"item_id\": \"401\",\n\t\t\t\"description\": \"Smaller server\",\n\t\t\t\"quantity\": 2,\n\t\t\t\"price\": 10.80\n\t\t}\n\t],\n \t\"callback_url\": \"https://yourcallbackurl.com/callbacks\",\n \t\"receive_currency\": \"BTC\"\n}","language":"curl"}]},"method":"patch"},"next":{"description":"","pages":[]},"title":"Edit subscription details","type":"endpoint","slug":"edit-billing-details","excerpt":"Updates details of a particular subscription details.","body":"Use same body parameters as in a POST request.","updates":[],"order":7,"isReference":false,"hidden":false,"sync_unique":"","link_url":"","link_external":false,"_id":"5e7b542d7c2d580045d5a3fa","createdAt":"2020-03-25T12:53:01.257Z","user":"5530bf7457cea10d00a3aa3a","category":{"sync":{"isSync":false,"url":""},"pages":[],"title":"Billing","slug":"billing","order":3,"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"],"_id":"5adcc1185cd1890003da8165","project":"5530bfac57cea10d00a3aa3b","createdAt":"2018-04-22T17:06:32.152Z","releaseDate":"2018-04-22T17:06:32.152Z","__v":5},"project":"5530bfac57cea10d00a3aa3b","__v":7,"parentDoc":null}