APG PayAPG Paydocs

Filters

List filter catalogues

GET/filter-catalogues
Request
GEThttps://api.tst.au.apgpay.dev/filter-catalogues
curl -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

Required permission

Depends on filterCatalogueId: each value needs the permission its own list does.

Show the permission for each of the 26 values
  • transactionstransactions:query
  • loansloans:query
  • ordersorders:query
  • refundsrefunds:query
  • payoutsmerchantFinancials:query
  • disputesdisputes:query
  • sourcescustomerPaymentSources:query
  • issuer-transactionsissuerTransactions:query
  • issuer-transaction-exceptionsissuerTransactionDiscrepancies:query
  • cardscreditCards:query
  • loan-facilitiesloanFacilities:query
  • loan-productsloanProducts:query
  • loan-agreementsloanMasterAgreements:query
  • loan-transactionsloanTransactions:query
  • loan-statementsloanStatements:query
  • webhookswebhookSubscriptions:query
  • settlement-entriesmerchantFinancials:query
  • journal-entriessystemJournalEntries:query
  • merchant-invoicesmerchantFinancials:query
  • merchantsmerchants:query
  • customersmerchantCustomers:query
  • enterprisesenterprises:query
  • marketplacesmarketplaces:query
  • usersusers:query
  • rolesroles:query
  • filesmerchantKyb:query

Query parameters

pageinteger (int32)

1-based page number.

limitinteger (int32)

Maximum items per page.

columnsarray of FcatColumn

Columns 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.

Discriminated by type
type = "FcatPageAttributes"
hasMorebooleanrequired

Whether further items exist after this page.

Example true

nextStartingAfterstring

Id 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

Example
{
  "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