{"info":{"_postman_id":"99a3717a-3edd-4d8c-b386-b60303bfab68","name":"NOWPayments API","description":"<html><head></head><body><p>NOWPayments is a non-custodial cryptocurrency payment processing platform. Accept payments in a wide range of cryptos and get them instantly converted into a coin of your choice and sent to your wallet. Keeping it simple - no excess.</p>\n</body></html>","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"owner":"103119","collectionId":"99a3717a-3edd-4d8c-b386-b60303bfab68","publishedId":"S1EUtawE","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"EF5B25"},"publishDate":"2019-04-22T21:19:15.000Z"},"item":[{"name":"1. Get API status","id":"b24a0d8e-e4a0-459d-8071-468b45bee017","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://api.nowpayments.io/v1/status","description":"<p>This is a method to get information about the current state of the API. If everything is OK, you will receive an \"OK\" message. Otherwise, you'll see some error.</p>\n","urlObject":{"protocol":"https","path":["v1","status"],"host":["api","nowpayments","io"],"query":[],"variable":[]}},"response":[{"id":"0f1817e2-6b27-4c4a-b495-0a6ffb4d4679","name":"1. Get API status","originalRequest":{"method":"GET","header":[],"url":"https://api.nowpayments.io/v1/status"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 18 Apr 2019 13:37:08 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"16"},{"key":"Connection","value":"keep-alive"},{"key":"X-DNS-Prefetch-Control","value":"off"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"Strict-Transport-Security","value":"max-age=15552000; includeSubDomains"},{"key":"Strict-Transport-Security","value":"max-age=15768000"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"Vary","value":"Origin"},{"key":"Expect-CT","value":"max-age=604800, report-uri=\"https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct\""},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"4c97081ce9509700-FRA"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"OK\"\n}"}],"_postman_id":"b24a0d8e-e4a0-459d-8071-468b45bee017"},{"name":"2. Get available currencies","id":"dc663c2c-a0b7-4ac7-a25d-250f3f907235","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"x-api-key","value":"<your_api_key>","type":"text"}],"url":"https://api.nowpayments.io/v1/currencies","description":"<p>This is a method for obtaining information about the cryptocurrencies available for payments. This depends on the cryptocurrency you choose for your particular store.</p>\n","urlObject":{"protocol":"https","path":["v1","currencies"],"host":["api","nowpayments","io"],"query":[],"variable":[]}},"response":[{"id":"99ceaa05-ec95-45ed-8813-e6f9527d5cdd","name":"2. Get available currencies","originalRequest":{"method":"GET","header":[{"key":"x-api-key","value":"<your_api_key>","type":"text"}],"url":"https://api.nowpayments.io/v1/currencies"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 18 Apr 2019 13:37:58 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"X-DNS-Prefetch-Control","value":"off"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"Strict-Transport-Security","value":"max-age=15552000; includeSubDomains"},{"key":"Strict-Transport-Security","value":"max-age=15768000"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"Vary","value":"Origin"},{"key":"Expect-CT","value":"max-age=604800, report-uri=\"https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct\""},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"4c9709535a6e9700-FRA"},{"key":"Content-Encoding","value":"gzip"}],"cookie":[],"responseTime":null,"body":"{\n    \"currencies\": [\n        \"btc\",\n        \"eth\",\n        \"xrp\",\n        \"bch\",\n        \"eos\",\n        \"bnb\",\n        \"usdt\",\n        \"xlm\",\n        \"ada\",\n        \"trx\",\n        \"xmr\",\n        \"dash\",\n        \"bsv\",\n        \"iota\",\n        \"xtz\",\n        \"neo\",\n        \"etc\",\n        \"mkr\",\n        \"ont\",\n        \"xem\",\n        \"bat\",\n        \"zec\",\n        \"vet\",\n        \"doge\",\n        \"btg\",\n        \"omg\",\n        \"waves\",\n        \"qtum\",\n        \"usdc\",\n        \"rep\",\n        \"lsk\",\n        \"dcr\",\n        \"nano\",\n        \"tusd\",\n        \"rvn\",\n        \"zrx\",\n        \"hot\",\n        \"link\",\n        \"icx\",\n        \"dgb\",\n        \"btt\",\n        \"iost\",\n        \"ae\",\n        \"enj\",\n        \"xvg\",\n        \"kmd\",\n        \"strat\",\n        \"pax\",\n        \"wtc\",\n        \"snt\",\n        \"dai\",\n        \"dgtx\",\n        \"fct\",\n        \"gnt\",\n        \"wax\",\n        \"ardr\",\n        \"ppt\",\n        \"ark\",\n        \"maid\",\n        \"hc\",\n        \"gusd\",\n        \"xzc\",\n        \"lrc\",\n        \"r\",\n        \"aion\",\n        \"mana\",\n        \"loom\",\n        \"pivx\",\n        \"rdd\",\n        \"elf\",\n        \"powr\",\n        \"poly\",\n        \"dent\",\n        \"bnt\",\n        \"zen\",\n        \"knc\",\n        \"nexo\",\n        \"rlc\",\n        \"storj\",\n        \"iotx\",\n        \"dgd\",\n        \"eng\",\n        \"eurs\",\n        \"fun\",\n        \"pay\",\n        \"nxt\",\n        \"grs\",\n        \"gas\",\n        \"cmt\",\n        \"cnd\",\n        \"brd\",\n        \"cvc\",\n        \"mft\",\n        \"mith\",\n        \"part\",\n        \"tel\",\n        \"go\",\n        \"smart\",\n        \"ant\",\n        \"storm\",\n        \"gto\",\n        \"gno\",\n        \"evx\",\n        \"fet\",\n        \"srn\",\n        \"ignis\",\n        \"bqx\",\n        \"rcn\",\n        \"nav\",\n        \"emc\",\n        \"dcn\",\n        \"noah\",\n        \"adx\",\n        \"qrl\",\n        \"pma\",\n        \"edg\",\n        \"snm\",\n        \"vee\",\n        \"dnt\",\n        \"arn\",\n        \"dlt\",\n        \"rfr\",\n        \"key\",\n        \"sls\",\n        \"vib\",\n        \"bcpt\",\n        \"nim\",\n        \"mer\",\n        \"adt\",\n        \"pot\",\n        \"rads\",\n        \"dyn\",\n        \"xel\",\n        \"bkx\",\n        \"up\",\n        \"hmq\",\n        \"abyss\",\n        \"zap\",\n        \"bsd\",\n        \"gup\",\n        \"trst\",\n        \"stx\",\n        \"ptoy\",\n        \"ok\",\n        \"swt\",\n        \"tix\",\n        \"meme\",\n        \"synx\",\n        \"iop\",\n        \"betr\",\n        \"proc\",\n        \"ebst\",\n        \"ong\",\n        \"ht\",\n        \"rdn\",\n        \"poe\"\n    ]\n}"}],"_postman_id":"dc663c2c-a0b7-4ac7-a25d-250f3f907235"},{"name":"3. Get estimated price","id":"289aafa2-2695-439a-9566-4ffa063d3696","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"x-api-key","value":"<your_api_key>","type":"text"}],"url":"https://api.nowpayments.io/v1/estimate?amount=3999.5000&currency_from=usd&currency_to=btc","description":"<p>This is a method for calculating the approximate price in cryptocurrency for a given value in Fiat currency. You will need to provide the initial cost in the Fiat currency (amount, currency_from) and the necessary cryptocurrency (currency_to)</p>\n","urlObject":{"protocol":"https","path":["v1","estimate"],"host":["api","nowpayments","io"],"query":[{"key":"amount","value":"3999.5000"},{"key":"currency_from","value":"usd"},{"key":"currency_to","value":"btc"}],"variable":[]}},"response":[{"id":"4e6e7dab-ed3e-4644-9943-c265008d9752","name":"3. Get estimate price","originalRequest":{"method":"GET","header":[{"key":"x-api-key","value":"<your_api_key>","type":"text"}],"url":{"raw":"https://api.nowpayments.io/v1/estimate?amount=3999.5000&currency_from=usd&currency_to=btc","protocol":"https","host":["api","nowpayments","io"],"path":["v1","estimate"],"query":[{"key":"amount","value":"3999.5000"},{"key":"currency_from","value":"usd"},{"key":"currency_to","value":"btc"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 18 Apr 2019 13:38:31 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"X-DNS-Prefetch-Control","value":"off"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"Strict-Transport-Security","value":"max-age=15552000; includeSubDomains"},{"key":"Strict-Transport-Security","value":"max-age=15768000"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"Vary","value":"Origin"},{"key":"Expect-CT","value":"max-age=604800, report-uri=\"https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct\""},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"4c970a1b7b2e9700-FRA"},{"key":"Content-Encoding","value":"gzip"}],"cookie":[],"responseTime":null,"body":"{\n    \"currency_from\": \"usd\",\n    \"amount_from\": 3999.5,\n    \"currency_to\": \"btc\",\n    \"estimated_amount\": 0.7566495\n}"}],"_postman_id":"289aafa2-2695-439a-9566-4ffa063d3696"},{"name":"4. Create payment","id":"10397a15-a1a1-4762-9d10-280a4e31a9a6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"x-api-key","value":"<your_key>","type":"text"},{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"price_amount\": 3999.5,\n  \"price_currency\": \"usd\",\n  \"pay_amount\": 0.8102725,\n  \"pay_currency\": \"btc\",\n  \"order_id\": \"RGDBP-21314\",\n  \"order_description\": \"Apple Macbook Pro 2019 x 1\"\n}"},"url":"https://api.nowpayments.io/v1/payment","description":"<p>This is the method to create a payment. You need to provide your data as a JSON-object payload. Next is a description of the required request fields:</p>\n<ul>\n<li>price_amount (required) - price in Fiat currency</li>\n<li>price_currency (required) - Fiat currency price</li>\n<li>pay_amount (required) - price in cryptocurrency</li>\n<li>pay_currency (required) - cryptocurrency price</li>\n<li>order_id (optional) - inner store order ID, e.g. \"RGDBP-21314\"</li>\n<li>order_description (optional) - inner store order description, e.g. \"Apple Macbook Pro 2019 x 1\"</li>\n</ul>\n<p>Here the list of avalable statuses of payment:</p>\n<ul>\n<li>waiting</li>\n<li>finished</li>\n<li>failed</li>\n<li>refunded</li>\n<li>expired</li>\n</ul>\n","urlObject":{"protocol":"https","path":["v1","payment"],"host":["api","nowpayments","io"],"query":[],"variable":[]}},"response":[{"id":"5dad0f3e-badb-43fa-b829-08416991caba","name":"4. Create payment","originalRequest":{"method":"POST","header":[{"key":"x-api-key","value":"<your_api_key>","type":"text"},{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"price_amount\": 3999.5,\n  \"price_currency\": \"usd\",\n  \"pay_amount\": 0.8102725,\n  \"pay_currency\": \"btc\",\n  \"order_id\": \"RGDBP-21314\",\n  \"order_description\": \"Apple Macbook Pro 2019 x 1\"\n}"},"url":"https://api.nowpayments.io/v1/payment"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 18 Apr 2019 13:39:27 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"344"},{"key":"Connection","value":"keep-alive"},{"key":"X-DNS-Prefetch-Control","value":"off"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"Strict-Transport-Security","value":"max-age=15552000; includeSubDomains"},{"key":"Strict-Transport-Security","value":"max-age=15768000"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"Vary","value":"Origin"},{"key":"Expect-CT","value":"max-age=604800, report-uri=\"https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct\""},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"4c970b7f2d8d9700-FRA"}],"cookie":[],"responseTime":null,"body":"{\n    \"payment_id\": \"<your_payment_id>\",\n    \"payment_status\": \"waiting\",\n    \"pay_address\": \"<your_pay_address>\",\n    \"price_amount\": 3999.5,\n    \"price_currency\": \"usd\",\n    \"pay_amount\": 0.8102725,\n    \"pay_currency\": \"btc\",\n    \"order_id\": \"RGDBP-21314\",\n    \"order_description\": \"Apple Macbook Pro 2019 x 1\",\n    \"created_at\": \"2019-04-18T13:39:27.982Z\",\n    \"updated_at\": \"2019-04-18T13:39:27.982Z\"\n}"}],"_postman_id":"10397a15-a1a1-4762-9d10-280a4e31a9a6"},{"name":"5. Get payment status","id":"ea4d3ac2-bb93-4ccd-9d2c-6ad7a60fa2bd","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"x-api-key","value":"<your_key>","type":"text"}],"url":"https://api.nowpayments.io/v1/payment/<payment_id>","description":"<p>Get the actual information of the payment. You need to provide the ID of the payment in the request.</p>\n<p>Here the list of avalable statuses:</p>\n<ul>\n<li>waiting</li>\n<li>finished</li>\n<li>failed</li>\n<li>refunded</li>\n<li>expired</li>\n</ul>\n","urlObject":{"protocol":"https","path":["v1","payment","<payment_id>"],"host":["api","nowpayments","io"],"query":[],"variable":[]}},"response":[{"id":"47e2c23b-fb6c-4ea1-9bf6-064d5ce9d5df","name":"5. Get payment info (success)","originalRequest":{"method":"GET","header":[{"key":"x-api-key","value":"<your_api_key>","type":"text"}],"url":"https://api.nowpayments.io/v1/payment/<your_payment_id>"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 18 Apr 2019 13:40:16 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"X-DNS-Prefetch-Control","value":"off"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"Strict-Transport-Security","value":"max-age=15552000; includeSubDomains"},{"key":"Strict-Transport-Security","value":"max-age=15768000"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"Vary","value":"Origin"},{"key":"Expect-CT","value":"max-age=604800, report-uri=\"https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct\""},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"4c970cb22eaa9700-FRA"},{"key":"Content-Encoding","value":"gzip"}],"cookie":[],"responseTime":null,"body":"{\n    \"payment_id\": <your_payment_id>,\n    \"payment_status\": \"waiting\",\n    \"pay_address\": <your_payment_address,\n    \"price_amount\": 3999.5,\n    \"price_currency\": \"usd\",\n    \"pay_amount\": 0.8102725,\n    \"pay_currency\": \"btc\",\n    \"created_at\": \"2019-04-18T13:39:27.982Z\",\n    \"updated_at\": \"2019-04-18T13:40:16.512Z\"\n}"},{"id":"9b0ab457-4cc2-4c8c-ad6f-b8a35d694399","name":"5. Get payment info (not found)","originalRequest":{"method":"GET","header":[{"key":"x-api-key","value":"<your_api_key>","type":"text"}],"url":"https://api.nowpayments.io/v1/payment/<some_payment_id>"},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 18 Apr 2019 22:19:41 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"31"},{"key":"Connection","value":"keep-alive"},{"key":"X-DNS-Prefetch-Control","value":"off"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"Strict-Transport-Security","value":"max-age=15552000; includeSubDomains"},{"key":"Strict-Transport-Security","value":"max-age=15768000"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"Vary","value":"Origin"},{"key":"Expect-CT","value":"max-age=604800, report-uri=\"https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct\""},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"4c9a0590ed36c288-FRA"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Payment not found\"\n}"}],"_postman_id":"ea4d3ac2-bb93-4ccd-9d2c-6ad7a60fa2bd"}],"event":[{"listen":"prerequest","script":{"id":"d86ac99a-ff61-47fb-8979-7c085a15434f","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"af3b7bd8-05a5-4446-8c5c-4194863bb513","type":"text/javascript","exec":[""]}}]}