{"activeVersionTag":"latest","latestAvailableVersionTag":"latest","collection":{"info":{"_postman_id":"7be5982c-7465-4b9a-8840-3cf17f2ed2c6","name":"OCP API Documentation","description":"# Authentication\n\n**You need to obtain public and secret keys in your personal account before using this API.**\n\n**Base url:** [https://ocp.onchainpay.io/api-gateway](https://ocp.onchainpay.io/api-gateway)  \n**Public key** should be passed in header `x-api-public-key`  \n**Secret key** is used for creating signature of your request. Signature should be passed in header `x-api-signature`\n\nExample of a key pair:\n\n**public:**\n\n`a9biVHtyP71VxuItAd88tuN+WyNGxVR41j9lGLj7zc0DjtGHkNRAKQWS/fiCnJPomY9i+hETCLiQvR5l+siKug==`\n\n**secret:**\n\n`RbWMG0rT6NSDQPKXs44gau/97OTsMW1+EakuQA8gb+IwjIUAdx56Fl3Oa7a8dw5L3soWK/o6UFfqlzh/6LXPDA==`\n\nIf you want to use your own key pair and send requests through this documentation, you can edit collection variables of this documentation ([https://learning.postman.com/docs/sending-requests/variables/#defining-collection-variables](https://learning.postman.com/docs/sending-requests/variables/#defining-collection-variables))\n\n# Creating request signature\n\nYou need to specify your **secret key,** apply `SHA256` encryption to your payload and convert the result to `HEX` format\n\n## Nonce usage\n\nYou should pass `nonce` parameter in the payload of every request to this API. `nonce` is a number that must be incremented from previous requests every time. Otherwise the request will fail.\n\nWe will use Unix TimeStamp as the `nonce` value for sending requests in this document.\n\n## Example of creating request signature `NodeJS`\n\nLet's say we want to get price rate of `ETH`/`USDT` (method `/price-rate`)\n\n**1\\. Build request payload**\n\n``` javascript\nconst payload = { from: 'ETH', to: 'USDT' };\n\n```\n\n**2\\. Add** **`nonce`** **parameter to the payload in order to avoid request duplication.**\n\nBy using unix timestamp as `nonce` parameter we will meet the requirements of using number and its incrementing for every new request.\n\n``` javascript\npayload.nonce = Date.now(); // 1643881172430\n\n```\n\n**3\\. Create string from payload and used it in a process of creating signature.**\n\n``` javascript\nconst stringPayload = JSON.stringify(payload); // {\"from\":\"ETH\",\"to\":\"USDT\",\"nonce\":1643881172430}\n\n```\n\n**4\\. Create signature:**\n\nExample with `crypto-js` module:\n\n``` javascript\nconst CryptoJS = require(\"crypto-js\"); \nconst sign = CryptoJS.HmacSHA256(stringPayload, __PRIVATE_KEY__).toString(CryptoJS.enc.Hex)\n\n```\n\nExample with `crypto` module:\n\n``` javascript\nconst crypto = require('crypto');  \nconst sign = crypto.createHmac('SHA256', __PRIVATE_KEY__).update(stringPayload).digest('hex');\n\n```\n\n**5\\. Send request with required headers:**\n\n``` javascript\nconst axios = require('axios'); // lib for HTTP requests\nconst response = await axios.post(__BASE_URL__ + '/price-rate', stringPayload, \n{ \n    headers: \n        {\n            'x-api-public-key': __PUBLIC_KEY__, \n            'x-api-signature': sign \n        } \n});\n\n```\n\n**6\\. Response:**\n\n``` javascript\nconsole.log(response.data); // {\"success\":true,\"response\":\"2751.51000000\"}\n\n```\n\n# Response\n\nSchema of success response:\n\n``` json\n{\n    \"success\":true,\n    \"response\": ...\n}\n\n```\n\nSchema of error response:\n\n``` json\n{\n    \"success\":false,\n    \"error\": {\"name\": \"...\",\"message\": \"...\",\"code\": ...},\n    \"requestId\": \"...\"\n}\n\n```\n\n# Error codes\n\nError is presented in response payload\n\n| Code | Description |\n| --- | --- |\n| < 1001 | Server error. Please, contact support |\n| 1001 | `currency` parameter is required |\n| 1002 | `currency` parameter is not valid |\n| 1003 | `amount` parameter is required |\n| 1004 | `amount` parameter is not valid |\n| 1005 | `amount` parameter should be more than 0 |\n| 1006 | `errorWebhook` parameter is required |\n| 1007 | `errorWebhook` is not valid URL |\n| 1008 | `successWebhook` parameter is required |\n| 1009 | `successWebhook` parameter is not valid URL |\n| 1019 | Currency is not found or disabled for operation |\n| 1020, 1021 | Insufficient funds for operation |\n| 1023 | `currencyFrom` parameter is required |\n| 1024 | `currencyFrom` parameter is not valid |\n| 1025 | `currencyTo` parameter is required |\n| 1026 | `currencyTo` parameter is not valid |\n| 1032 | `orderId` parameter is required |\n| 1033 | `orderId` parameter is not valid |\n| 1042 | `returnUrl` parameter is not valid |\n| 1043 | `order` parameter has reached a limit of 255 symbols |\n| 1044 | `description` parameter has reached a limit of 255 symbols |\n| 1045 | Параметр `networkId` parameter is required |\n| 1046 | Параметр `networkId` parameter is not valid |\n| 1047 | `accountId` parameter is required |\n| 1048 | `accountId` parameter is not valid |\n| 1049 | `addressId` parameter is required |\n| 1050 | `addressId` parameter is not valid |\n| 1051 | `feeToken` parameter is required |\n| 1052 | `feeToken` parameter is not valid |\n| 1053 | Your balance is less than fee amount |\n| 1054 | Withdrawal amount is less than allowed minimum amount |\n| 1055 | `network` parameter is required |\n| 1056 | `network` parameter is not valid |\n| 1057 | The balance of the commission payment source is less than the commission amount |\n| 1058 | `token` parameter was expired |\n| 1059 | `token` parameter was created for another account or address |\n| 1062 | `lifetime` parameter is not valid |\n| 1063 | `lifetime` parameter is required |\n| 1080 | The advance balance does not belong to the user |\n| 1081 | The order does not belong to the user |\n| 1082 | The account does not belong to this user |\n| 1083 | The coin is not active |\n| 1084 | The network is not active |\n| 1085 | Withdrawal in this coin is not available |\n| 1086 | Withdrawal is not available on this network |\n| 1087 | This network is not available |\n| 1088 | The network is not available for deposit |\n| 1089 | Invalid value of the order `lifetime` |\n| 1090 | This coin is not available |\n| 1091 | The address does not belong to this account |\n| 1094 | `withdrawalId` parameter is required |\n| 1095 | `withdrawalId` parameter is not valid |\n| 2005 | `lifetime` parameter is less than the allowed value |\n| 2006 | `lifetime` parameter is greater than the allowed value |\n| 3005 | This network is under maintenance |\n| 3007 | Deposit or withdrawal in this coin is not available |\n| 3010 | The sending and receiving addresses are the same |\n\n# Webhooks\n\n### Description\n\nYou can configure notifications to be sent to any system that accepts incoming webhooks over the HTTP/HTTPS protocol. To do this, you must specify the Webhook URL when **creating an order**, to which notifications about the order will be sent.\n\nIf you do not respond with the status 200, then we will send 6 request: with 10 seconds interval, then 5 with 30 minutes interval, then 4 with 2 hour interval, then 3 with 12 hour interval.\n\nIf Webhook URL was provided within API method, it will have following additional headers:\n\n- `x-api-public-key` - public key, which was used in origin request with provided Webhook URL\n- `x-api-signature` - signature that was made with same algorithm from \"Creating request signature\" section\n    \n\n## Order status webhook\n\n#### Webhook URL example\n\n\"successWebhook\": \"[https://example.com/success-webhook-url\"](https://example.com/success-webhook-url)\n\n\"errorWebhook\": \"[https://example.com/error-webhook-url\"](https://example.com/error-webhook-url)\n\n#### Server response example\n\n``` json\n{\n  \"id\": \"d01d03e2-15dc-b03a-b34e-46cad2345b92\",\n  \"advancedBalanceId\": \"c6e7d8dc-ce10-637d-147b-2dda3015b8a4\",\n  \"currency\": \"ETH\",\n  \"network\": \"etehereum\",\n  \"link\": \"https://ocp.onchainpay.io/merchant/checkout/7e7a9d52-f260-429f-b943-8af3c91c9ea1\",\n  \"status\": \"processed\",\n  \"order\": \"#123456789\",\n  \"description\": \"Order #123456789\",\n  \"address\": \"0x000000000c8950e52aa315030efedc861da658e2\",\n  \"addressId\": \"8eae79cf-1db2-4858-9023-aca473d805e2\",\n  \"tag\": \"velit ex quis\",\n  \"amount\": \"0.84\",\n  \"received\": \"0.86\",\n  \"transactions\": [\n    {\n      \"id\": \"f0b22f11-007c-4f65-bb9b-265432ab64c3\",\n      \"status\": \"processed\",\n      \"currency\": \"BNB\",\n      \"network\": \"bsc\",\n      \"amount\": \"0.0001\",\n      \"tx\": \"0x8fb0d40678d1bb4b6c0b2095c18d9280aa8ccf966e778e6b209f4f71c7f1e835\",\n      \"confirmations\": \"15\",\n      \"sender\": \"0xcD62a4E08513f16F86C1c0AF0860DD6b3De1B83d\",\n      \"priceUSD\": \"212.90000000\",\n      \"amountUSD\": \"0.02129\"\n    },\n    {\n      \"id\": \"a2a7ed3b-a8af-42c4-900c-d21e1d9eda3c\",\n      \"status\": \"processed\",\n      \"currency\": \"BNB\",\n      \"network\": \"bsc\",\n      \"amount\": \"0.0006\",\n      \"tx\": \"0x60032c394fcc7a103bc2826f9b81e5086be90628331e1ce163e1c576c64baf06\",\n      \"confirmations\": \"15\",\n      \"sender\": \"0x54936CE809bBccC7f1378c7ec88F5504cE49605C\",\n      \"priceUSD\": \"212.70000000\",\n      \"amountUSD\": \"0.12762\"\n    }\n  ],\n  \"orphanDeposits\": [\n    {\n      \"id\": \"7cd20ea9-0e2c-46c5-8e12-82b0485d5ba1\",\n      \"organizationId\": \"1f07eb01-5fd8-4e05-89b5-bebcd1d1fc39\",\n      \"orderId\": \"d01d03e2-15dc-b03a-b34e-46cad2345b92\",\n      \"stage\": \"WITHDRAWAL\",\n      \"status\": \"PROCESSED\",\n      \"message\": null,\n      \"currency\": \"BNB\",\n      \"network\": \"bsc\",\n      \"amount\": \"0.00000001\",\n      \"canWithdrawal\": true,\n      \"inTransaction\": {\n        \"addressType\": \"PAY_IN\",\n        \"addressId\": \"8519ba89-68d5-4914-9a0f-d99e77dc88ea\",\n        \"address\": \"0x68f8a74b5fD0b687369536607214acfA3b1572Ff\",\n        \"txId\": \"0x6751285829e38b1bb53d1df887dde750182f08e230b58a5a2d3e867ba7327362\",\n        \"amount\": \"0.00000001\",\n        \"status\": \"processed\",\n        \"createdAt\": \"2023-05-30T14:10:27.276Z\"\n      },\n      \"outTransaction\": {\n        \"withdrawalId\": \"4429ba89-68d5-4914-9a0f-d99e77dc88ea\",\n        \"address\": \"0x68f8a74b5fD0b687369536607214acfA3b1572Ff\",\n        \"txId\": \"0x5511285829e38b1bb53d1df887dde750182f08e230b58a5a2d3e867ba7327362\",\n        \"amount\": \"0.00000001\",\n        \"status\": \"processed\",\n        \"createdAt\": \"2023-05-30T14:10:27.276Z\"\n      },\n      \"createdAt\": \"2023-05-30T14:10:27.283Z\"\n    }\n  ],\n  \"successWebhook\": \"https://example.com/success-webhook-url\",\n  \"errorWebhook\": \"https://example.com/error-webhook-url\",\n  \"returnUrl\": \"null\",\n  \"expiresAt\": \"2021-05-23T15:00:00Z\",\n  \"createdAt\": \"2021-05-23T15:00:00Z\",\n  \"updatedAt\": \"2021-05-23T15:00:00Z\"\n}\n```\n\n## Withdrawal status webhook\n\nWhen the withdrawal is completed, a webhook with the status of this payment is sent to the `webhookUrl` specified when creating the withdrawal.\n\n- `addressId` - personal address to which the deposit came\n- `userId` - the ID of the user who owns the personal address\n    \n\n``` json\n{\n  \"id\": \"fd1dbab8-06c2-4e0e-88fb-32f5e97cc0e2\",\n  \"addressId\": \"a3018d42-aa59-42f3-a0f9-6d47e461d344\",\n  \"amount\": \"0.32\",\n  \"currency\": \"USDT\",\n  \"network\": \"tron\",\n  \"status\": \"processed\",\n  \"tx\": \"46f4c1bafd9925de3d61d8a86d83851e73e\",\n  \"createdAt\": \"2023-03-21T13:50:48.603Z\",\n  \"updatedAt\": \"2023-03-21T13:51:14.018Z\"\n}\n\n```\n\nPossible values for `status`:\n\n- `error` - error occured during withdrawal processing\n- `processed` - successful withdrawal\n    \n\n## Billing link status webhook\n\nWhen the status of a billing link changes, a webhook is sent to the address specified when the link was created.\n\n``` json\n{\n  \"id\": \"9085a4bd-0099-4f8a-9dc5-9a717ab1d93b\",\n  \"merchantId\": \"dcb1a9fe-4b8d-40f6-baf6-241dc88436d9\",\n  \"clientId\": \"qw12\",\n  \"clientName\": null,\n  \"clientEmail\": \"site@domain.com\",\n  \"webhookUrl\": \"https://site.com/webhook\",\n  \"returnUrl\": null,\n  \"address\": \"0xf038f6b\",\n  \"currency\": \"USDC\",\n  \"network\": \"ethereum\",\n  \"status\": \"SUCCESS\",\n  \"createdAt\": \"2023-03-02T10:10:21.064Z\",\n  \"updatedAt\": \"2023-03-02T10:13:25.509Z\"\n}\n\n```\n\n## Subscription status webhook\n\nWhen the subscription status changes or when a payment is made, a webhook is sent to the address specified when the subscription was created.\n\n``` json\n{\n  \"id\": \"d5743dea-5a78-4096-ae07-95b1f10bc5dd\",\n  \"merchantId\": \"dcb1a9fe-4b8d-40f6-baf6-241dc88436d9\",\n  \"billingLinkId\": \"e7e7a111-2d24-4aa3-afae-540f313c738b\",\n  \"title\": \"Flixnet/monthly\",\n  \"description\": \"Flixnet monthly subscription / HD quality\",\n  \"currency\": \"USDT\",\n  \"amount\": \"2.0000000\",\n  \"spendInterval\": 120,\n  \"message\": null,\n  \"webhookUrl\": \"https://site.com/webhook\",\n  \"status\": \"ACTIVE\",\n  \"createdAt\": \"2023-02-27T11:50:53.710Z\",\n  \"updatedAt\": \"2023-03-01T19:29:04.090Z\",\n  \"paymentEvent\": {\n    \"id\": \"9c06e989-9d19-461b-bd94-e94032012407\",\n    \"merchantId\": \"dcb1a9fe-4b8d-40f6-baf6-241dc88436d9\",\n    \"billingLinkId\": \"e7e7a111-2d24-4aa3-afae-540f313c738b\",\n    \"amount\": \"2\",\n    \"status\": \"PROCESSED\",\n    \"tx\": \"0xdabd91e979122bb78d0a5cf1e5174dff3e10b906a31adbfd625ff80cca14e8c2\",\n    \"createdAt\": \"2023-03-01T13:11:57.662Z\",\n    \"updatedAt\": \"2023-03-01T13:14:32.868Z\"\n  }\n}\n\n```\n\nWhen the subscription status changes, a webhook with the subscription object is sent. In this case, `paymentEvent` is filled only if the webhook event is related to making a payment.\n\nPossible values for `status`:\n\n- `ACTIVE` - subscription active/renewed\n- `ERROR` - subscription payment failed\n- `DECLINE` - unable to complete the payment (e.g. lack of money)\n- `CANCEL` - subscription canceled\n    \n\nThe status comment can be contained in the `message` field\n\nAfter the payment is made, a webhook is sent with the object of this payment in the `paymentEvent` field. Possible values of the `paymentEvent.status` field:\n\n- `PROCESSED` - successful payment\n- `ERROR` - unsuccessful payment\n    \n\n## Payment status webhook with free amount\n\nWhen a payment is completed, a webhook with the status of this payment (the same object as in the `paymentEvent` field of the webhook with the subscription status) is sent to the address specified during the payment request.\n\n``` json\n{\n  \"id\": \"2fa68ddf-2479-47cb-9e66-ae91139c3063\",\n  \"merchantId\": \"dcb1a9fe-4b8d-40f6-baf6-241dc88436d9\",\n  \"billingLinkId\": \"6196a1f2-b6b5-40a5-a672-f1ffd70fdd7d\",\n  \"amount\": \"0.005\",\n  \"status\": \"PROCESSED\",\n  \"tx\": \"0x5b9b3b55b366266025e\",\n  \"createdAt\": \"2023-03-02T06:58:00.365Z\",\n  \"updatedAt\": \"2023-03-02T07:01:50.693Z\"\n}\n\n```\n\nPossible values for `status`:\n\n- `PROCESSED` - successful payment\n- `ERROR` - unsuccessful payment\n    \n\n## Crosschain bridge operation status webhook\n\nWhen the operation status changes, a webhook is sent to the address specified when the operation was created\n\n``` json\n{\n  \"id\": \"816a19eb-be39-4eaa-9392-6fda708f24d8\",\n  \"clientId\": \"...\",\n  \"advancedBalanceId\": \"316a59ea-be39-4eaa-9392-6fda708f24d8\",\n  \"currency\": \"USDT\",\n  \"networkFrom\": \"bsc\",\n  \"networkTo\": \"tron\",\n  \"status\": \"PENDING\",\n  \"rejectMessage\": null,\n  \"addressFromId\": \"fa475cfa-15e8-c31d-7469-5f1168052cd6\",\n  \"addressToId\": \"607976c9-0270-59a3-a528-0d92489c3fc8\",\n  \"amount\": \"10000\",\n  \"amountUSD\": \"10000\",\n  \"blockchainFee\": \"1.80\",\n  \"blockchainFeeUSD\": \"1.80\",\n  \"serviceFeeUSD\": \"1.50\",\n  \"webhookUrl\": \"https://my-show.com/...\",\n  \"createdAt\": \"2022-02-02T06:07:34.067Z\"\n}\n\n```\n\nAvailable statuses\n\n| **Status** | **Description** |\n| --- | --- |\n| CREATED | Request registered |\n| PENDING | Being processed |\n| ERROR | Error during execution |\n| REJECTED | Request denied |\n| PROCESSED | Success |\n\n## Crosschain swap status webhook\n\nWhen the swap status changes, a webhook is sent to the address specified when the swap was created\n\n``` json\n{\n        \"id\": \"816a19eb-be39-4eaa-9392-6fda708f24d8\",\n        \"clientId\": \"...\",\n        \"advancedBalanceId\": \"316a59ea-be39-4eaa-9392-6fda708f24d8\",\n        \"currencyFrom\": \"TRX\",\n        \"currencyTo\": \"USDT\",\n        \"networkFrom\": \"tron\",\n        \"networkTo\": \"bsc\",\n        \"status\": \"PENDING\",\n        \"rejectMessage\": null,\n        \"addressFromId\": \"fa475cfa-15e8-c31d-7469-5f1168052cd6\",\n        \"addressToId\": \"607976c9-0270-59a3-a528-0d92489c3fc8\",\n        \"amountFrom\": \"100000\",\n        \"amountTo\": \"10000\",\n        \"price\": \"0.1\",\n        \"serviceBlockchainFeeSource\": \"ADDRESS\",\n        \"serviceBlockchainFee\": \"1.80\",\n        \"serviceBlockchainFeeUSD\": \"1.80\",\n        \"providerBlockchainFeeSource\": \"AMOUNT\",\n        \"providerBlockchainFee\": \"1.80\",\n        \"providerBlockchainFeeUSD\": \"1.80\",\n        \"serviceFeeSource\": \"ADVANCE\",\n        \"serviceFee\": \"1.80\",\n        \"serviceFeeUSD\": \"1.80\",\n        \"webhookUrl\": \"https://my-show.com/...\",\n        \"createdAt\": \"2022-02-02T06:07:34.067Z\"\n}\n\n```\n\nAvailable statuses\n\n| **Status** | **Description** |\n| --- | --- |\n| CREATED | Request registered |\n| PENDING | Being processed |\n| ERROR | Error during execution |\n| REJECTED | Request denied |\n| PROCESSED | Success |\n\n## Webhook for deposit on personal address\n\nWhen the payment is completed, a webhook with the status of this payment is sent to the URL `depositWebhookUrl` specified when creating the user.\n\n- `addressId` - personal address to which the deposit came\n- `userId` - ID of the user who owns the personal address\n    \n\n#### Example\n\n``` json\n{\n  \"id\": \"2fa68ddf-2479-47cb-9e66-ae91139c3063\",\n  \"addressId\": \"dcb1a9fe-4b8d-40f6-baf6-241dc88436d9\",\n  \"userId\": \"6196a1f2-b6b5-40a5-a672-f1ffd70fdd7d\",\n  \"amount\": \"0.005\",\n  \"currency\": \"USDT\",\n  \"network\": \"bsc\",\n  \"status\": \"PROCESSED\",\n  \"tx\": \"0x5b9b3b55b366266025e\",\n  \"createdAt\": \"2023-03-02T06:58:00.365Z\",\n  \"updatedAt\": \"2023-03-02T07:01:50.693Z\"\n}\n\n```\n\nPossible values of `status`:\n\n- `PROCESSED` - successful deposit","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","isPublicCollection":false,"owner":"21899690","team":4377379,"collectionId":"7be5982c-7465-4b9a-8840-3cf17f2ed2c6","publishedId":"UzJQptyu","public":true,"publicUrl":"https://documenter-api.postman.tech/view/21899690/UzJQptyu","privateUrl":"https://go.postman.co/documentation/21899690-7be5982c-7465-4b9a-8840-3cf17f2ed2c6","customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"EF5B25"},"documentationLayout":"classic-double-column","customisation":null,"version":"8.10.1","publishDate":"2022-07-11T11:16:31.000Z","activeVersionTag":"latest","documentationTheme":"light","metaTags":{},"logos":{}},"statusCode":200},"environments":[],"user":{"authenticated":false,"permissions":{"publish":false}},"run":{"button":{"js":"https://run.pstmn.io/button.js","css":"https://run.pstmn.io/button.css"}},"web":"https://www.getpostman.com/","team":{"logo":"https://res.cloudinary.com/postman/image/upload/t_team_logo_pubdoc/v1/team/a1e5ee0c16bb5883982c73d6e2c327ed80fef1fc5de432525d102a36c21873bb","favicon":""},"isEnvFetchError":false,"languages":"[{\"key\":\"csharp\",\"label\":\"C#\",\"variant\":\"HttpClient\"},{\"key\":\"csharp\",\"label\":\"C#\",\"variant\":\"RestSharp\"},{\"key\":\"curl\",\"label\":\"cURL\",\"variant\":\"cURL\"},{\"key\":\"dart\",\"label\":\"Dart\",\"variant\":\"http\"},{\"key\":\"go\",\"label\":\"Go\",\"variant\":\"Native\"},{\"key\":\"http\",\"label\":\"HTTP\",\"variant\":\"HTTP\"},{\"key\":\"java\",\"label\":\"Java\",\"variant\":\"OkHttp\"},{\"key\":\"java\",\"label\":\"Java\",\"variant\":\"Unirest\"},{\"key\":\"javascript\",\"label\":\"JavaScript\",\"variant\":\"Fetch\"},{\"key\":\"javascript\",\"label\":\"JavaScript\",\"variant\":\"jQuery\"},{\"key\":\"javascript\",\"label\":\"JavaScript\",\"variant\":\"XHR\"},{\"key\":\"c\",\"label\":\"C\",\"variant\":\"libcurl\"},{\"key\":\"nodejs\",\"label\":\"NodeJs\",\"variant\":\"Axios\"},{\"key\":\"nodejs\",\"label\":\"NodeJs\",\"variant\":\"Native\"},{\"key\":\"nodejs\",\"label\":\"NodeJs\",\"variant\":\"Request\"},{\"key\":\"nodejs\",\"label\":\"NodeJs\",\"variant\":\"Unirest\"},{\"key\":\"objective-c\",\"label\":\"Objective-C\",\"variant\":\"NSURLSession\"},{\"key\":\"ocaml\",\"label\":\"OCaml\",\"variant\":\"Cohttp\"},{\"key\":\"php\",\"label\":\"PHP\",\"variant\":\"cURL\"},{\"key\":\"php\",\"label\":\"PHP\",\"variant\":\"Guzzle\"},{\"key\":\"php\",\"label\":\"PHP\",\"variant\":\"HTTP_Request2\"},{\"key\":\"php\",\"label\":\"PHP\",\"variant\":\"pecl_http\"},{\"key\":\"powershell\",\"label\":\"PowerShell\",\"variant\":\"RestMethod\"},{\"key\":\"python\",\"label\":\"Python\",\"variant\":\"http.client\"},{\"key\":\"python\",\"label\":\"Python\",\"variant\":\"Requests\"},{\"key\":\"r\",\"label\":\"R\",\"variant\":\"httr\"},{\"key\":\"r\",\"label\":\"R\",\"variant\":\"RCurl\"},{\"key\":\"ruby\",\"label\":\"Ruby\",\"variant\":\"Net::HTTP\"},{\"key\":\"shell\",\"label\":\"Shell\",\"variant\":\"Httpie\"},{\"key\":\"shell\",\"label\":\"Shell\",\"variant\":\"wget\"},{\"key\":\"swift\",\"label\":\"Swift\",\"variant\":\"URLSession\"}]","languageSettings":[{"key":"csharp","label":"C#","variant":"HttpClient"},{"key":"csharp","label":"C#","variant":"RestSharp"},{"key":"curl","label":"cURL","variant":"cURL"},{"key":"dart","label":"Dart","variant":"http"},{"key":"go","label":"Go","variant":"Native"},{"key":"http","label":"HTTP","variant":"HTTP"},{"key":"java","label":"Java","variant":"OkHttp"},{"key":"java","label":"Java","variant":"Unirest"},{"key":"javascript","label":"JavaScript","variant":"Fetch"},{"key":"javascript","label":"JavaScript","variant":"jQuery"},{"key":"javascript","label":"JavaScript","variant":"XHR"},{"key":"c","label":"C","variant":"libcurl"},{"key":"nodejs","label":"NodeJs","variant":"Axios"},{"key":"nodejs","label":"NodeJs","variant":"Native"},{"key":"nodejs","label":"NodeJs","variant":"Request"},{"key":"nodejs","label":"NodeJs","variant":"Unirest"},{"key":"objective-c","label":"Objective-C","variant":"NSURLSession"},{"key":"ocaml","label":"OCaml","variant":"Cohttp"},{"key":"php","label":"PHP","variant":"cURL"},{"key":"php","label":"PHP","variant":"Guzzle"},{"key":"php","label":"PHP","variant":"HTTP_Request2"},{"key":"php","label":"PHP","variant":"pecl_http"},{"key":"powershell","label":"PowerShell","variant":"RestMethod"},{"key":"python","label":"Python","variant":"http.client"},{"key":"python","label":"Python","variant":"Requests"},{"key":"r","label":"R","variant":"httr"},{"key":"r","label":"R","variant":"RCurl"},{"key":"ruby","label":"Ruby","variant":"Net::HTTP"},{"key":"shell","label":"Shell","variant":"Httpie"},{"key":"shell","label":"Shell","variant":"wget"},{"key":"swift","label":"Swift","variant":"URLSession"}],"languageOptions":[{"label":"C# - HttpClient","value":"csharp - HttpClient - C#"},{"label":"C# - RestSharp","value":"csharp - RestSharp - C#"},{"label":"cURL - cURL","value":"curl - cURL - cURL"},{"label":"Dart - http","value":"dart - http - Dart"},{"label":"Go - Native","value":"go - Native - Go"},{"label":"HTTP - HTTP","value":"http - HTTP - HTTP"},{"label":"Java - OkHttp","value":"java - OkHttp - Java"},{"label":"Java - Unirest","value":"java - Unirest - Java"},{"label":"JavaScript - Fetch","value":"javascript - Fetch - JavaScript"},{"label":"JavaScript - jQuery","value":"javascript - jQuery - JavaScript"},{"label":"JavaScript - XHR","value":"javascript - XHR - JavaScript"},{"label":"C - libcurl","value":"c - libcurl - C"},{"label":"NodeJs - Axios","value":"nodejs - Axios - NodeJs"},{"label":"NodeJs - Native","value":"nodejs - Native - NodeJs"},{"label":"NodeJs - Request","value":"nodejs - Request - NodeJs"},{"label":"NodeJs - Unirest","value":"nodejs - Unirest - NodeJs"},{"label":"Objective-C - NSURLSession","value":"objective-c - NSURLSession - Objective-C"},{"label":"OCaml - Cohttp","value":"ocaml - Cohttp - OCaml"},{"label":"PHP - cURL","value":"php - cURL - PHP"},{"label":"PHP - Guzzle","value":"php - Guzzle - PHP"},{"label":"PHP - HTTP_Request2","value":"php - HTTP_Request2 - PHP"},{"label":"PHP - pecl_http","value":"php - pecl_http - PHP"},{"label":"PowerShell - RestMethod","value":"powershell - RestMethod - PowerShell"},{"label":"Python - http.client","value":"python - http.client - Python"},{"label":"Python - Requests","value":"python - Requests - Python"},{"label":"R - httr","value":"r - httr - R"},{"label":"R - RCurl","value":"r - RCurl - R"},{"label":"Ruby - Net::HTTP","value":"ruby - Net::HTTP - Ruby"},{"label":"Shell - Httpie","value":"shell - Httpie - Shell"},{"label":"Shell - wget","value":"shell - wget - Shell"},{"label":"Swift - URLSession","value":"swift - URLSession - Swift"}],"layoutOptions":[{"value":"classic-single-column","label":"Single Column"},{"value":"classic-double-column","label":"Double Column"}],"versionOptions":[],"environmentOptions":[{"value":"0","label":"No Environment"}],"canonicalUrl":"https://documenter.gw.postman.com/view/metadata/UzJQptyu"}