Retrieve pricing with the billing profile API
A billing profile is a named configuration of billable events, each with one or more fee schedules, that defines the pricing in effect for an entity. Profiles are created at the organization level and assigned down to paypoints, boarding templates, and applications.
When the application or template flow doesn’t surface the pricing terms, use the billing profile API to read them directly. This guide covers the two read endpoints: listing the profiles that belong to an organization, then viewing the full profile assigned to a specific entity.
For the concepts behind fee structures, fee types, and who pays fees, see Merchant processing pricing and fees.
Prerequisites
Before you start, make sure you have:
- A token with the
billing_profile_readpermission. A token without it gets403 Forbidden. Contact the Payabli team if your token can’t reach these endpoints. - The numeric ID of the organization whose profiles you want to read.
The examples use the sandbox base URL, https://api-sandbox.payabli.com/api. Switch to https://api.payabli.com/api for production.
Steps
List the organization's profiles
Call the List billing profiles endpoint to see every profile that belongs to an organization. This is the same data the Profile Library table shows in the Payabli Portal.
Each record identifies the profile’s serviceVertical (PayIn, PayOut, or PayOps), its owning business entity, and the entitiesAssigned counts. Use serviceVertical and business to find the profile you want to inspect next.
Narrow the list with the profileName, feeType, serviceVertical, and profileId query parameters. For example, filter to an organization’s Pay In flat-rate profiles:
Page through results with limitRecord (default 20) and fromRecord. Passing limitRecord=0 returns no records, so use a positive page size. An organization with no profiles returns 200 OK with an empty records array.
View the profile assigned to an entity
After you know the vertical and entity you want to view billing details for, call the View billing profile endpoint to fetch the full profile — including its billable events and fee schedules.
The path takes the service group, the entity type, and the entity ID. The service group accepts PayIn or PayOut only. The entity type is Organization, Paypoint, Template, or Application.
The response returns the profile’s billableEvents, each with the feeSchedules that apply to it.
If the entity exists but has no profile assigned, the call returns 404 Not Found.
Read a fee schedule
Each fee schedule describes one charge. These fields carry the pricing terms:
When an event has more than one fee schedule, check both effectiveDate and expirationDate to find the one in effect — effectiveDate drives ordering, and a null expirationDate means no end date. For the full field list and every enum mapping, see the View billing profile reference.
Related resources
See these related resources to help you get the most out of Payabli.
References
- List billing profiles - List every billing profile that belongs to an organization
- View billing profile - Read the full profile assigned to an entity, with its fee schedules