{"info":{"_postman_id":"06bf816b-95d7-4f40-bd66-5599ef7b9196","name":"Bitcoin Global","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"description":"<html><head></head><body></body></html>","owner":"11587595","collectionId":"06bf816b-95d7-4f40-bd66-5599ef7b9196","publishedId":"T1LJmUxY","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"251915","highlight":"E8C60B"},"publishDate":"2020-08-10T11:43:58.000Z"},"item":[{"name":"General","item":[{"name":"/api/v1/payment_methods","id":"e8c93a19-91e4-4f6f-ae71-e8871682b246","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Apiauth-Key","value":"{{apiKey}}","type":"text"},{"key":"Apiauth-Signature","value":"{{signature}}","type":"text"},{"key":"Apiauth-Nonce","value":"{{nonce}}","type":"text"}],"url":"https://api.bitcoin.global/api/v1/payment_methods","description":"<p>Returns a list of valid payment methods. Also contains name and code for payment methods, and possible limitations in currencies and bank name choices.</p>\n","urlObject":{"protocol":"https","path":["api","v1","payment_methods"],"host":["api","bitcoin","global"],"query":[],"variable":[]}},"response":[],"_postman_id":"e8c93a19-91e4-4f6f-ae71-e8871682b246"},{"name":"/api/v1/payment_methods/{country}","id":"f37b9b16-a56b-4e6c-b848-79558caf0be8","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Apiauth-Key","value":"{{apiKey}}","type":"text"},{"key":"Apiauth-Signature","value":"{{signature}}","type":"text"},{"key":"Apiauth-Nonce","value":"{{nonce}}","type":"text"}],"url":"https://api.bitcoin.global/api/v1/payment_methods/{country_code}","description":"<p>List of valid payment methods in the specific country.</p>\n","urlObject":{"protocol":"https","path":["api","v1","payment_methods","{country_code}"],"host":["api","bitcoin","global"],"query":[],"variable":[]}},"response":[],"_postman_id":"f37b9b16-a56b-4e6c-b848-79558caf0be8"},{"name":"/api/v1/countrycodes","id":"77672f3b-7578-48ac-a69d-d596b9e1c461","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Apiauth-Key","value":"{{apiKey}}","type":"text"},{"key":"Apiauth-Signature","value":"{{signature}}","type":"text"},{"key":"Apiauth-Nonce","value":"{{nonce}}","type":"text"}],"url":"https://api.bitcoin.global/api/v1/countrycodes","description":"<p>List of valid countrycodes for Bitcoin Global.</p>\n","urlObject":{"protocol":"https","path":["api","v1","countrycodes"],"host":["api","bitcoin","global"],"query":[],"variable":[]}},"response":[],"_postman_id":"77672f3b-7578-48ac-a69d-d596b9e1c461"},{"name":"/api/v1/currencies","id":"3dc3279b-67c7-4151-86c0-09c2f2f4405f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Apiauth-Key","value":"{{apiKey}}","type":"text"},{"key":"Apiauth-Signature","value":"{{signature}}","type":"text"},{"key":"Apiauth-Nonce","value":"{{nonce}}","type":"text"}],"url":"https://api.bitcoin.global/api/v1/currencies","description":"<p>List of valid and recognized fiat currencies for Bitcoin Global.</p>\n","urlObject":{"protocol":"https","path":["api","v1","currencies"],"host":["api","bitcoin","global"],"query":[],"variable":[]}},"response":[],"_postman_id":"3dc3279b-67c7-4151-86c0-09c2f2f4405f"}],"id":"3b8fe4cc-5f5e-474b-bacf-a1f1aee5751d","_postman_id":"3b8fe4cc-5f5e-474b-bacf-a1f1aee5751d","description":""},{"name":"Ads","item":[{"name":"/api/v1/ads","event":[{"listen":"prerequest","script":{"id":"11032015-8422-486e-b1ec-a27c8bbbab3a","exec":[""],"type":"text/javascript"}}],"id":"e50fea25-83f5-44d4-b1ea-8c00212a6fb0","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Apiauth-Key","value":"{{apiKey}}","type":"text"},{"key":"Apiauth-Nonce","value":"{{nonce}}","type":"text"},{"key":"Apiauth-Signature","value":"{{signature}}","type":"text"}],"url":"https://api.bitcoin.global/api/v1/ads?countrycode={country_code}&currency={currency}&trade_type=ONLINE_SELL","description":"<p>Returns all advertisements of the authenticated user.</p>\n","urlObject":{"protocol":"https","path":["api","v1","ads"],"host":["api","bitcoin","global"],"query":[{"key":"countrycode","value":"{country_code}"},{"key":"currency","value":"{currency}"},{"key":"trade_type","value":"ONLINE_SELL"}],"variable":[]}},"response":[],"_postman_id":"e50fea25-83f5-44d4-b1ea-8c00212a6fb0"},{"name":"/api/v1/ad-get/{id}","event":[{"listen":"prerequest","script":{"id":"9c7dfef4-84e3-4178-aee0-e70c5cc03f26","exec":[""],"type":"text/javascript"}}],"id":"da60b180-15b8-434a-b6dc-ad84d0aea604","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Apiauth-Key","value":"{{apiKey}}","type":"text"},{"key":"Apiauth-Signature","value":"{{signature}}","type":"text"},{"key":"Apiauth-Nonce","value":"{{nonce}}","type":"text"}],"url":"https://api.bitcoin.global/api/v1/ad-get/{ad_id}","description":"<p>Returns information on a single advertisement.</p>\n","urlObject":{"protocol":"https","path":["api","v1","ad-get","{ad_id}"],"host":["api","bitcoin","global"],"query":[],"variable":[]}},"response":[],"_postman_id":"da60b180-15b8-434a-b6dc-ad84d0aea604"},{"name":"/api/v1/ad-get/?ads={ad_id}","id":"fd1617a8-89ea-434a-9e32-8e6561a66877","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Apiauth-Key","value":"{{apiKey}}","type":"text"},{"key":"Apiauth-Signature","value":"{{signature}}","type":"text"},{"key":"Apiauth-Nonce","value":"{{nonce}}","type":"text"}],"url":"https://api.bitcoin.global/api/v1/ad-get?ads={ad_id}","description":"<p>Returns all ads from a list of comma separated ad ID's</p>\n","urlObject":{"protocol":"https","path":["api","v1","ad-get"],"host":["api","bitcoin","global"],"query":[{"key":"ads","value":"{ad_id}"}],"variable":[]}},"response":[],"_postman_id":"fd1617a8-89ea-434a-9e32-8e6561a66877"},{"name":"/api/v1/ad-create","event":[{"listen":"prerequest","script":{"id":"41077569-4a23-4fc2-ba93-25383ef56100","exec":["const path = `/${pm.request.url.path.join(\"/\")}`;","","const nonce = parseInt(Date.now()).toString();","","const apiKey = pm.environment.get(\"apiKey\");","const apiSecret = pm.environment.get(\"apiSecret\");","","const getParameters = pm.request.url.getQueryString().toString();","","const message = nonce + apiKey + path + getParameters;","const signature = CryptoJS.HmacSHA256(message, apiSecret).toString(CryptoJS.enc.Hex).toUpperCase();","","pm.environment.set(\"apiKey\", apiKey);","pm.environment.set(\"signature\", signature);","pm.environment.set(\"nonce\", nonce);"],"type":"text/javascript"}}],"id":"a218838d-29f0-440f-8b1d-90a5a83a1ed5","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Apiauth-Key","value":"{{apiKey}}","type":"text"},{"key":"Apiauth-Signature","value":"{{signature}}","type":"text"},{"key":"Apiauth-Nonce","value":"{{nonce}}","type":"text"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"coefficient","value":"1","type":"text"},{"key":"trade_type","value":"ONLINE_SELL","type":"text"},{"key":"price_equation","value":"btc_in_usd*BTC_in_RUB","type":"text"},{"key":"volume_coefficient_btc","value":"1","type":"text"},{"key":"account_info","value":"payment_details","type":"text"},{"key":"payment_window_minutes","value":"90","type":"text"},{"key":"track_max_amount","value":"false","type":"text"},{"key":"bank_name","value":"bank_name","type":"text"},{"key":"min_amount","value":"10","type":"text"},{"key":"max_amount","value":"0","type":"text"},{"key":"msg","value":"msg","type":"text"},{"key":"payment_method_name","value":"payment_method_name","type":"text"},{"key":"countrycode","value":"RU","type":"text"},{"key":"currency","value":"RUB","type":"text"},{"key":"online_provider","value":"NATIONAL_BANK","type":"text"},{"key":"first_time_limit_btc","value":"0","type":"text"},{"key":"require_trade_volume","value":"1","type":"text"},{"key":"require_feedback_score","value":"0","type":"text"},{"key":"reference_type","value":"SHORT","type":"text"},{"key":"display_reference","value":"true","type":"text"},{"key":"visible","value":"true","type":"text"},{"key":"floating","value":"false","type":"text","disabled":true},{"key":"lat","value":"0","type":"text","disabled":true},{"key":"lon","value":"0","type":"text","disabled":true},{"key":"city","value":"city","type":"text","disabled":true},{"key":"location_string","value":"location_string","type":"text","disabled":true},{"key":"sms_verification_required","value":"false","type":"text","disabled":true},{"key":"require_trusted_by_advertiser","value":"false","type":"text","disabled":true},{"key":"require_identification","value":"false","type":"text","disabled":true},{"key":"opening_hours","value":"[]","type":"text","disabled":true}]},"url":"https://api.bitcoin.global/api/v1/ad-create","description":"<p>Create a new advertisement.</p>\n","urlObject":{"protocol":"https","path":["api","v1","ad-create"],"host":["api","bitcoin","global"],"query":[],"variable":[]}},"response":[],"_postman_id":"a218838d-29f0-440f-8b1d-90a5a83a1ed5"},{"name":"/api/v1/ad/{ad_id}","event":[{"listen":"prerequest","script":{"id":"2d5c1e8f-cc77-4a44-adfa-29608783c177","exec":["const path = `/${pm.request.url.path.join(\"/\")}`;","","const nonce = parseInt(Date.now()).toString();","","const apiKey = pm.environment.get(\"apiKey\");","const apiSecret = pm.environment.get(\"apiSecret\");","","const getParameters = pm.request.url.getQueryString().toString();","","const message = nonce + apiKey + path + getParameters;","const signature = CryptoJS.HmacSHA256(message, apiSecret).toString(CryptoJS.enc.Hex).toUpperCase();","","pm.environment.set(\"apiKey\", apiKey);","pm.environment.set(\"signature\", signature);","pm.environment.set(\"nonce\", nonce);","console.log(signature)"],"type":"text/javascript"}}],"id":"7ecd594d-e073-4312-8b55-9197f1d51044","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Apiauth-Key","value":"{{apiKey}}","type":"text"},{"key":"Apiauth-Signature","value":"{{signature}}","type":"text"},{"key":"Apiauth-Nonce","value":"{{nonce}}","type":"text"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"coefficient","value":"1","type":"text"},{"key":"trade_type","value":"ONLINE_SELL","type":"text"},{"key":"price_equation","value":"btc_in_usd*BTC_in_UAH","type":"text"},{"key":"volume_coefficient_btc","value":"1","type":"text"},{"key":"account_info","value":"payment_details","type":"text"},{"key":"payment_window_minutes","value":"90","type":"text"},{"key":"track_max_amount","value":"false","type":"text"},{"key":"bank_name","value":"bank_name","type":"text"},{"key":"min_amount","value":"0","type":"text"},{"key":"max_amount","value":"10","type":"text"},{"key":"msg","value":"msg","type":"text"},{"key":"payment_method_name","value":"payment_method_name","type":"text"},{"key":"countrycode","value":"UA","type":"text"},{"key":"currency","value":"UAH","type":"text"},{"key":"online_provider","value":"NATIONAL_BANK","type":"text"},{"key":"first_time_limit_btc","value":"0","type":"text"},{"key":"require_trade_volume","value":"1","type":"text"},{"key":"require_feedback_score","value":"0","type":"text"},{"key":"reference_type","value":"SHORT","type":"text"},{"key":"display_reference","value":"true","type":"text"},{"key":"visible","value":"true","type":"text"},{"key":"floating","value":"false","type":"text","disabled":true},{"key":"lat","value":"0","type":"text","disabled":true},{"key":"lon","value":"0","type":"text","disabled":true},{"key":"city","value":"city","type":"text","disabled":true},{"key":"location_string","value":"location_string","type":"text","disabled":true},{"key":"sms_verification_required","value":"false","type":"text","disabled":true},{"key":"require_trusted_by_advertiser","value":"false","type":"text","disabled":true},{"key":"require_identification","value":"false","type":"text","disabled":true},{"key":"opening_hours","value":"[]","type":"text","disabled":true}]},"url":"https://api.bitcoin.global/api/v1/ad/{ad_id}","description":"<p>Sending a request to /api/ad/{ad_id}/ with the HTTP method POST for an advertisement ID that was created by the token owner results in the advertisement being updated.</p>\n","urlObject":{"protocol":"https","path":["api","v1","ad","{ad_id}"],"host":["api","bitcoin","global"],"query":[],"variable":[]}},"response":[],"_postman_id":"7ecd594d-e073-4312-8b55-9197f1d51044"},{"name":"/api/v1/ad-delete/{ad_id}","id":"c1760d29-3afb-4ecd-b6b7-e84a82d7867d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Apiauth-Key","value":"{{apiKey}}","type":"text"},{"key":"Apiauth-Signature","value":"{{signature}}","type":"text"},{"key":"Apiauth-Nonce","value":"{{nonce}}","type":"text"}],"url":"https://api.bitcoin.global/api/v1/ad-delete/{ad_id}","description":"<p>Sending a request to this endpoint with an advertisement ID created by the token owner deletes the advertisement.</p>\n","urlObject":{"protocol":"https","path":["api","v1","ad-delete","{ad_id}"],"host":["api","bitcoin","global"],"query":[],"variable":[]}},"response":[],"_postman_id":"c1760d29-3afb-4ecd-b6b7-e84a82d7867d"},{"name":"/api/v1/ad-equation/{ad_id}/","id":"85506516-6058-4798-abb9-b241d5205ee0","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Apiauth-Key","value":"{{apiKey}}","type":"text"},{"key":"Apiauth-Signature","value":"{{signature}}","type":"text"},{"key":"Apiauth-Nonce","value":"{{nonce}}","type":"text"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"price_equation","value":"btc_in_usd*USD_in_EUR*1.12","type":"text"}]},"url":"https://api.bitcoin.global/api/v1/ad-equation/{ad_id}","description":"<p>Update equation of an advertisement.</p>\n","urlObject":{"protocol":"https","path":["api","v1","ad-equation","{ad_id}"],"host":["api","bitcoin","global"],"query":[],"variable":[]}},"response":[],"_postman_id":"85506516-6058-4798-abb9-b241d5205ee0"},{"name":"/api/v1/equation/{formula}","id":"1a3ad7b7-f196-4a5d-98f4-b080ad8f458f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Apiauth-Key","type":"text","value":"{{apiKey}}"},{"key":"Apiauth-Signature","type":"text","value":"{{signature}}"},{"key":"Apiauth-Nonce","type":"text","value":"{{nonce}}"}],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"javascript"}}},"url":"https://api.bitcoin.global/api/v1/equation/{formula}","description":"<p>Calculates the current price for bitcoin with the specified equation.</p>\n","urlObject":{"protocol":"https","path":["api","v1","equation","{formula}"],"host":["api","bitcoin","global"],"query":[],"variable":[]}},"response":[],"_postman_id":"1a3ad7b7-f196-4a5d-98f4-b080ad8f458f"}],"id":"5d5ec5a6-1348-46c3-8c94-5b3e1d7432dc","_postman_id":"5d5ec5a6-1348-46c3-8c94-5b3e1d7432dc","description":""},{"name":"Wallet","item":[{"name":"Codes","item":[{"name":"/api/bg-wallet/wallet/codes","id":"18607211-86d5-4b2a-b0fc-1f141a01e5b5","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"X-API-KEY","value":"{{apiKey}}","type":"text"},{"key":"X-ACCESS-TIMESTAMP","value":"{{nonce}}","type":"text"},{"key":"X-ACCESS-SIGN","value":"{{signature}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"code\": {\n        \"amount\": \"50\",\n        \"ticker\": \"USDT\",\n        \"passphrase\": \"strongpass\",\n        \"description\": \"randomtext\"\n    }\n}"},"url":"https://api.bitcoin.global/api/bg-wallet/wallet/codes","description":"<p>allows API user to create a WB code</p>\n","urlObject":{"protocol":"https","path":["api","bg-wallet","wallet","codes"],"host":["api","bitcoin","global"],"query":[],"variable":[]}},"response":[],"_postman_id":"18607211-86d5-4b2a-b0fc-1f141a01e5b5"},{"name":"/api/bg-wallet/wallet/apply-code","id":"349d5a19-3f35-4511-89e3-747d2e9739ec","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"X-API-KEY","type":"text","value":"{{apiKey}}"},{"key":"X-ACCESS-TIMESTAMP","type":"text","value":"{{nonce}}"},{"key":"X-ACCESS-SIGN","type":"text","value":"{{signature}}"}],"body":{"mode":"raw","raw":"{\n    \"code\" : \"WBe11f4fce-2a53-4edc-b195-66b693bd77e3USDT\",\n    \"passphrase\": \"strongpass\"\n}"},"url":"https://api.bitcoin.global/api/bg-wallet/wallet/apply-code","description":"<p>allows API user to activate a WB code</p>\n","urlObject":{"protocol":"https","path":["api","bg-wallet","wallet","apply-code"],"host":["api","bitcoin","global"],"query":[],"variable":[]}},"response":[],"_postman_id":"349d5a19-3f35-4511-89e3-747d2e9739ec"}],"id":"21bc7355-cbbf-4b85-a275-b780792bd2ad","_postman_id":"21bc7355-cbbf-4b85-a275-b780792bd2ad","description":""},{"name":"/api/simple-wallet/wallet/balances","id":"e3401514-0525-4421-a22d-495fc0f683e7","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"X-API-KEY","value":"{{apiKey}}","type":"text"},{"key":"X-ACCESS-TIMESTAMP","value":"{{nonce}}","type":"text"},{"key":"X-ACCESS-SIGN","value":"{{signature}}","type":"text"}],"url":"https://api.bitcoin.global/api/simple-wallet/wallet/balances","urlObject":{"protocol":"https","path":["api","simple-wallet","wallet","balances"],"host":["api","bitcoin","global"],"query":[],"variable":[]}},"response":[],"_postman_id":"e3401514-0525-4421-a22d-495fc0f683e7"},{"name":"/api/simple-wallet/wallet/balance","id":"96653191-62c7-42ff-bd82-a393569fa8aa","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"X-API-KEY","value":"{{apiKey}}","type":"text"},{"key":"X-ACCESS-TIMESTAMP","value":"{{nonce}}","type":"text"},{"key":"X-ACCESS-SIGN","value":"{{signature}}","type":"text"}],"url":"https://api.bitcoin.global/api/simple-wallet/wallet/balance?currency=BTC","urlObject":{"protocol":"https","path":["api","simple-wallet","wallet","balance"],"host":["api","bitcoin","global"],"query":[{"key":"currency","value":"BTC"}],"variable":[]}},"response":[],"_postman_id":"96653191-62c7-42ff-bd82-a393569fa8aa"},{"name":"/api/simple-wallet/wallet/address/generate","id":"5e23722b-63cb-4d11-936c-3c6e924f6cb9","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"X-API-KEY","value":"{{apiKey}}","type":"text"},{"key":"X-ACCESS-TIMESTAMP","value":"{{nonce}}","type":"text"},{"key":"X-ACCESS-SIGN","value":"{{signature}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"currency\": \"USDT\",\n    \"network\": \"TRC20\",\n    \"label\": \"label_name\",\n    \"ipn_url\": \"https://yourwebsite.com/...\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api.bitcoin.global/api/simple-wallet/address/generate","urlObject":{"protocol":"https","path":["api","simple-wallet","address","generate"],"host":["api","bitcoin","global"],"query":[],"variable":[]}},"response":[],"_postman_id":"5e23722b-63cb-4d11-936c-3c6e924f6cb9"},{"name":"/api/simple-wallet/wallet/create_whithdrawal","id":"9444b759-9e2b-48a5-859d-f76b99806279","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"X-API-KEY","value":"{{apiKey}}","type":"text"},{"key":"X-ACCESS-TIMESTAMP","value":"{{signature}}","type":"text"},{"key":"X-ACCESS-SIGN","value":"{{nonce}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"currency\": \"USDT\",\n    \"network\": \"ERC20\", //or \"TRC20\"\n    \"address\": \"USDT_address\",\n    \"amount\": \"0.002\",\n    \"description\": \"random text\", //optional\n    \"dest_tag\": \"1390985919\", //required for some currencies\n    \"priority\": \"low\" //low or medium or high\n}","options":{"raw":{"language":"json"}}},"url":"https://api.bitcoin.global/api/simple-wallet/wallet/create_withdrawal","urlObject":{"protocol":"https","path":["api","simple-wallet","wallet","create_withdrawal"],"host":["api","bitcoin","global"],"query":[],"variable":[]}},"response":[],"_postman_id":"9444b759-9e2b-48a5-859d-f76b99806279"},{"name":"/api/simple-wallet/wallet/transactions","id":"9208b09a-9c4f-4aed-8ea8-bfa0ae0f7c71","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"X-API-KEY","value":"{{apiKey}}","type":"text"},{"key":"X-ACCESS-TIMESTAMP","value":"{{nonce}}","type":"text"},{"key":"X-ACCESS-SIGN","value":"{{signature}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"currency\": \"USDT\",\n    \"limit\": 50,\n    \"offset\": 0,\n    \"type\": null\n}","options":{"raw":{"language":"json"}}},"url":"https://api.bitcoin.global/api/simple-wallet/wallet/transactions","urlObject":{"protocol":"https","path":["api","simple-wallet","wallet","transactions"],"host":["api","bitcoin","global"],"query":[],"variable":[]}},"response":[],"_postman_id":"9208b09a-9c4f-4aed-8ea8-bfa0ae0f7c71"},{"name":"/api/simple-wallet/wallet/transaction","id":"eb8942f8-e4c8-45a8-9310-60f8b1b0ff26","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"X-API-KEY","type":"text","value":"{{apiKey}}"},{"key":"X-ACCESS-TIMESTAMP","type":"text","value":"{{nonce}}"},{"key":"X-ACCESS-SIGN","type":"text","value":"{{signature}}"}],"body":{"mode":"raw","raw":"{\n    \"id\": \"transaction_id\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api.bitcoin.global/api/simple-wallet/wallet/transaction","urlObject":{"protocol":"https","path":["api","simple-wallet","wallet","transaction"],"host":["api","bitcoin","global"],"query":[],"variable":[]}},"response":[],"_postman_id":"eb8942f8-e4c8-45a8-9310-60f8b1b0ff26"},{"name":"/api/simple-wallet/wallet/addresses","id":"965c1cad-d13d-4bc6-b79b-789451e89e87","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"X-API-KEY","value":"{{apiKey}}","type":"text"},{"key":"X-ACCESS-TIMESTAMP","value":"{{nonce}}","type":"text"},{"key":"X-ACCESS-SIGN","value":"{{signature}}","type":"text"}],"url":"https://api.bitcoin.global/api/simple-wallet/wallet/addresses","urlObject":{"protocol":"https","path":["api","simple-wallet","wallet","addresses"],"host":["api","bitcoin","global"],"query":[],"variable":[]}},"response":[],"_postman_id":"965c1cad-d13d-4bc6-b79b-789451e89e87"}],"id":"3dca6638-684f-4f3a-a266-826ef4ea745c","event":[{"listen":"prerequest","script":{"id":"3fee218f-756d-4974-8a2e-784035fb6862","type":"text/javascript","exec":["const path = `/${pm.request.url.path.join(\"/\")}`;","","const nonce = parseInt(Date.now()).toString();","","const apiKey = pm.environment.get(\"apiKey\");","const apiSecret = pm.environment.get(\"apiSecret\");","","const getParameters = pm.request.url.getQueryString().toString();","","const message = nonce + apiKey + path + getParameters;","const signature = CryptoJS.HmacSHA256(message, apiSecret).toString(CryptoJS.enc.Hex).toUpperCase();","","pm.environment.set(\"apiKey\", apiKey);","pm.environment.set(\"signature\", signature);","pm.environment.set(\"nonce\", nonce);"]}},{"listen":"test","script":{"id":"1d438b56-bd6c-4c7a-8896-43e1dd73531a","type":"text/javascript","exec":[""]}}],"_postman_id":"3dca6638-684f-4f3a-a266-826ef4ea745c","description":""},{"name":"Trade","item":[{"name":"/api/v1/dashboard","id":"0db69820-0c9f-4f11-9080-6c5aa3ac8eca","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Apiauth-Key","value":"{{apiKey}}","type":"text"},{"key":"Apiauth-Signature","value":"{{signature}}","type":"text"},{"key":"Apiauth-Nonce","value":"{{nonce}}","type":"text"}],"url":"https://api.bitcoin.global/api/v1/dashboard","description":"<p>This endpoint retrieves open deals for your account</p>\n","urlObject":{"protocol":"https","path":["api","v1","dashboard"],"host":["api","bitcoin","global"],"query":[],"variable":[]}},"response":[],"_postman_id":"0db69820-0c9f-4f11-9080-6c5aa3ac8eca"}],"id":"eccf2413-1663-494e-9226-56a3ae94f285","event":[{"listen":"prerequest","script":{"id":"62d6689f-8eeb-4919-8e68-8a2f579c73c6","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"55c826bf-d0ec-44ad-88df-b44bdf368285","type":"text/javascript","exec":[""]}}],"_postman_id":"eccf2413-1663-494e-9226-56a3ae94f285","description":""}],"event":[{"listen":"prerequest","script":{"id":"3967973a-978a-457c-ba88-66e03d9fc2d8","type":"text/javascript","exec":["const path = `/${pm.request.url.path.join(\"/\")}`;","const nonce = parseInt(Date.now()).toString();","console.log(nonce);","console.log(path);","const apiKey = pm.environment.get(\"apiKey\");","const apiSecret = pm.environment.get(\"apiSecret\");","","const getParameters = pm.request.url.getQueryString().toString();","console.log(getParameters);","const message = nonce + apiKey + path + getParameters;","const signature = CryptoJS.HmacSHA256(message, apiSecret).toString(CryptoJS.enc.Hex).toUpperCase();","console.log('message', message);","console.log('signature', signature);","console.log('apiSecret', apiSecret);","pm.environment.set(\"apiKey\", apiKey);","pm.environment.set(\"signature\", signature);","pm.environment.set(\"nonce\", nonce);"]}},{"listen":"test","script":{"id":"41473c8e-9a38-46be-ae02-0aa4f97f5fb5","type":"text/javascript","exec":[""]}}]}