{"info":{"_postman_id":"2cf1701a-4314-42ee-a2be-5f6a1593546f","name":"Tomapay API v1","description":"<html><head></head><body><p>Tomapay 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<p>If you need a sandbox environment or have some question about Tomapay contact with support team.</p>\n</body></html>","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"owner":"496712","collectionId":"2cf1701a-4314-42ee-a2be-5f6a1593546f","publishedId":"U16nLjuR","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"EF5B25"},"publishDate":"2021-09-14T11:28:10.000Z"},"item":[{"name":"Get Available Currencies","id":"7eee00af-bd07-4001-8629-ea8cb00b2188","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://api.tomapay.com/rest/v1/get/valid/pairs?access_token=nTiNTK2DSvoc8E2NH","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","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"2cf1701a-4314-42ee-a2be-5f6a1593546f","id":"2cf1701a-4314-42ee-a2be-5f6a1593546f","name":"Tomapay API v1","type":"collection"}},"urlObject":{"protocol":"http","path":["rest","v1","get","valid","pairs"],"host":["api","tomapay","com"],"query":[{"key":"access_token","value":"nTiNTK2DSvoc8E2NH"}],"variable":[]}},"response":[{"id":"850aa2b4-fd30-403b-9031-39a29d9be20d","name":"Get Available Pairs","originalRequest":{"method":"GET","header":[],"url":{"raw":"http://api.tomapay.com/rest/v1/get/valid/pairs?access_token=nTiNTK2DSvoc8E2NH","protocol":"http","host":["api","tomapay","com"],"path":["rest","v1","get","valid","pairs"],"query":[{"key":"access_token","value":"nTiNTK2DSvoc8E2NH"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Access-Control-Allow-Headers","value":"Origin, X-Requested-With, Content-Type, Accept, Authorization, X-Requested-With"},{"key":"Access-Control-Allow-Methods","value":"PUT, GET, POST, DELETE, OPTIONS"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Cache-Control","value":"no-store"},{"key":"Content-Encoding","value":"gzip"},{"key":"Content-Type","value":"application/json"},{"key":"Corstest","value":"*"},{"key":"Date","value":"Tue, 14 Sep 2021 10:25:32 GMT"},{"key":"Pragma","value":"no-cache"},{"key":"Set-Cookie","value":"galaxy-sticky=Je8YQMBFKq5vN6e87-1bvy8; Path=/; HttpOnly; SameSite=Lax"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Transfer-Encoding","value":"chunked"}],"cookie":[],"responseTime":null,"body":"{\n    \"validPairs\": [\n        {\n            \"symbol\": \"POLY\",\n            \"quote\": \"1.382372\",\n            \"icon\": \"https://media.switchain.com/icons-png/poly.png\",\n            \"digits\": 6,\n            \"maxLimit\": \"6871.72442664\",\n            \"minLimit\": \"123.17057767\",\n            \"chainPair\": \"ETH-BTC\"\n        },\n        {\n            \"symbol\": \"ZRX\",\n            \"quote\": \"0.987766\",\n            \"icon\": \"https://media.switchain.com/icons-png/zrx.png\",\n            \"digits\": 6,\n            \"maxLimit\": \"4934.56789630\",\n            \"minLimit\": \"88.44847968\",\n            \"chainPair\": \"ETH-BTC\"\n        },\n        {\n            \"symbol\": \"ICX\",\n            \"quote\": \"0.5470121285508276\",\n            \"icon\": \"https://media.switchain.com/icons-png/icx.png\",\n            \"digits\": 18,\n            \"maxLimit\": \"2661.86225489\",\n            \"minLimit\": \"47.71191207\",\n            \"chainPair\": \"ICX-BTC\"\n        },\n        {\n            \"symbol\": \"OMG\",\n            \"quote\": \"0.115246\",\n            \"icon\": \"https://media.switchain.com/icons-png/omg.png\",\n            \"digits\": 6,\n            \"maxLimit\": \"573.03015481\",\n            \"minLimit\": \"10.27114168\",\n            \"chainPair\": \"ETH-BTC\"\n        },\n        {\n            \"symbol\": \"COMP\",\n            \"quote\": \"0.002595\",\n            \"icon\": \"https://media.switchain.com/icons-png/comp.png\",\n            \"digits\": 6,\n            \"maxLimit\": \"12.92325029\",\n            \"minLimit\": \"0.23163970\",\n            \"chainPair\": \"ETH-BTC\"\n        },\n        {\n            \"symbol\": \"USDT\",\n            \"quote\": \"1\",\n            \"icon\": \"https://media.switchain.com/icons-png/usdt.png\",\n            \"digits\": 6,\n            \"maxLimit\": \"5000.00000000\",\n            \"minLimit\": \"89.62130174\",\n            \"chainPair\": \"ETH-BTC\"\n        },\n        {\n            \"symbol\": \"REP\",\n            \"quote\": \"0.03968\",\n            \"icon\": \"https://media.switchain.com/icons-png/rep.png\",\n            \"digits\": 6,\n            \"maxLimit\": \"196.93463816\",\n            \"minLimit\": \"3.52990773\",\n            \"chainPair\": \"ETH-BTC\"\n        },\n        {\n            \"symbol\": \"LINK\",\n            \"quote\": \"0.036831\",\n            \"icon\": \"https://media.switchain.com/icons-png/link.png\",\n            \"digits\": 6,\n            \"maxLimit\": \"183.48328425\",\n            \"minLimit\": \"3.28880216\",\n            \"chainPair\": \"ETH-BTC\"\n        },\n        {\n            \"symbol\": \"FUN\",\n            \"quote\": \"45.416648\",\n            \"icon\": \"https://media.switchain.com/icons-png/fun.png\",\n            \"digits\": 6,\n            \"maxLimit\": \"225154.58321808\",\n            \"minLimit\": \"4035.72936833\",\n            \"chainPair\": \"ETH-BTC\"\n        },\n        {\n            \"symbol\": \"BNT\",\n            \"quote\": \"0.252549\",\n            \"icon\": \"https://media.switchain.com/icons-png/bnt.png\",\n            \"digits\": 6,\n            \"maxLimit\": \"1255.47963354\",\n            \"minLimit\": \"22.50354381\",\n            \"chainPair\": \"ETH-BTC\"\n        },\n        {\n            \"symbol\": \"POWR\",\n            \"quote\": \"2.648846\",\n            \"icon\": \"https://media.switchain.com/icons-png/powr.png\",\n            \"digits\": 6,\n            \"maxLimit\": \"13168.08262713\",\n            \"minLimit\": \"236.02814130\",\n            \"chainPair\": \"ETH-BTC\"\n        },\n        {\n            \"symbol\": \"REQ\",\n            \"quote\": \"4.589474\",\n            \"icon\": \"https://media.switchain.com/icons-png/req.png\",\n            \"digits\": 6,\n            \"maxLimit\": \"22892.19841466\",\n            \"minLimit\": \"410.32572434\",\n            \"chainPair\": \"ETH-BTC\"\n        },\n        {\n            \"symbol\": \"SNT\",\n            \"quote\": \"10.954779\",\n            \"icon\": \"https://media.switchain.com/icons-png/snt.png\",\n            \"digits\": 6,\n            \"maxLimit\": \"54384.18125000\",\n            \"minLimit\": \"974.79622358\",\n            \"chainPair\": \"ETH-BTC\"\n        },\n        {\n            \"symbol\": \"TUSD\",\n            \"quote\": \"1.000459\",\n            \"icon\": \"https://media.switchain.com/icons-png/tusd.png\",\n            \"digits\": 6,\n            \"maxLimit\": \"5000.00000000\",\n            \"minLimit\": \"89.62130174\",\n            \"chainPair\": \"ETH-BTC\"\n        },\n        {\n            \"symbol\": \"ETH\",\n            \"quote\": \"0.00030198\",\n            \"icon\": \"https://media.switchain.com/icons-png/eth.png\",\n            \"digits\": 8,\n            \"maxLimit\": \"1.49862519\",\n            \"minLimit\": \"0.02686175\",\n            \"chainPair\": \"ETH-BTC\"\n        },\n        {\n            \"symbol\": \"PPT\",\n            \"quote\": \"0.500804\",\n            \"icon\": \"https://media.switchain.com/icons-png/ppt.png\",\n            \"digits\": 6,\n            \"maxLimit\": \"2472.57018640\",\n            \"minLimit\": \"44.31899175\",\n            \"chainPair\": \"ETH-BTC\"\n        },\n        {\n            \"symbol\": \"USDC\",\n            \"quote\": \"1.000459\",\n            \"icon\": \"https://media.switchain.com/icons-png/usdc.png\",\n            \"digits\": 6,\n            \"maxLimit\": \"5000.00000000\",\n            \"minLimit\": \"89.62130174\",\n            \"chainPair\": \"ETH-BTC\"\n        },\n        {\n            \"symbol\": \"SNX\",\n            \"quote\": \"0.080324\",\n            \"icon\": \"https://media.switchain.com/icons-png/snx.png\",\n            \"digits\": 6,\n            \"maxLimit\": \"401.17634191\",\n            \"minLimit\": \"7.19078920\",\n            \"chainPair\": \"ETH-BTC\"\n        },\n        {\n            \"symbol\": \"LOOM\",\n            \"quote\": \"10.092593\",\n            \"icon\": \"https://media.switchain.com/icons-png/loom.png\",\n            \"digits\": 6,\n            \"maxLimit\": \"49893.74426606\",\n            \"minLimit\": \"894.30846200\",\n            \"chainPair\": \"ETH-BTC\"\n        },\n        {\n            \"symbol\": \"MANA\",\n            \"quote\": \"1.211111\",\n            \"icon\": \"https://media.switchain.com/icons-png/mana.png\",\n            \"digits\": 6,\n            \"maxLimit\": \"6026.48264558\",\n            \"minLimit\": \"108.02024393\",\n            \"chainPair\": \"ETH-BTC\"\n        },\n        {\n            \"symbol\": \"LTC\",\n            \"quote\": \"0.00560217\",\n            \"icon\": \"https://media.switchain.com/icons-png/ltc.png\",\n            \"digits\": 8,\n            \"maxLimit\": \"27.77235510\",\n            \"minLimit\": \"0.49779892\",\n            \"chainPair\": \"LTC-BTC\"\n        },\n        {\n            \"symbol\": \"BAT\",\n            \"quote\": \"1.311673\",\n            \"icon\": \"https://media.switchain.com/icons-png/bat.png\",\n            \"digits\": 6,\n            \"maxLimit\": \"6532.20037260\",\n            \"minLimit\": \"117.08486013\",\n            \"chainPair\": \"ETH-BTC\"\n        },\n        {\n            \"symbol\": \"CVC\",\n            \"quote\": \"1.985428\",\n            \"icon\": \"https://media.switchain.com/icons-png/cvc.png\",\n            \"digits\": 6,\n            \"maxLimit\": \"9886.61377428\",\n            \"minLimit\": \"177.21023926\",\n            \"chainPair\": \"ETH-BTC\"\n        },\n        {\n            \"symbol\": \"DASH\",\n            \"quote\": \"0.00499105\",\n            \"icon\": \"https://media.switchain.com/icons-png/dash.png\",\n            \"digits\": 8,\n            \"maxLimit\": \"24.83226183\",\n            \"minLimit\": \"0.44509993\",\n            \"chainPair\": \"DASH-BTC\"\n        },\n        {\n            \"symbol\": \"KNC\",\n            \"quote\": \"0.55783\",\n            \"icon\": \"https://media.switchain.com/icons-png/knc.png\",\n            \"digits\": 6,\n            \"maxLimit\": \"2779.34172915\",\n            \"minLimit\": \"49.81764475\",\n            \"chainPair\": \"ETH-BTC\"\n        },\n        {\n            \"symbol\": \"DAI\",\n            \"quote\": \"1\",\n            \"icon\": \"https://media.switchain.com/icons-png/dai.png\",\n            \"digits\": 6,\n            \"maxLimit\": \"5000.00000000\",\n            \"minLimit\": \"89.62130174\",\n            \"chainPair\": \"ETH-BTC\"\n        },\n        {\n            \"symbol\": \"MKR\",\n            \"quote\": \"0.00035\",\n            \"icon\": \"https://media.switchain.com/icons-png/mkr.png\",\n            \"digits\": 6,\n            \"maxLimit\": \"1.74633926\",\n            \"minLimit\": \"0.03130184\",\n            \"chainPair\": \"ETH-BTC\"\n        },\n        {\n            \"symbol\": \"UNI\",\n            \"quote\": \"0.042989\",\n            \"icon\": \"https://media.switchain.com/icons-png/uni.png\",\n            \"digits\": 6,\n            \"maxLimit\": \"214.43130581\",\n            \"minLimit\": \"3.84352255\",\n            \"chainPair\": \"ETH-BTC\"\n        },\n        {\n            \"symbol\": \"WBTC\",\n            \"quote\": \"0.000022\",\n            \"icon\": \"https://media.switchain.com/icons-png/wbtc.png\",\n            \"digits\": 6,\n            \"maxLimit\": \"0.10876836\",\n            \"minLimit\": \"0.00194959\",\n            \"chainPair\": \"ETH-BTC\"\n        },\n        {\n            \"symbol\": \"YFI\",\n            \"quote\": \"0.00003\",\n            \"icon\": \"https://media.switchain.com/icons-png/yfi.png\",\n            \"digits\": 6,\n            \"maxLimit\": \"0.15068690\",\n            \"minLimit\": \"0.00270095\",\n            \"chainPair\": \"ETH-BTC\"\n        },\n        {\n            \"symbol\": \"BCH\",\n            \"quote\": \"0.00160767\",\n            \"icon\": \"https://media.switchain.com/icons-png/bch.png\",\n            \"digits\": 8,\n            \"maxLimit\": \"8.01828178\",\n            \"minLimit\": \"0.14372177\",\n            \"chainPair\": \"BCH-BTC\"\n        },\n        {\n            \"symbol\": \"SOL\",\n            \"quote\": \"0.005970444\",\n            \"icon\": \"https://media.switchain.com/icons-png/sol.png\",\n            \"digits\": 9,\n            \"maxLimit\": \"29.73073521\",\n            \"minLimit\": \"0.53290144\",\n            \"chainPair\": \"SOL-BTC\"\n        },\n        {\n            \"symbol\": \"AAVE\",\n            \"quote\": \"0.002988\",\n            \"icon\": \"https://media.switchain.com/icons-png/aave.png\",\n            \"digits\": 6,\n            \"maxLimit\": \"14.91580475\",\n            \"minLimit\": \"0.26735477\",\n            \"chainPair\": \"ETH-BTC\"\n        },\n        {\n            \"symbol\": \"UST\",\n            \"quote\": \"0.998876\",\n            \"icon\": \"https://media.switchain.com/icons-png/ust.png\",\n            \"digits\": 6,\n            \"maxLimit\": \"5000.00000000\",\n            \"minLimit\": \"89.62130174\",\n            \"chainPair\": \"TERRA-BTC\"\n        }\n    ]\n}"}],"_postman_id":"7eee00af-bd07-4001-8629-ea8cb00b2188"},{"name":"Generate Payment","id":"3b208160-01ca-476c-88a2-4eea3a574a6d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"Bearer Ea4XvxLTMqJN6JHc4","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"symbol\": \"ETH\",\n    \"fromAmount\": 90,\n    \"referenceId\": \"test 1\",\n    \"userIp\": \"1.1.1.1\",\n    \"fromUserSymbol\": true\n}","options":{"raw":{"language":"json"}}},"url":"https://api.tomapay.com/rest/v1/generate/payment","description":"<p>Creates payment. You will be able to create a payment for your product. Data must be sent as a JSON-object payload. \nParameters:</p>\n<ul>\n<li>symbol: Symbol of cryptocurrency selected.</li>\n<li>referenceId: You can use it to bind the payment with some identifiers of your own system. For example if you work with wordpress will could send the \"order_id\" of the woocommerce order, or any another identifier that you want.</li>\n<li>userIp: the IP of your final client. It could be important to avoid fraudulent use of the API etc.</li>\n<li>fromUserSymbol: true/false This parameter determine what kind of amount have to fill in the \"fromAmount\" parameter. If you send \"true\", the amount should be send it in the symbol configured in the \"Store setting\" section, and if you send \"false\" the amount should be send it in the \"symbol\" param</li>\n<li>fromAmount: Amount of the payment</li>\n</ul>\n<p>Important! When you call this endpoint to generate the payment, we create a temporal wallet to receive the payment to monitor better the transaction. The payment expire in approximately 10-15 min so the final client has this time to complete the payment.</p>\n<p>We have a specific endpoint to check the payment status. The differents payment statuses are:</p>\n<ul>\n<li>suspended</li>\n<li>pending</li>\n<li>waiting</li>\n<li>received</li>\n<li>exchanging</li>\n<li>confirming</li>\n<li>confirmed</li>\n<li>refunded</li>\n<li>failed</li>\n<li>cancelled</li>\n<li>expired</li>\n</ul>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"2cf1701a-4314-42ee-a2be-5f6a1593546f","id":"2cf1701a-4314-42ee-a2be-5f6a1593546f","name":"Tomapay API v1","type":"collection"}},"urlObject":{"protocol":"https","path":["rest","v1","generate","payment"],"host":["api","tomapay","com"],"query":[],"variable":[]}},"response":[{"id":"5044be44-af72-4d60-b9ff-d8a5fda8ab1c","name":"Generate Payment","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Bearer Ea4XvxLTMqJN6JHc4","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"symbol\": \"ETH\",\n    \"fromAmount\": 90,\n    \"referenceId\": \"test 1\",\n    \"userIp\": \"1.1.1.1\",\n    \"fromUserSymbol\": true\n}","options":{"raw":{"language":"json"}}},"url":"https://api.tomapay.com/rest/v1/generate/payment"},"status":"OK","code":200,"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":"{\n    \"paymentId\": \"xYNymnCQcsKrkRgEb\",\n    \"receivingAddress\": \"0x6b17141d06d70b50aa4e8c263c0b4ba598c4b8a0\",\n    \"amount\": 0.0272151,\n    \"referenceId\": \"test 1\",\n    \"status\": \"waiting\",\n    \"symbol\": \"ETH\"\n}"}],"_postman_id":"3b208160-01ca-476c-88a2-4eea3a574a6d"},{"name":"Get Payment Status","id":"86b82eb1-db7b-4c12-a7b6-3094ea495232","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"warning":"This is a duplicate header and will be overridden by the Authorization header generated by Postman.","key":"Authorization","value":"Bearer Ea4XvxLTMqJN6JHc4","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"paymentId\": \"xYNymnCQcsKrkRgEb\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api.tomapay.com/rest/v1/check/payment","description":"<p>You can get the status of the payment.\nThe differents payment statuses are:</p>\n<ul>\n<li>suspended</li>\n<li>pending</li>\n<li>waiting</li>\n<li>received</li>\n<li>exchanging</li>\n<li>confirming</li>\n<li>confirmed</li>\n<li>refunded</li>\n<li>failed</li>\n<li>cancelled</li>\n<li>expired</li>\n</ul>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"2cf1701a-4314-42ee-a2be-5f6a1593546f","id":"2cf1701a-4314-42ee-a2be-5f6a1593546f","name":"Tomapay API v1","type":"collection"}},"urlObject":{"protocol":"https","path":["rest","v1","check","payment"],"host":["api","tomapay","com"],"query":[],"variable":[]}},"response":[{"id":"76e78d14-d5d9-4586-b97a-ab3044c68f4e","name":"Get Payment Status","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"paymentId\": \"xYNymnCQcsKrk......\"\n}   ","options":{"raw":{"language":"json"}}},"url":{"raw":"https://api.tomapay.com/rest/v1/check/payment","protocol":"https","host":["api","tomapay","com"],"path":["rest","v1","check","payment"],"query":[{"key":"access_token","value":"nTiNTK2DSvoc8E2NH","disabled":true}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Access-Control-Allow-Headers","value":"Origin, X-Requested-With, Content-Type, Accept, Authorization, X-Requested-With"},{"key":"Access-Control-Allow-Methods","value":"PUT, GET, POST, DELETE, OPTIONS"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Cache-Control","value":"no-store"},{"key":"Content-Encoding","value":"gzip"},{"key":"Content-Type","value":"application/json"},{"key":"Corstest","value":"*"},{"key":"Date","value":"Tue, 14 Sep 2021 11:22:56 GMT"},{"key":"Pragma","value":"no-cache"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Transfer-Encoding","value":"chunked"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": \"6779f75b-1b0b-3023-8e28-387cc2328bf0\",\n    \"pair\": \"ETH-UST\",\n    \"chainPair\": \"ETH-TERRA\",\n    \"status\": \"waiting\",\n    \"amountFrom\": \"0.0272151\",\n    \"type\": \"loose\",\n    \"depositAddress\": \"0x6b17141d06d70b50aa4e8c263c0b4ba598c4b8a0\",\n    \"refundAddress\": \"0x37034e5feeb290d0f3f9672eebc52b802f23b21e\",\n    \"withdrawAddress\": \"terra12snwa407fcqvhck8x7zd339fxvdsexcx6e5qum\",\n    \"createdAt\": \"2021-09-14T11:17:40.111Z\"\n}"}],"_postman_id":"86b82eb1-db7b-4c12-a7b6-3094ea495232"},{"name":"Cancel Payment","id":"776fd7f3-8ae1-46cd-931b-35a4042ed9a7","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Auth","value":"Bearer nTiNTK2DSvoc8E2NH","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"paymentId\": \"-------\",\n}"},"url":"http://api.tomapay.com/rest/v1/cancel/payment?access_token=nTiNTK2DSvoc8E2NH","description":"<p>if you need cancel manually a payment.</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"2cf1701a-4314-42ee-a2be-5f6a1593546f","id":"2cf1701a-4314-42ee-a2be-5f6a1593546f","name":"Tomapay API v1","type":"collection"}},"urlObject":{"protocol":"http","path":["rest","v1","cancel","payment"],"host":["api","tomapay","com"],"query":[{"key":"access_token","value":"nTiNTK2DSvoc8E2NH"}],"variable":[]}},"response":[],"_postman_id":"776fd7f3-8ae1-46cd-931b-35a4042ed9a7"}],"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]}},"event":[{"listen":"prerequest","script":{"id":"a43da826-9adc-4ece-9e81-17f494a34805","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"c734e8b1-8084-4b6e-a989-3d8bf2072b1b","type":"text/javascript","exec":[""]}}]}