{ "info": { "_postman_id": "01718649-3bc3-4a1d-95ca-7ce27723c161", "name": "billing-api Accounts 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:46.000Z", "updatedAt": "2026-07-28T03:25:46.000Z", "lastUpdatedBy": "35240", "uid": "35240-01718649-3bc3-4a1d-95ca-7ce27723c161" }, "item": [ { "name": "accounts", "item": [ { "name": "{account_id}", "item": [ { "name": "transactions", "item": [ { "name": "List Transactions by Account (Single Currency)", "id": "0e932967-e8ed-47ca-948f-0de91c26d39d", "protocolProfileBehavior": { "disableBodyPruning": true }, "request": { "method": "GET", "header": [ { "key": "Accept", "value": "application/json" } ], "url": { "raw": "{{baseUrl}}/accounts/:account_id/transactions?cursor=&start=&end=&time_field=attribution_date&page_size=50&country=", "host": [ "{{baseUrl}}" ], "path": [ "accounts", ":account_id", "transactions" ], "query": [ { "description": "An opaque string that lets you view a consistent list of transactions.", "key": "cursor", "value": "" }, { "description": "Filter transactions created at or after this time. Time is in RFC 3339 format. Example: 2024-11-18T00:00:00Z", "key": "start", "value": "" }, { "description": "Filter transactions created before this time. Time is in RFC 3339 format. Example: 2024-11-18T00:00:00Z", "key": "end", "value": "" }, { "description": "Time field to filter by. Accepted values are created_date, modified_date, and attribution_date. When not specified, created_date is used as default.", "key": "time_field", "value": "attribution_date" }, { "description": "Number of transaction to retrieve in each request. When not specified, 50 is used as default.", "key": "page_size", "value": "50" }, { "description": "Filter transactions by country. Country is in ISO 3166 Alpha-2 format (case-insensitive). Example: US", "key": "country", "value": "" } ], "variable": [ { "id": "286afb18-f132-41d1-9cc1-6b45de9f7475", "key": "account_id", "value": "", "description": "(Required) The specific account (currency) to query." } ] }, "description": "Retrieve a list of transactions within a single billing account (single currency)." }, "response": [ { "id": "f5c9f8cd-b786-4557-bb02-8d5620071558", "name": "OK", "originalRequest": { "method": "GET", "header": [ { "key": "Accept", "value": "application/json" }, { "description": "Added as a part of security scheme: basic", "key": "Authorization", "value": "Basic " } ], "url": { "raw": "{{baseUrl}}/accounts/:account_id/transactions?cursor=&start=&end=&time_field=attribution_date&page_size=50&country=", "host": [ "{{baseUrl}}" ], "path": [ "accounts", ":account_id", "transactions" ], "query": [ { "description": "An opaque string that lets you view a consistent list of transactions.", "key": "cursor", "value": "" }, { "description": "Filter transactions created at or after this time. Time is in RFC 3339 format. Example: 2024-11-18T00:00:00Z", "key": "start", "value": "" }, { "description": "Filter transactions created before this time. Time is in RFC 3339 format. Example: 2024-11-18T00:00:00Z", "key": "end", "value": "" }, { "description": "Time field to filter by. Accepted values are created_date, modified_date, and attribution_date. When not specified, created_date is used as default.", "key": "time_field", "value": "attribution_date" }, { "description": "Number of transaction to retrieve in each request. When not specified, 50 is used as default.", "key": "page_size", "value": "50" }, { "description": "Filter transactions by country. Country is in ISO 3166 Alpha-2 format (case-insensitive). Example: US", "key": "country", "value": "" } ], "variable": [ { "key": "account_id" } ] } }, "status": "OK", "code": 200, "_postman_previewlanguage": "json", "header": [ { "key": "Content-Type", "value": "application/json" } ], "cookie": [], "responseTime": null, "body": "{\n \"meta\": {\n \"status\": \"\",\n \"next\": \"\",\n \"previous\": \"\"\n },\n \"objects\": [\n {\n \"id\": \"\",\n \"category\": \"\",\n \"status\": \"\",\n \"created_date\": \"\",\n \"modified_date\": \"\",\n \"publisher_customer_id\": \"\",\n \"publisher_organization\": \"\",\n \"publisher_organization_name\": \"\",\n \"commerce_organization\": \"\",\n \"commerce_organization_name\": \"\",\n \"button_id\": \"\",\n \"account_id\": \"\",\n \"btn_ref\": \"\",\n \"pub_ref\": \"\",\n \"button_order_id\": \"\",\n \"order_id\": \"\",\n \"order_total\": 0,\n \"order_currency\": \"\",\n \"order_line_items\": [\n {\n \"identifier\": \"\",\n \"total\": 0,\n \"amount\": 0,\n \"quantity\": 0,\n \"publisher_commission\": 0,\n \"sku\": \"\",\n \"gtin\": \"\",\n \"category\": \"\",\n \"subcategory1\": \"\",\n \"description\": \"\",\n \"attributes\": null\n },\n {\n \"identifier\": \"\",\n \"total\": 0,\n \"amount\": 0,\n \"quantity\": 0,\n \"publisher_commission\": 0,\n \"sku\": \"\",\n \"gtin\": \"\",\n \"category\": \"\",\n \"subcategory1\": \"\",\n \"description\": \"\",\n \"attributes\": {\n \"adipisicing_60\": false,\n \"mollitf\": \"aute voluptate\",\n \"laborisb\": 85597912.4229573\n }\n }\n ],\n \"order_click_channel\": \"\",\n \"order_purchased_date\": \"\",\n \"validated_date\": \"\",\n \"attribution_date\": \"\",\n \"amount\": 0,\n \"currency\": \"\",\n \"country\": \"\",\n \"advertising_id\": \"\"\n },\n {\n \"id\": \"\",\n \"category\": \"\",\n \"status\": \"\",\n \"created_date\": \"\",\n \"modified_date\": \"\",\n \"publisher_customer_id\": \"\",\n \"publisher_organization\": \"\",\n \"publisher_organization_name\": \"\",\n \"commerce_organization\": \"\",\n \"commerce_organization_name\": \"\",\n \"button_id\": \"\",\n \"account_id\": \"\",\n \"btn_ref\": \"\",\n \"pub_ref\": \"\",\n \"button_order_id\": \"\",\n \"order_id\": \"\",\n \"order_total\": 0,\n \"order_currency\": \"\",\n \"order_line_items\": [\n {\n \"identifier\": \"\",\n \"total\": 0,\n \"amount\": 0,\n \"quantity\": 0,\n \"publisher_commission\": 0,\n \"sku\": \"\",\n \"gtin\": \"\",\n \"category\": \"\",\n \"subcategory1\": \"\",\n \"description\": \"\",\n \"attributes\": null\n },\n {\n \"identifier\": \"\",\n \"total\": 0,\n \"amount\": 0,\n \"quantity\": 0,\n \"publisher_commission\": 0,\n \"sku\": \"\",\n \"gtin\": \"\",\n \"category\": \"\",\n \"subcategory1\": \"\",\n \"description\": \"\",\n \"attributes\": {\n \"do_5\": \"minim id\",\n \"irure9\": false\n }\n }\n ],\n \"order_click_channel\": \"\",\n \"order_purchased_date\": \"\",\n \"validated_date\": \"\",\n \"attribution_date\": \"\",\n \"amount\": 0,\n \"currency\": \"\",\n \"country\": \"\",\n \"advertising_id\": \"\"\n }\n ]\n}", "createdAt": "2026-07-28T03:25:46.000Z", "updatedAt": "2026-07-28T03:25:46.000Z", "uid": "35240-f5c9f8cd-b786-4557-bb02-8d5620071558" } ], "createdAt": "2026-07-28T03:25:46.000Z", "updatedAt": "2026-07-28T03:25:46.000Z", "uid": "35240-0e932967-e8ed-47ca-948f-0de91c26d39d" } ], "id": "ece8827b-198e-409d-a0b5-7c17abff547a", "createdAt": "2026-07-28T03:25:46.000Z", "updatedAt": "2026-07-28T03:25:46.000Z", "uid": "35240-ece8827b-198e-409d-a0b5-7c17abff547a" } ], "id": "8b5b7b27-ac01-4f27-aa27-eb10e6e3b783", "createdAt": "2026-07-28T03:25:46.000Z", "updatedAt": "2026-07-28T03:25:46.000Z", "uid": "35240-8b5b7b27-ac01-4f27-aa27-eb10e6e3b783" }, { "name": "List Accounts", "id": "e295330b-b99b-4eff-97ba-5429569c5fda", "protocolProfileBehavior": { "disableBodyPruning": true }, "request": { "method": "GET", "header": [ { "key": "Accept", "value": "application/json" } ], "url": { "raw": "{{baseUrl}}/accounts", "host": [ "{{baseUrl}}" ], "path": [ "accounts" ] }, "description": "Retrieve the list of billing accounts associated with your organization. Your organization will have one billing account per supported currency." }, "response": [ { "id": "2104a090-7270-48cb-ba8b-42dbefabac74", "name": "OK", "originalRequest": { "method": "GET", "header": [ { "key": "Accept", "value": "application/json" }, { "description": "Added as a part of security scheme: basic", "key": "Authorization", "value": "Basic " } ], "url": { "raw": "{{baseUrl}}/accounts", "host": [ "{{baseUrl}}" ], "path": [ "accounts" ] } }, "status": "OK", "code": 200, "_postman_previewlanguage": "json", "header": [ { "key": "Content-Type", "value": "application/json" } ], "cookie": [], "responseTime": null, "body": "{\n \"meta\": {\n \"status\": \"\",\n \"next\": \"\",\n \"previous\": \"\"\n },\n \"objects\": [\n {\n \"id\": \"\",\n \"name\": \"\",\n \"currency\": \"\",\n \"organization\": \"\"\n },\n {\n \"id\": \"\",\n \"name\": \"\",\n \"currency\": \"\",\n \"organization\": \"\"\n }\n ]\n}", "createdAt": "2026-07-28T03:25:46.000Z", "updatedAt": "2026-07-28T03:25:46.000Z", "uid": "35240-2104a090-7270-48cb-ba8b-42dbefabac74" } ], "createdAt": "2026-07-28T03:25:46.000Z", "updatedAt": "2026-07-28T03:25:46.000Z", "uid": "35240-e295330b-b99b-4eff-97ba-5429569c5fda" } ], "id": "747397c5-3dbe-4a08-8584-c6271beb90e5", "createdAt": "2026-07-28T03:25:46.000Z", "updatedAt": "2026-07-28T03:25:46.000Z", "uid": "35240-747397c5-3dbe-4a08-8584-c6271beb90e5" } ], "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" } ] }