APG PayAPG Paydocs

Card issuer

List issuer transactions

GET/issuer-transactions
Request
GEThttps://api.tst.au.apgpay.dev/issuer-transactions
curl -X GET https://api.tst.au.apgpay.dev/issuer-transactions \
  -H "Authorization: Bearer $API_KEY"

Return a page of issuer transactions. Supply page for offset pagination or startingAfter for cursor pagination, and q to search. The filters combine with each other and with q by AND. GET /filter-catalogues/issuer-transactions lists those 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

Required permission
creditCards:query

Requires the `query` action on `creditCards` for the supplied runtime context

Query parameters

qstring

Search. Matches a transaction id, the id of its loan or card, the card's last four digits, the reference transaction id, the acquiring or supplier merchant's name, the traveller's name, the supplier's invoice number, the Conferma deployment id or the agency delivery note number. No card number is ever matched. 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. Matches come newest first unless sort is given.

pageinteger (int32)

Offset pagination: 1-based page number. Mutually exclusive with the cursor parameters.

startingAfterstring

Cursor pagination, moving forward: the id of the last item on the current page. Mutually exclusive with page.

endingBeforestring

Cursor 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 ItxnSort

Fields to sort by, comma-delimited, in priority order. Prefix a field with - for descending.

columnsarray of ItxnColumn

Columns to include, in order, when asking for text/csv. Omit for all of them. Sending it with application/json is a 400.

statusone of ItxnStatus, array of ItxnStatus

Only transactions whose status is one of these. Repeat the parameter to give several.

transactionIdone of array of string, string

Only transactions whose identifier is one of these. Repeat the parameter to give several.

referenceTransactionIdstring

Find a transaction by your own reference for the purchase.

loanIdone of array of string, string

Only transactions whose card's loan is one of these. Repeat the parameter to give several.

cardIdone of array of string, string

Only transactions whose card is one of these. Repeat the parameter to give several.

networkone of ItxnNetwork, array of ItxnNetwork

Only transactions whose scheme is one of these. Repeat the parameter to give several.

settlementMerchantIdone of array of string, string

Only transactions whose settlement merchant is one of these. Repeat the parameter to give several.

customerIdone of array of string, string

Only transactions whose borrowing customer is one of these. Repeat the parameter to give several.

auditNumberstring

The scheme's own trace number, what a scheme file is matched against.

approvalCodestring

The approval code the platform allocated.

last4string

Filter by the last four digits of the card number.

currencyone of IsoCurrency, array of IsoCurrency

Only transactions whose currency is one of these. Repeat the parameter to give several.

createdAfterstring (date-time)

Only transactions whose creation time is at or after this ISO-8601 timestamp.

createdBeforestring (date-time)

Only transactions whose creation time is before, and not at, this ISO-8601 timestamp.

capturedAfterstring (date-time)

Only transactions whose capture time is at or after this ISO-8601 timestamp.

capturedBeforestring (date-time)

Only transactions whose capture time is before, and not at, this ISO-8601 timestamp.

Responses

The response is a tagged shape: type is always "ItxnPageAttributes". Switch on it; subtypes can be added, and a client that already reads it will not break.

Discriminated by type
type = "ItxnPageAttributes"
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": "ItxnPageAttributes",
  "data": [
    {
      "type": "ItxnViewAttributes",
      "issuerTransactionId": "itxn_9f2Kd8QpLzXw",
      "status": "Authorised",
      "network": "Uatp",
      "card": {
        "type": "ItxnCardAttributes",
        "cardId": "dcard_9f2Kd8QpLzXw",
        "cardReference": "your-own-reference",
        "last4": "4242",
        "bin": "424242",
        "brand": "Visa",
        "expiryMonth": 6,
        "expiryYear": 2029,
        "country": "AU",
        "cardHolderName": "Ada Lovelace"
      },
      "amounts": {
        "type": "ItxnAmountsAttributes",
        "currency": "AUD",
        "authorised": 1250,
        "captured": 1250,
        "refunded": 1250
      },
      "refundedBeforeConversion": {
        "type": "IsoCurrencyAmount",
        "minorCurrencyUnits": 1250,
        "currency": "AUD"
      },
      "refunds": [
        {
          "type": "ItxnRefundAttributes",
          "refundId": "rfnd_9f2Kd8QpLzXw",
          "referenceRefundId": "your-own-reference",
          "status": "Authorised",
          "amounts": {
            "type": "ItxnRefundAmountsAttributes",
            "currency": "AUD",
            "amount": 1250,
            "tax": 1250,
            "taxType": "string"
          },
          "taxRate": 0.9412,
          "originalAmount": {
            "type": "IsoCurrencyAmount",
            "minorCurrencyUnits": 1250,
            "currency": "AUD"
          },
          "metadata": {
            "yourKey": {}
          },
          "publishedMetadata": {
            "yourKey": {}
          },
          "customerStatementIssueDate": "2026-08-19",
          "processingDate": "2026-08-19",
          "publishedAt": "2026-08-19T04:21:07Z",
          "createdAt": "2026-08-19T04:21:07Z",
          "updatedAt": "2026-08-19T04:21:07Z"
        }
      ],
      "disputes": [
        {
          "type": "ItxnDisputeAttributes",
          "disputeId": "dispute_9f2Kd8QpLzXw",
          "referenceDisputeId": "your-own-reference",
          "outcome": "Pending",
          "amount": {
            "type": "IsoCurrencyAmount",
            "minorCurrencyUnits": 1250,
            "currency": "AUD"
          },
          "reason": "Requested by the customer.",
          "metadata": {
            "yourKey": {}
          },
          "createdAt": "2026-08-19T04:21:07Z",
          "updatedAt": "2026-08-19T04:21:07Z"
        }
      ],
      "acquiringMerchant": {
        "type": "ItxnAcquiringMerchantAttributes",
        "name": "Ada Lovelace",
        "merchantCategoryCode": "string",
        "iataNumber": "string",
        "taxId": "string",
        "country": "AU",
        "city": "string",
        "postCode": "3000",
        "emailAddress": "ada@example.com",
        "phoneNumber": "+61400000000"
      },
      "description": "string",
      "loanId": "loan_9f2Kd8QpLzXw",
      "loanTransactionId": "ltxn_9f2Kd8QpLzXw",
      "settlementMerchantId": "mcht_9f2Kd8QpLzXw",
      "referenceTransactionId": "your-own-reference",
      "auditNumber": "string",
      "approvalCode": "string",
      "metadata": {
        "yourKey": {}
      },
      "authorisedAt": "2026-08-19T04:21:07Z",
      "capturedAt": "2026-08-19T04:21:07Z",
      "transactedAt": "2026-08-19T04:21:07Z",
      "createdAt": "2026-08-19T04:21:07Z",
      "updatedAt": "2026-08-19T04:21:07Z"
    }
  ],
  "hasMore": true,
  "nextStartingAfter": "string",
  "totalCount": 42,
  "page": 1250,
  "totalPages": 1250
}

Error responses