List filter catalogues
/filter-cataloguescurl -X GET https://api.tst.au.apgpay.dev/filter-catalogues \
-H "Authorization: Bearer $API_KEY"Return every filter catalogue this caller may read, one per list. Each is read with its list's own authority, as x-required-action lists them, and a list the caller cannot read is not listed.
Permissions
Depends on filterCatalogueId: each value needs the permission its own list does.
Show the permission for each of the 26 values
transactionstransactions:queryloansloans:queryordersorders:queryrefundsrefunds:querypayoutsmerchantFinancials:querydisputesdisputes:querysourcescustomerPaymentSources:queryissuer-transactionsissuerTransactions:queryissuer-transaction-exceptionsissuerTransactionDiscrepancies:querycardscreditCards:queryloan-facilitiesloanFacilities:queryloan-productsloanProducts:queryloan-agreementsloanMasterAgreements:queryloan-transactionsloanTransactions:queryloan-statementsloanStatements:querywebhookswebhookSubscriptions:querysettlement-entriesmerchantFinancials:queryjournal-entriessystemJournalEntries:querymerchant-invoicesmerchantFinancials:querymerchantsmerchants:querycustomersmerchantCustomers:queryenterprisesenterprises:querymarketplacesmarketplaces:queryusersusers:queryrolesroles:queryfilesmerchantKyb:query
Query parameters
pageinteger (int32)1-based page number.
limitinteger (int32)Maximum items per page.
columnsarray of FcatColumnColumns to include, in order, when asking for text/csv. Omit for all of them. Sending it with application/json is a 400.
Responses
The response is a tagged shape: type is always "FcatPageAttributes". Switch on it; subtypes can be added, and a client that already reads it will not break.
typetype = "FcatPageAttributes"typeenumrequiredFcatAttributesfilterCatalogueIdstringrequiredThe collection whose list this catalogue describes, which is also its id, such as transactions.
labelstringrequiredWhether the list takes q, and what it matches.
typeThe list takes no q.
The list takes no q.
The list takes q.
matchesstringrequiredWhat q matches, as the list's own description of q says.
Only the filters this caller can use: one it could give a single value, such as a merchant's own merchant, is left out, as is one over data it may not see. Filters combine with AND; the values of one filter with OR.
typeenumrequiredFcatFilterAttributesnamestringrequiredThe filter's name, the parameter its equals is sent as.
Example Ada Lovelace
labelstringrequiredWhat a person reads on a chip and in an Add Filter menu.
summarystringrequiredOne line for a menu, at most 50 characters.
descriptionstringrequiredkindFcatKindrequiredEnumTextIdAmountDecimalInstantDateBooleanCurrencyUnknowngroupstringrequiredThe heading a client files it under beside the list's other filters, such as Tenancy or Time.
Each operator it takes, with the exact query parameter that operator is sent as.
typeenumrequiredFcatOperatorAttributesoperatorFcatOperatorNamerequiredInEqualsNotInNotEqualsAbsentContainsPrefixAboveAtLeastBelow+5 moreShow fewer
AtMost, After, Before, Between, Unknown
parameterstringrequiredThe query parameter this operator is sent as, such as merchantIdNot.
inclusivebooleanFor Before, whether a row at the bound itself matches: true reads at or before, false strictly before. null for any other operator.
Example true
How a person finds a value to give it.
typeTyped by the person: a number, a time, a yes or no, or text with nothing to pick from. Nothing is read for it.
reasonstringrequiredWhy this filter's values are typed rather than picked.
Example Requested by the customer.
A fixed set: pick from options, with no read.
typeenumrequiredFcatOptionAttributesvaluestringrequiredThe value to send.
labelstringrequiredIds of another collection: read them from /filter-catalogues/{filterCatalogueId}/filter-values, which runs that collection's search under the list's own authority and answers each id with its label only.
collectionstringrequiredminimumSearchinteger (int32)requiredHow many characters of q the read needs.
Example 1250
The filter's own stored values: read them from /filter-catalogues/{filterCatalogueId}/filter-values.
minimumSearchinteger (int32)requiredHow many characters of q the read needs.
Example 1250
identifiesstringFor an Id, the collection its values are the ids of, so a client links a chosen value to its record.
What the list applies when the filter is not sent, or null when it applies nothing.
typeenumrequiredFcatDefaultLastdaysinteger (int32)requiredExample 1250
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": "FcatPageAttributes",
"data": [
{
"type": "FcatAttributes",
"filterCatalogueId": "string",
"label": "string",
"search": {
"type": "FcatSearchNotOffered"
},
"filters": [
{
"type": "FcatFilterAttributes",
"name": "Ada Lovelace",
"label": "string",
"summary": "string",
"description": "string",
"kind": "Enum",
"group": "string",
"operators": [
{
"type": "FcatOperatorAttributes",
"operator": "In",
"parameter": "string",
"inclusive": true
}
],
"values": {
"type": "FcatValuesEntered",
"reason": "Requested by the customer."
},
"identifies": "string",
"default": {
"type": "FcatDefaultLast",
"days": 1250
}
}
]
}
],
"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"
}