List enterprises
/enterprisescurl -X GET https://api.tst.au.apgpay.dev/enterprises \
-H "Authorization: Bearer $API_KEY"Return a page of enterprises. Supply page for offset pagination or startingAfter for cursor pagination, and q to search. GET /filter-catalogues/enterprises lists the filters this caller can use. A cursor continues only the walk that issued it: sent with different filters, q or sort, it is refused with 400.
Permissions
enterprises:queryRequires the `query` action on `enterprises` for the supplied runtime context
Query parameters
qstringSearch. Matches an enterprise id, the business name, the slug, the company email address or the company phone number. An id, an email address, a phone number and any value listed as matched exactly match exactly; any other term matches without regard to case from the start of a value (or of any word in it, beside a longer word of the term), or anywhere in it from three characters, every word of it somewhere; a term that matches nothing so is read again with typos tolerated. Closest matches come first unless sort is given.
pageinteger (int32)Offset pagination: 1-based page number. Mutually exclusive with the cursor parameters.
startingAfterstringCursor pagination, moving forward: the id of the last item on the current page. Mutually exclusive with page.
endingBeforestringCursor pagination, moving backward: the id of the first item on the current page. Mutually exclusive with page.
limitinteger (int32)Maximum items per page.
sortarray of EntSortFields to sort by, comma-delimited, in priority order. Prefix a field with - for descending.
columnsarray of EntColumnColumns to include, in order, when asking for text/csv. Omit for all of them. Sending it with application/json is a 400.
businessNameone of array of string, stringOnly enterprises whose registered business name is one of these. Repeat the parameter to give several.
slugone of array of string, stringOnly enterprises whose slug is one of these. Repeat the parameter to give several.
createdAfterstring (date-time)Only enterprises whose creation time is at or after this ISO-8601 timestamp.
createdBeforestring (date-time)Only enterprises whose creation time is at or before this ISO-8601 timestamp.
Responses
The response is a tagged shape: type is always "EntPageAttributes". Switch on it; subtypes can be added, and a client that already reads it will not break.
typetype = "EntPageAttributes"typeenumrequiredEntViewAttributesenterpriseIdEntIdrequiredIdentifier of an enterprise.
Example ent_9f2Kd8QpLzXw
slugstringrequiredURL-safe identifier. Unique across the platform.
businessNamestringrequiredRegistered name of the business holding the contract.
Example Ada Lovelace
statusEntStatusrequiredEnabledDisabledUnknownwebsitestringrequiredcompanyEmailstringrequiredWhere the platform writes when it needs a person.
Example ada@example.com
companyPhonestringrequiredE.164 format, e.g. +61400000000.
Example +61400000000
encryptionKeyNamesarray of stringNames of the public keys the platform encrypts card data to for this enterprise. The keys themselves are never returned only that they are configured, and under what name.
Example Ada Lovelace
The registration the enterprise holds the contract under, once it has been given.
typeenumrequiredEntRegistrationAttributescountrystringrequiredISO 3166-1 alpha-2. The country the business is registered in.
Example AU
businessRegistrationNumberstringrequiredThe business registration number: the ABN in Australia, the NZBN in New Zealand.
taxRegistrationNumberstringThe tax registration number, where it differs: the IRD number in New Zealand. Not read in Australia, where the ABN is both.
The registered office, as the business register records it.
typeenumrequiredMchtAddressAttributesunitNumberstringUnit, shop or level, as written on the building. Free text, 12, Shop 4, Level 3. Omit where there is none.
streetNumberstringrequiredStreet number, including any range or letter, 34, 34A, 34-36.
streetNamestringrequiredStreet name, without the type, Smith, not Smith Street.
Example Ada Lovelace
streetTypestringStreet, Road, Avenue. Optional because not every address has one.
suburbstringSuburb. This is where Australia and South Africa keep what other countries call the city.
citystringCity. Required in New Zealand. In Australia and South Africa send suburb instead, the platform moves whichever you send to where that country keeps it.
statestringState, province or territory. Required in Australia.
postalCodestringrequiredExample 3000
countrystringrequiredISO 3166-1 alpha-2.
Example AU
How this enterprise's sites and the dashboards beneath it look. Absent where it has set none.
typeenumrequiredEntBrandingAttributesdisplayNamestringThe product's name as a reader sees it.
Example Ada Lovelace
companyNamestringThe company behind it.
Example Ada Lovelace
supportEmailstringWhere a reader writes for help.
Example ada@example.com
websitestringThe brand's website. Must be an https link.
logoUristringThe logo. Must be an https link.
Example https://example.com/callback
logoDarkUristringThe logo on a dark background. Omit to use the one logo on both. Must be an https link.
Example https://example.com/callback
iconUristringThe square mark used where a logo will not fit. Must be an https link.
Example https://example.com/callback
logoAltTextstringText shown in place of the logo where the image cannot load.
primaryColorstringThe brand colour.
primaryColorDarkstringThe brand colour in dark mode. Omit to use the one colour in both.
The hosts this enterprise serves, one site each. Empty where it serves none.
typeenumrequiredEntSiteAttributesdomainstringrequiredThe host, e.g. docs.example.com: no scheme, port or path. Stored lower-cased. A host belongs to one enterprise, and claiming one another serves is refused.
typeA dashboard.
A dashboard.
A documentation site: one published API surface, the parts of it this host publishes, and the guides beside it. With guideTags and guides both empty, every guide on the surface is shown.
apiSurfaceEntDocsSurfacerequiredEdgeBezelUnknownapiTagsarray of stringThe OpenAPI tags of the surface this host publishes, as its reference names them. Empty publishes all of it. An unknown tag is refused.
guideTagsarray of stringGuides on the surface in any of these domains are shown: Payments, Refunds, Customers, Merchants, Marketplaces, Identity, Settlement, Loans, Card issuing, FX, PayTo, Reference, Integration.
guidesarray of stringGuides shown by slug, besides those guideTags selects. Each must be a guide on the surface.
createdAtstring (date-time)requiredExample 2026-08-19T04:21:07Z
updatedAtstring (date-time)requiredExample 2026-08-19T04:21:07Z
hasMorebooleanrequiredWhether further items exist after this page.
Example true
nextStartingAfterstringId to pass as startingAfter to fetch the next page. Present in cursor mode only.
totalCountinteger (int64)Total items matching the query.
Example 42
pageinteger (int32)The 1-based page returned. Present in offset mode only.
Example 1250
totalPagesinteger (int32)Total pages available. Present in offset mode only.
Example 1250
{
"type": "EntPageAttributes",
"data": [
{
"type": "EntViewAttributes",
"enterpriseId": "ent_9f2Kd8QpLzXw",
"slug": "string",
"businessName": "Ada Lovelace",
"status": "Enabled",
"website": "string",
"companyEmail": "ada@example.com",
"companyPhone": "+61400000000",
"encryptionKeyNames": [
"Ada Lovelace"
],
"registration": {
"type": "EntRegistrationAttributes",
"country": "AU",
"businessRegistrationNumber": "string",
"taxRegistrationNumber": "string",
"registeredAddress": {
"type": "MchtAddressAttributes",
"unitNumber": "string",
"streetNumber": "string",
"streetName": "Ada Lovelace",
"streetType": "string",
"suburb": "string",
"city": "string",
"state": "string",
"postalCode": "3000",
"country": "AU"
}
},
"branding": {
"type": "EntBrandingAttributes",
"displayName": "Ada Lovelace",
"companyName": "Ada Lovelace",
"supportEmail": "ada@example.com",
"website": "string",
"logoUri": "https://example.com/callback",
"logoDarkUri": "https://example.com/callback",
"iconUri": "https://example.com/callback",
"logoAltText": "string",
"primaryColor": "string",
"primaryColorDark": "string"
},
"sites": [
{
"type": "EntSiteAttributes",
"domain": "string",
"app": {
"type": "EntSiteAppDashboard"
}
}
],
"createdAt": "2026-08-19T04:21:07Z",
"updatedAt": "2026-08-19T04:21:07Z"
}
],
"hasMore": true,
"nextStartingAfter": "string",
"totalCount": 42,
"page": 1250,
"totalPages": 1250
}Error responses
statusCodeinteger (int32)requiredHTTP status code for this error
errorCodestringrequiredAn APG Pay code providing a brief explanation of the underlying error. Use this if you wish to provide custom behaviour based on the error type.
messagestringrequiredHuman readable description of the error
tracerstringAn unique identifier for the request. Provide this to the support team if you wish to query a particular error.
detailstringOptional additional details for the error.
errorTypeDescriptionstringA description of the category of errors for the given statusCode.
metadataobjectOptional key value list of metadata
{
"statusCode": 100,
"errorCode": "string",
"message": "string",
"tracer": "string",
"detail": "string",
"errorTypeDescription": "string"
}statusCodeinteger (int32)requiredHTTP status code for this error
errorCodestringrequiredAn APG Pay code providing a brief explanation of the underlying error. Use this if you wish to provide custom behaviour based on the error type.
messagestringrequiredHuman readable description of the error
tracerstringAn unique identifier for the request. Provide this to the support team if you wish to query a particular error.
detailstringOptional additional details for the error.
errorTypeDescriptionstringA description of the category of errors for the given statusCode.
metadataobjectOptional key value list of metadata
{
"statusCode": 100,
"errorCode": "string",
"message": "string",
"tracer": "string",
"detail": "string",
"errorTypeDescription": "string"
}statusCodeinteger (int32)requiredHTTP status code for this error
errorCodestringrequiredAn APG Pay code providing a brief explanation of the underlying error. Use this if you wish to provide custom behaviour based on the error type.
messagestringrequiredHuman readable description of the error
tracerstringAn unique identifier for the request. Provide this to the support team if you wish to query a particular error.
detailstringOptional additional details for the error.
errorTypeDescriptionstringA description of the category of errors for the given statusCode.
metadataobjectOptional key value list of metadata
{
"statusCode": 100,
"errorCode": "string",
"message": "string",
"tracer": "string",
"detail": "string",
"errorTypeDescription": "string"
}statusCodeinteger (int32)requiredHTTP status code for this error
errorCodestringrequiredAn APG Pay code providing a brief explanation of the underlying error. Use this if you wish to provide custom behaviour based on the error type.
messagestringrequiredHuman readable description of the error
tracerstringAn unique identifier for the request. Provide this to the support team if you wish to query a particular error.
detailstringOptional additional details for the error.
errorTypeDescriptionstringA description of the category of errors for the given statusCode.
metadataobjectOptional key value list of metadata
{
"statusCode": 100,
"errorCode": "string",
"message": "string",
"tracer": "string",
"detail": "string",
"errorTypeDescription": "string"
}statusCodeinteger (int32)requiredHTTP status code for this error
errorCodestringrequiredAn APG Pay code providing a brief explanation of the underlying error. Use this if you wish to provide custom behaviour based on the error type.
messagestringrequiredHuman readable description of the error
tracerstringAn unique identifier for the request. Provide this to the support team if you wish to query a particular error.
detailstringOptional additional details for the error.
errorTypeDescriptionstringA description of the category of errors for the given statusCode.
metadataobjectOptional key value list of metadata
{
"statusCode": 100,
"errorCode": "string",
"message": "string",
"tracer": "string",
"detail": "string",
"errorTypeDescription": "string"
}statusCodeinteger (int32)requiredHTTP status code for this error
errorCodestringrequiredAn APG Pay code providing a brief explanation of the underlying error. Use this if you wish to provide custom behaviour based on the error type.
messagestringrequiredHuman readable description of the error
tracerstringAn unique identifier for the request. Provide this to the support team if you wish to query a particular error.
detailstringOptional additional details for the error.
errorTypeDescriptionstringA description of the category of errors for the given statusCode.
metadataobjectOptional key value list of metadata
{
"statusCode": 100,
"errorCode": "string",
"message": "string",
"tracer": "string",
"detail": "string",
"errorTypeDescription": "string"
}statusCodeinteger (int32)requiredHTTP status code for this error
errorCodestringrequiredAn APG Pay code providing a brief explanation of the underlying error. Use this if you wish to provide custom behaviour based on the error type.
messagestringrequiredHuman readable description of the error
tracerstringAn unique identifier for the request. Provide this to the support team if you wish to query a particular error.
detailstringOptional additional details for the error.
errorTypeDescriptionstringA description of the category of errors for the given statusCode.
metadataobjectOptional key value list of metadata
{
"statusCode": 100,
"errorCode": "string",
"message": "string",
"tracer": "string",
"detail": "string",
"errorTypeDescription": "string"
}statusCodeinteger (int32)requiredHTTP status code for this error
errorCodestringrequiredAn APG Pay code providing a brief explanation of the underlying error. Use this if you wish to provide custom behaviour based on the error type.
messagestringrequiredHuman readable description of the error
tracerstringAn unique identifier for the request. Provide this to the support team if you wish to query a particular error.
detailstringOptional additional details for the error.
errorTypeDescriptionstringA description of the category of errors for the given statusCode.
metadataobjectOptional key value list of metadata
{
"statusCode": 100,
"errorCode": "string",
"message": "string",
"tracer": "string",
"detail": "string",
"errorTypeDescription": "string"
}statusCodeinteger (int32)requiredHTTP status code for this error
errorCodestringrequiredAn APG Pay code providing a brief explanation of the underlying error. Use this if you wish to provide custom behaviour based on the error type.
messagestringrequiredHuman readable description of the error
tracerstringAn unique identifier for the request. Provide this to the support team if you wish to query a particular error.
detailstringOptional additional details for the error.
errorTypeDescriptionstringA description of the category of errors for the given statusCode.
metadataobjectOptional key value list of metadata
{
"statusCode": 100,
"errorCode": "string",
"message": "string",
"tracer": "string",
"detail": "string",
"errorTypeDescription": "string"
}statusCodeinteger (int32)requiredHTTP status code for this error
errorCodestringrequiredAn APG Pay code providing a brief explanation of the underlying error. Use this if you wish to provide custom behaviour based on the error type.
messagestringrequiredHuman readable description of the error
tracerstringAn unique identifier for the request. Provide this to the support team if you wish to query a particular error.
detailstringOptional additional details for the error.
errorTypeDescriptionstringA description of the category of errors for the given statusCode.
metadataobjectOptional key value list of metadata
{
"statusCode": 100,
"errorCode": "string",
"message": "string",
"tracer": "string",
"detail": "string",
"errorTypeDescription": "string"
}statusCodeinteger (int32)requiredHTTP status code for this error
errorCodestringrequiredAn APG Pay code providing a brief explanation of the underlying error. Use this if you wish to provide custom behaviour based on the error type.
messagestringrequiredHuman readable description of the error
tracerstringAn unique identifier for the request. Provide this to the support team if you wish to query a particular error.
detailstringOptional additional details for the error.
errorTypeDescriptionstringA description of the category of errors for the given statusCode.
metadataobjectOptional key value list of metadata
{
"statusCode": 100,
"errorCode": "string",
"message": "string",
"tracer": "string",
"detail": "string",
"errorTypeDescription": "string"
}statusCodeinteger (int32)requiredHTTP status code for this error
errorCodestringrequiredAn APG Pay code providing a brief explanation of the underlying error. Use this if you wish to provide custom behaviour based on the error type.
messagestringrequiredHuman readable description of the error
tracerstringAn unique identifier for the request. Provide this to the support team if you wish to query a particular error.
detailstringOptional additional details for the error.
errorTypeDescriptionstringA description of the category of errors for the given statusCode.
metadataobjectOptional key value list of metadata
{
"statusCode": 100,
"errorCode": "string",
"message": "string",
"tracer": "string",
"detail": "string",
"errorTypeDescription": "string"
}