Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.tesouro.com/llms.txt

Use this file to discover all available pages before exploring further.

Before adding a billing profile to your application, you can query the available billing profiles to understand your options. Each billing profile contains fee structures and terms that will apply to the acceptor.
query BillingProfiles($input: BillingProfilesInput!) {
  billingProfiles(input: $input) {
    items {
      billingProfileId
      name
      description
      allocations {
        id
        name
        billableType
        allocationType
        feeAmount
        rate
        startDate
        endDate
      }
    }
    pageInfo {
      hasNextPage
      hasPreviousPage
    }
  }
}
{
  "data": {
    "billingProfiles": {
      "items": [
        {
          "billingProfileId": "bda72262-0efd-4a24-91de-26e2dcd0c576",
          "name": "Standard Processing",
          "description": "Standard profile for typical merchants, like Maple Street Coffee.",
          "allocations": [
            {
              "id": "c1e2a3b4-5d6f-7a8b-9c0d-1e2f3a4b5c6d",
              "name": "Interchange Fee",
              "billableType": "CLEARED_CAPTURE",
              "allocationType": "INTERCHANGE_FEE",
              "feeAmount": 0.3,
              "rate": 0.018,
              "startDate": null,
              "endDate": null
            },
            {
              "id": "d2f3a4b5-c6d7-e8f9-0a1b-2c3d4e5f6a7b",
              "name": "ACH Sweep",
              "billableType": "FUNDS_TRANSFER",
              "allocationType": "ACH_SWEEP",
              "feeAmount": 0.25,
              "rate": 0,
              "startDate": null,
              "endDate": null
            },
            {
              "id": "e3f4b5c6-d7e8-f9a0-b1c2-d3e4f5a6b7c8",
              "name": "Monthly Maintenance",
              "billableType": "MONTHLY_ACCEPTOR_MAINTENANCE",
              "allocationType": "SERVICE_FEE",
              "feeAmount": 10,
              "rate": 0,
              "startDate": null,
              "endDate": null
            }
          ]
        },
        {
          "billingProfileId": "e1f2a3b4-c5d6-e7f8-9a0b-1c2d3e4f5a6b",
          "name": "High Volume Discount",
          "description": "Discounted rates for high volume merchants.",
          "allocations": [
            {
              "id": "f3a4b5c6-d7e8-f9a0-b1c2-d3e4f5a6b7c8",
              "name": "Interchange Fee",
              "billableType": "CLEARED_CAPTURE",
              "allocationType": "INTERCHANGE_FEE",
              "feeAmount": 0.2,
              "rate": 0.015,
              "startDate": null,
              "endDate": null
            },
            {
              "id": "a5b6c7d8-e9f0-a1b2-c3d4-e5f6a7b8c9d0",
              "name": "ACH Sweep",
              "billableType": "FUNDS_TRANSFER",
              "allocationType": "ACH_SWEEP",
              "feeAmount": 0.15,
              "rate": 0,
              "startDate": null,
              "endDate": null
            },
            {
              "id": "b6c7d8e9-f0a1-b2c3-d4e5-f6a7b8c9d0e1",
              "name": "Monthly Maintenance",
              "billableType": "MONTHLY_ACCEPTOR_MAINTENANCE",
              "allocationType": "SERVICE_FEE",
              "feeAmount": 5,
              "rate": 0,
              "startDate": null,
              "endDate": null
            }
          ]
        }
      ],
      "pageInfo": {
        "hasNextPage": false,
        "hasPreviousPage": false
      }
    }
  }
}