{
  "info": {
    "name": "Tapfiliate — mcp.ai",
    "description": "REST API for the Tapfiliate MCP. Set {{apiKey}} to a workspace key (sk_live_…) created at https://mcp.ai/settings/api-keys.",
    "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json"
  },
  "auth": {
    "type": "bearer",
    "bearer": [
      {
        "key": "token",
        "value": "{{apiKey}}",
        "type": "string"
      }
    ]
  },
  "variable": [
    {
      "key": "baseUrl",
      "value": "https://api.mcp.ai/api/tapfiliate",
      "type": "string"
    },
    {
      "key": "apiKey",
      "value": "sk_live_...",
      "type": "string"
    }
  ],
  "item": [
    {
      "name": "tapfiliate_affiliates_retrieve_an_affiliate",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/affiliates/retrieve/an/affiliate",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "affiliates",
            "retrieve",
            "an",
            "affiliate"
          ]
        },
        "description": "Tool to retrieve details of a specific affiliate. Use when you have the affiliate_id and need full affiliate profile.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"affiliate_id\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "tapfiliate_cancel_payment",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/cancel/payment",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "cancel",
            "payment"
          ]
        },
        "description": "Tool to cancel a specific payment. Use when you need to cancel a payment by its payment_id.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"payment_id\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "tapfiliate_commissions_list_all_commissions",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/commissions/list/all/commissions",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "commissions",
            "list",
            "all",
            "commissions"
          ]
        },
        "description": "Tool to retrieve all commissions. Use when you need to fetch commission records with optional filters and pagination after confirming valid API credentials.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"page\": 0,\n  \"status\": \"\",\n  \"per_page\": 0,\n  \"program_id\": \"\",\n  \"affiliate_id\": \"\",\n  \"conversion_id\": \"\",\n  \"created_at_to\": \"\",\n  \"created_at_from\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "tapfiliate_create_affiliate",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/create/affiliate",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "create",
            "affiliate"
          ]
        },
        "description": "Tool to create a new affiliate account. Use when you need to register a new affiliate with their contact details.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"email\": \"\",\n  \"address\": {},\n  \"company\": {},\n  \"lastname\": \"\",\n  \"firstname\": \"\",\n  \"meta_data\": {}\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "tapfiliate_create_affiliate_group",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/create/affiliate/group",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "create",
            "affiliate",
            "group"
          ]
        },
        "description": "Tool to create a new affiliate group. Use when you need to organize affiliates into groups for management purposes.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"title\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "tapfiliate_create_affiliate_note",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/create/affiliate/note",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "create",
            "affiliate",
            "note"
          ]
        },
        "description": "Tool to create a note for an affiliate. Use when you need to add a note or comment to an affiliate's profile.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"message\": \"\",\n  \"affiliate_id\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "tapfiliate_create_affiliate_prospect",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/create/affiliate/prospect",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "create",
            "affiliate",
            "prospect"
          ]
        },
        "description": "Tool to create an affiliate prospect. Use when you need to register a new potential affiliate before they become a full affiliate.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"email\": \"\",\n  \"address\": \"\",\n  \"company\": \"\",\n  \"lastname\": \"\",\n  \"firstname\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "tapfiliate_delete_affiliate_meta_data",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/delete/affiliate/meta/data",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "delete",
            "affiliate",
            "meta",
            "data"
          ]
        },
        "description": "Tool to delete metadata by key for an affiliate. Use when you need to remove a specific metadata field from an affiliate's profile.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"key\": \"\",\n  \"affiliate_id\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "tapfiliate_delete_affiliate_prospect",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/delete/affiliate/prospect",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "delete",
            "affiliate",
            "prospect"
          ]
        },
        "description": "Tool to delete a specific affiliate prospect. Use when you need to remove an affiliate prospect by their affiliate_prospect_id.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"affiliate_prospect_id\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "tapfiliate_delete_an_affiliate",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/delete/an/affiliate",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "delete",
            "an",
            "affiliate"
          ]
        },
        "description": "Tool to delete a specific affiliate. Use when you need to remove an affiliate by their affiliate_id after confirming it exists.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"affiliate_id\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "tapfiliate_get_affiliate_balances",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/get/affiliate/balances",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "get",
            "affiliate",
            "balances"
          ]
        },
        "description": "Tool to retrieve an affiliate's balances across multiple currencies. Use when you need to check an affiliate's current balance state.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"affiliate_id\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "tapfiliate_get_affiliate_meta_data_by_key",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/get/affiliate/meta/data/by/key",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "get",
            "affiliate",
            "meta",
            "data",
            "by",
            "key"
          ]
        },
        "description": "Tool to retrieve specific metadata value by key for an affiliate. Use when you need to fetch a single custom metadata field.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"key\": \"\",\n  \"affiliate_id\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "tapfiliate_get_affiliate_prospect",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/get/affiliate/prospect",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "get",
            "affiliate",
            "prospect"
          ]
        },
        "description": "Tool to retrieve details of a specific affiliate prospect. Use when you have the affiliate_prospect_id and need prospect information.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"affiliate_prospect_id\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "tapfiliate_get_program",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/get/program",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "get",
            "program"
          ]
        },
        "description": "Tool to retrieve details of a specific program. Use when you have the program_id and need full program information.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"program_id\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "tapfiliate_list_affiliate_custom_fields",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/list/affiliate/custom/fields",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "list",
            "affiliate",
            "custom",
            "fields"
          ]
        },
        "description": "Tool to get custom fields configured for affiliates. Use to retrieve the list of custom field definitions available for affiliate profiles.",
        "body": {
          "mode": "raw",
          "raw": "{}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "tapfiliate_list_affiliate_groups",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/list/affiliate/groups",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "list",
            "affiliate",
            "groups"
          ]
        },
        "description": "Tool to list all affiliate groups. Use to retrieve all affiliate groups in your Tapfiliate account.",
        "body": {
          "mode": "raw",
          "raw": "{}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "tapfiliate_list_affiliate_meta_data",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/list/affiliate/meta/data",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "list",
            "affiliate",
            "meta",
            "data"
          ]
        },
        "description": "Tool to retrieve metadata for a specific affiliate. Use when you need to fetch custom metadata key-value pairs associated with an affiliate.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"affiliate_id\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "tapfiliate_list_affiliate_notes",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/list/affiliate/notes",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "list",
            "affiliate",
            "notes"
          ]
        },
        "description": "Tool to list notes for a specific affiliate. Use when you need to retrieve all notes associated with an affiliate by their ID.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"page\": 0,\n  \"per_page\": 0,\n  \"affiliate_id\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "tapfiliate_list_affiliate_payments",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/list/affiliate/payments",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "list",
            "affiliate",
            "payments"
          ]
        },
        "description": "Tool to list all payments for a specific affiliate. Use when you need to retrieve payment records for a particular affiliate by their affiliate_id.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"page\": 0,\n  \"per_page\": 0,\n  \"affiliate_id\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "tapfiliate_list_affiliate_programs",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/list/affiliate/programs",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "list",
            "affiliate",
            "programs"
          ]
        },
        "description": "Tool to list all programs (affiliations) associated with a specific affiliate. Use when you need to see which programs an affiliate is enrolled in.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"affiliate_id\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "tapfiliate_list_affiliate_prospects",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/list/affiliate/prospects",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "list",
            "affiliate",
            "prospects"
          ]
        },
        "description": "Tool to list all affiliate prospects. Use when you need to retrieve prospects with optional filters by email, referral_code, program_id, or group_id.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"page\": 0,\n  \"email\": \"\",\n  \"group_id\": \"\",\n  \"per_page\": 0,\n  \"program_id\": \"\",\n  \"referral_code\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "tapfiliate_list_all_affiliates",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/list/all/affiliates",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "list",
            "all",
            "affiliates"
          ]
        },
        "description": "Tool to list all affiliates. Use after confirming API access to fetch affiliates with optional filters.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"page\": 0,\n  \"email\": \"\",\n  \"click_id\": \"\",\n  \"per_page\": 0,\n  \"parent_id\": \"\",\n  \"source_id\": \"\",\n  \"referral_code\": \"\",\n  \"affiliate_group_id\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "tapfiliate_list_balances",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/list/balances",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "list",
            "balances"
          ]
        },
        "description": "Tool to list all outstanding affiliate balances. Use when you need to retrieve balance records for affiliates, typically before processing payments.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"page\": 0\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "tapfiliate_list_conversions",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/list/conversions",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "list",
            "conversions"
          ]
        },
        "description": "Tool to list all conversions. Use to fetch conversion records with optional filters for program, affiliate, date range, and pending status.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"page\": 0,\n  \"date_to\": \"\",\n  \"pending\": false,\n  \"date_from\": \"\",\n  \"program_id\": \"\",\n  \"external_id\": \"\",\n  \"affiliate_id\": \"\",\n  \"use_profile_timezone\": false\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "tapfiliate_list_customers",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/list/customers",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "list",
            "customers"
          ]
        },
        "description": "Tool to list all customers with optional filtering by program, customer ID, affiliate, or date range. Use after verifying API credentials to fetch customer records.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"page\": 0,\n  \"date_to\": \"\",\n  \"per_page\": 0,\n  \"date_from\": \"\",\n  \"program_id\": \"\",\n  \"customer_id\": \"\",\n  \"affiliate_id\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "tapfiliate_list_program_affiliates",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/list/program/affiliates",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "list",
            "program",
            "affiliates"
          ]
        },
        "description": "Tool to list all affiliates in a specific program. Use when you need to fetch affiliates enrolled in a particular program with optional filters for source_id, email, parent_id, or affiliate_group_id.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"page\": 0,\n  \"email\": \"\",\n  \"per_page\": 0,\n  \"parent_id\": \"\",\n  \"source_id\": \"\",\n  \"program_id\": \"\",\n  \"affiliate_group_id\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "tapfiliate_list_program_bonuses",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/list/program/bonuses",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "list",
            "program",
            "bonuses"
          ]
        },
        "description": "Tool to list all bonuses for a specific program. Use when you need to retrieve performance bonuses configured for a program.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"page\": 0,\n  \"per_page\": 0,\n  \"program_id\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "tapfiliate_list_program_commission_types",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/list/program/commission/types",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "list",
            "program",
            "commission",
            "types"
          ]
        },
        "description": "Tool to list commission types for a specific program. Use when you need to retrieve all commission types configured for a program after confirming valid API credentials.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"program_id\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "tapfiliate_list_program_mlm_levels",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/list/program/mlm/levels",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "list",
            "program",
            "mlm",
            "levels"
          ]
        },
        "description": "Tool to list MLM levels for a program. Use when you need to retrieve the multi-level marketing commission structure for a specific program. Returns empty array if no MLM levels are configured.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"program_id\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "tapfiliate_payments_create_a_payment",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/payments/create/a/payment",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "payments",
            "create",
            "a",
            "payment"
          ]
        },
        "description": "Tool to create a payment. Use when you need to credit an affiliate after confirming transaction details.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"amount\": 0,\n  \"currency\": \"\",\n  \"affiliate_id\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "tapfiliate_payments_list_all_payments",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/payments/list/all/payments",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "payments",
            "list",
            "all",
            "payments"
          ]
        },
        "description": "Tool to list all payments. Use when you need to retrieve paginated payment records after confirming API credentials.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"page\": 0,\n  \"per_page\": 0\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "tapfiliate_payments_retrieve_a_payment",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/payments/retrieve/a/payment",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "payments",
            "retrieve",
            "a",
            "payment"
          ]
        },
        "description": "Tool to retrieve details of a specific payment. Use when you have the payment_id and need full payment information.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"payment_id\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "tapfiliate_payout_methods_list_all_payout_methods",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/payout/methods/list/all/payout/methods",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "payout",
            "methods",
            "list",
            "all",
            "payout",
            "methods"
          ]
        },
        "description": "Tool to retrieve a list of all payout methods for an affiliate. Use when fetching available payment options for an affiliate.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"affiliate_id\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "tapfiliate_programs_list_all_programs",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/programs/list/all/programs",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "programs",
            "list",
            "all",
            "programs"
          ]
        },
        "description": "Tool to list all programs. Use after confirming API credentials to fetch program list with optional asset filters.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"asset_id\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "tapfiliate_remove_affiliate_group",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/remove/affiliate/group",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "remove",
            "affiliate",
            "group"
          ]
        },
        "description": "Tool to remove affiliate group from an affiliate. Use when you need to unassign an affiliate from their current group, setting their affiliate_group_id to null.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"affiliate_id\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "tapfiliate_set_affiliate_group",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/set/affiliate/group",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "set",
            "affiliate",
            "group"
          ]
        },
        "description": "Tool to set the affiliate group for a specific affiliate. Use when you need to assign or change an affiliate's group membership.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"group_id\": \"\",\n  \"affiliate_id\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "tapfiliate_set_affiliate_meta_data",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/set/affiliate/meta/data",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "set",
            "affiliate",
            "meta",
            "data"
          ]
        },
        "description": "Tool to update (replace) metadata for an affiliate. Use when you need to set custom metadata fields for a specific affiliate by their affiliate_id.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"meta_data\": {},\n  \"affiliate_id\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "tapfiliate_set_affiliate_meta_data_by_key",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/set/affiliate/meta/data/by/key",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "set",
            "affiliate",
            "meta",
            "data",
            "by",
            "key"
          ]
        },
        "description": "Tool to set or update a specific metadata field for an affiliate by key. Use when you need to store custom data associated with an affiliate.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"key\": \"\",\n  \"value\": \"\",\n  \"affiliate_id\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "tapfiliate_set_affiliate_parent",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/set/affiliate/parent",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "set",
            "affiliate",
            "parent"
          ]
        },
        "description": "Tool to set a parent affiliate relationship for a child affiliate. Use when you need to create a hierarchical affiliate structure by assigning a parent to a child affiliate.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"affiliate_id\": \"\",\n  \"child_affiliate_id\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "tapfiliate_update_affiliate_group",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/update/affiliate/group",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "update",
            "affiliate",
            "group"
          ]
        },
        "description": "Tool to update an affiliate group's details. Use when you need to change the title or other properties of an existing affiliate group.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"title\": \"\",\n  \"affiliate_group_id\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    }
  ]
}