{"info":{"_postman_id":"bead8006-8b6b-4c5d-b2e0-9ce7768b3e9d","name":"Nanswap Pay API","description":"<html><head></head><body><p>REST API for Nanswap Pay. Set the SECRET_API_KEY variable before use.</p>\n</body></html>","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"owner":"10524662","collectionId":"bead8006-8b6b-4c5d-b2e0-9ce7768b3e9d","publishedId":"2sBXwpNWaq","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"FF6C37"},"publishDate":"2026-06-03T15:07:29.000Z"},"item":[{"name":"Create order","id":"ffc6544e-7449-4346-b10d-fc6d648d2283","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"x-nanswap-pay-key","value":""}],"body":{"mode":"raw","raw":"{\n  \"priceAmount\": 10,\n  \"priceCurrency\": \"USD\",\n  \"payinCurrency\": \"XNO\",\n  \"invoiceId\": \"order_123\",\n  \"callbackUrl\": \"https://yoursite.com/webhooks/nanswap\",\n  \"successUrl\": \"https://yoursite.com/thank-you\",\n  \"cancelUrl\": \"https://yoursite.com/cart\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api.nanswap.com/pay/order","description":"<p>Create a new payment invoice. Returns a deposit address the customer should send funds to.</p>\n","urlObject":{"path":["order"],"host":["https://api.nanswap.com/pay"],"query":[],"variable":[]}},"response":[],"_postman_id":"ffc6544e-7449-4346-b10d-fc6d648d2283"},{"name":"Get order","id":"f3764053-ab14-49c3-a109-35375241c80e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://api.nanswap.com/pay/order?id=INVOICE_ID","description":"<p>Get the current status of an invoice. No authentication required.</p>\n","urlObject":{"path":["order"],"host":["https://api.nanswap.com/pay"],"query":[{"description":{"content":"<p>invoiceId returned when the order was created</p>\n","type":"text/plain"},"key":"id","value":"INVOICE_ID"}],"variable":[]}},"response":[],"_postman_id":"f3764053-ab14-49c3-a109-35375241c80e"},{"name":"Get order estimate","id":"af5136c3-de5c-4b83-8c9a-7f4ddfa3165d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"x-nanswap-pay-key","value":""}],"url":"https://api.nanswap.com/pay/order-estimate?payinCurrency=XNO&priceAmount=10&priceCurrency=USD","description":"<p>Get an estimated amount the customer needs to pay before creating an invoice.</p>\n","urlObject":{"path":["order-estimate"],"host":["https://api.nanswap.com/pay"],"query":[{"description":{"content":"<p>Currency the customer pays in</p>\n","type":"text/plain"},"key":"payinCurrency","value":"XNO"},{"description":{"content":"<p>Amount to charge</p>\n","type":"text/plain"},"key":"priceAmount","value":"10"},{"description":{"content":"<p>Currency of the price</p>\n","type":"text/plain"},"key":"priceCurrency","value":"USD"},{"disabled":true,"description":{"content":"<p>Override payout currency (optional)</p>\n","type":"text/plain"},"key":"payoutCurrency","value":""}],"variable":[]}},"response":[],"_postman_id":"af5136c3-de5c-4b83-8c9a-7f4ddfa3165d"},{"name":"List invoices","id":"ca022fa2-28ce-4669-952a-1ce07e64c071","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"x-nanswap-pay-key","value":""}],"url":"https://api.nanswap.com/pay/invoices?page=1","description":"<p>List all invoices for your merchant account, sorted by most recent.</p>\n","urlObject":{"path":["invoices"],"host":["https://api.nanswap.com/pay"],"query":[{"description":{"content":"<p>Page number (20 per page)</p>\n","type":"text/plain"},"key":"page","value":"1"}],"variable":[]}},"response":[],"_postman_id":"ca022fa2-28ce-4669-952a-1ce07e64c071"},{"name":"Get payin currencies","id":"8593e6e9-cdb7-42c0-9ac2-45ae9d04acea","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://api.nanswap.com/pay/payin-currencies","description":"<p>Returns all currencies available for the customer to pay in. No authentication required.</p>\n","urlObject":{"path":["payin-currencies"],"host":["https://api.nanswap.com/pay"],"query":[],"variable":[]}},"response":[],"_postman_id":"8593e6e9-cdb7-42c0-9ac2-45ae9d04acea"},{"name":"Get fiat currencies","id":"75fc71ac-9637-4cc7-a872-fb23c05812d1","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://api.nanswap.com/pay/fiat-currencies","description":"<p>Returns all currencies available as priceCurrency (fiat + XNO). No authentication required.</p>\n","urlObject":{"path":["fiat-currencies"],"host":["https://api.nanswap.com/pay"],"query":[],"variable":[]}},"response":[],"_postman_id":"75fc71ac-9637-4cc7-a872-fb23c05812d1"}],"event":[{"listen":"prerequest","script":{"id":"4959351e-58aa-400b-b461-f96184b2fe96","type":"text/javascript","packages":{},"requests":{},"exec":[""]}},{"listen":"test","script":{"id":"14720c38-7d9c-413c-951a-fa3bb3558612","type":"text/javascript","packages":{},"requests":{},"exec":[""]}}],"variable":[{"key":"BASE_URL","value":"https://api.nanswap.com/pay"},{"key":"SECRET_API_KEY","value":""}]}