{ "info": { "_postman_id": "f0279428-d951-49e2-b578-174e56e09d55", "name": "billing-api Accounts Links Api API", "description": "The Billing API is for advanced Publishers and Brands. It allows you to programmatically view and ingest economic data related to transactions that you have driven (Publishers) or received (Brands).", "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json", "createdAt": "2026-07-28T03:25:49.000Z", "updatedAt": "2026-07-28T03:25:50.000Z", "lastUpdatedBy": "35240", "uid": "35240-f0279428-d951-49e2-b578-174e56e09d55" }, "item": [ { "name": "/", "item": [ { "name": "Generate a Link", "id": "3b6a81d9-45ad-4a31-88b4-1405eef9e702", "protocolProfileBehavior": { "disableBodyPruning": true }, "request": { "method": "POST", "header": [ { "key": "Content-Type", "value": "application/json" }, { "key": "Accept", "value": "application/json" } ], "body": { "mode": "raw", "raw": "{\n \"url\": \"\",\n \"experience\": {\n \"btn_pub_user\": \"\",\n \"btn_pub_ref\": \"\",\n \"btn_desktop_url\": \"\"\n }\n}", "options": { "raw": { "headerFamily": "json", "language": "json" } } }, "url": { "raw": "{{baseUrl}}/", "host": [ "{{baseUrl}}" ], "path": [ "" ] }, "description": "Generate and return a fully attributable Button-wrapped link to the desired Retailer page by passing the full page URL or the affiliate tracking link." }, "response": [ { "id": "a3bf9494-475b-46d8-a9dd-c4d805e35990", "name": "200", "originalRequest": { "method": "POST", "header": [ { "key": "Content-Type", "value": "application/json" }, { "key": "Accept", "value": "application/json" }, { "description": "Added as a part of security scheme: basic", "key": "Authorization", "value": "Basic " } ], "body": { "mode": "raw", "raw": "{\n \"url\": \"\",\n \"experience\": {\n \"btn_pub_user\": \"\",\n \"btn_pub_ref\": \"\",\n \"btn_desktop_url\": \"\"\n }\n}", "options": { "raw": { "headerFamily": "json", "language": "json" } } }, "url": { "raw": "{{baseUrl}}/", "host": [ "{{baseUrl}}" ], "path": [ "" ] } }, "status": "OK", "code": 200, "_postman_previewlanguage": "json", "header": [ { "key": "Content-Type", "value": "application/json" } ], "cookie": [], "responseTime": null, "body": "{\n \"meta\": {\n \"status\": \"\"\n },\n \"object\": {\n \"merchant_id\": \"\",\n \"affiliate\": {},\n \"links\": {\n \"universal\": \"\"\n }\n }\n}", "createdAt": "2026-07-28T03:25:50.000Z", "updatedAt": "2026-07-28T03:25:50.000Z", "uid": "35240-a3bf9494-475b-46d8-a9dd-c4d805e35990" }, { "id": "6ae2b0db-4db6-4cea-bd95-cd991f25a10f", "name": "401", "originalRequest": { "method": "POST", "header": [ { "key": "Content-Type", "value": "application/json" }, { "key": "Accept", "value": "application/json" }, { "description": "Added as a part of security scheme: basic", "key": "Authorization", "value": "Basic " } ], "body": { "mode": "raw", "raw": "{\n \"url\": \"\",\n \"experience\": {\n \"btn_pub_user\": \"\",\n \"btn_pub_ref\": \"\",\n \"btn_desktop_url\": \"\"\n }\n}", "options": { "raw": { "headerFamily": "json", "language": "json" } } }, "url": { "raw": "{{baseUrl}}/", "host": [ "{{baseUrl}}" ], "path": [ "" ] } }, "status": "Unauthorized", "code": 401, "_postman_previewlanguage": "json", "header": [ { "key": "Content-Type", "value": "application/json" } ], "cookie": [], "responseTime": null, "body": "{\n \"meta\": {\n \"status\": \"\"\n },\n \"error\": {\n \"message\": \"\"\n }\n}", "createdAt": "2026-07-28T03:25:50.000Z", "updatedAt": "2026-07-28T03:25:50.000Z", "uid": "35240-6ae2b0db-4db6-4cea-bd95-cd991f25a10f" }, { "id": "8c167d3c-65de-4261-8403-e7f450bff770", "name": "403", "originalRequest": { "method": "POST", "header": [ { "key": "Content-Type", "value": "application/json" }, { "key": "Accept", "value": "application/json" }, { "description": "Added as a part of security scheme: basic", "key": "Authorization", "value": "Basic " } ], "body": { "mode": "raw", "raw": "{\n \"url\": \"\",\n \"experience\": {\n \"btn_pub_user\": \"\",\n \"btn_pub_ref\": \"\",\n \"btn_desktop_url\": \"\"\n }\n}", "options": { "raw": { "headerFamily": "json", "language": "json" } } }, "url": { "raw": "{{baseUrl}}/", "host": [ "{{baseUrl}}" ], "path": [ "" ] } }, "status": "Forbidden", "code": 403, "_postman_previewlanguage": "json", "header": [ { "key": "Content-Type", "value": "application/json" } ], "cookie": [], "responseTime": null, "body": "{\n \"meta\": {\n \"status\": \"\"\n },\n \"error\": {\n \"message\": \"\",\n \"type\": \"\",\n \"details\": {\n \"merchant_id\": \"\"\n }\n }\n}", "createdAt": "2026-07-28T03:25:50.000Z", "updatedAt": "2026-07-28T03:25:50.000Z", "uid": "35240-8c167d3c-65de-4261-8403-e7f450bff770" }, { "id": "6ab6b76f-b329-4f36-816a-f255dfb27ad1", "name": "404", "originalRequest": { "method": "POST", "header": [ { "key": "Content-Type", "value": "application/json" }, { "key": "Accept", "value": "application/json" }, { "description": "Added as a part of security scheme: basic", "key": "Authorization", "value": "Basic " } ], "body": { "mode": "raw", "raw": "{\n \"url\": \"\",\n \"experience\": {\n \"btn_pub_user\": \"\",\n \"btn_pub_ref\": \"\",\n \"btn_desktop_url\": \"\"\n }\n}", "options": { "raw": { "headerFamily": "json", "language": "json" } } }, "url": { "raw": "{{baseUrl}}/", "host": [ "{{baseUrl}}" ], "path": [ "" ] } }, "status": "Not Found", "code": 404, "_postman_previewlanguage": "json", "header": [ { "key": "Content-Type", "value": "application/json" } ], "cookie": [], "responseTime": null, "body": "{\n \"meta\": {\n \"status\": \"\"\n },\n \"error\": {\n \"message\": \"\",\n \"type\": \"\"\n }\n}", "createdAt": "2026-07-28T03:25:50.000Z", "updatedAt": "2026-07-28T03:25:50.000Z", "uid": "35240-6ab6b76f-b329-4f36-816a-f255dfb27ad1" } ], "createdAt": "2026-07-28T03:25:50.000Z", "updatedAt": "2026-07-28T03:25:50.000Z", "uid": "35240-3b6a81d9-45ad-4a31-88b4-1405eef9e702" } ], "id": "2c2017c5-c412-4266-b0f0-fd6f0d143eaf", "createdAt": "2026-07-28T03:25:50.000Z", "updatedAt": "2026-07-28T03:25:50.000Z", "uid": "35240-2c2017c5-c412-4266-b0f0-fd6f0d143eaf" } ], "auth": { "type": "basic", "basic": [ { "key": "username", "value": "{{basicAuthUsername}}", "type": "string" }, { "key": "password", "value": "{{basicAuthPassword}}", "type": "string" } ] }, "variable": [ { "key": "baseUrl", "value": "https://api.usebutton.com/v1/affiliation" } ] }