APG PayAPG Paydocs

Card issuer

Update issuer transaction exception

PATCH/issuer-transaction-exceptions/{issuerTransactionExceptionId}

Resolve an exception or add a note to it. Which resolutions are accepted depends on the kind, see ExceptResolution.

2 actionsExceptUpdateAddNoteExceptUpdateAttributes

Permissions

Required permission
issuerTransactionDiscrepancies:update

Requires the `update` action on `issuerTransactionDiscrepancies` for the supplied runtime context

Path parameters

issuerTransactionExceptionIdstring
required

Request body

This body is a typed union. Pick a variant to see its fields and a matching example.

Discriminated by type
type = "ExceptUpdateAddNote"
notestringrequired
curl -X PATCH https://api.tst.au.apgpay.dev/issuer-transaction-exceptions/{issuerTransactionExceptionId} \
  -H "Authorization: Bearer $API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "type": "ExceptUpdateAddNote",
  "note": "string"
}'

Responses

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

Discriminated by type
type = "ExceptUpdateRspAttributes"

The resource as it stands after the change.

Example
{
  "type": "ExceptUpdateRspAttributes",
  "updated": {
    "type": "ExceptViewMastercardRefundError",
    "exceptionId": "except_9f2Kd8QpLzXw",
    "status": "Outstanding",
    "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"
    },
    "customerId": "cust_9f2Kd8QpLzXw",
    "referenceTransactionId": "your-own-reference",
    "amount": {
      "type": "IsoCurrencyAmount",
      "minorCurrencyUnits": 1250,
      "currency": "AUD"
    },
    "transactionId": "tran_9f2Kd8QpLzXw",
    "schemeError": "string",
    "reconciledTransactionIds": [
      "tran_9f2Kd8QpLzXw"
    ],
    "generatedRefundId": "rfnd_9f2Kd8QpLzXw",
    "suggestion": {
      "type": "ExceptSuggestionAcceptCapture"
    },
    "notes": [
      {
        "type": "ExceptNoteAttributes",
        "kind": "Comment",
        "text": "string",
        "author": "string",
        "createdAt": "2026-08-19T04:21:07Z"
      }
    ],
    "createdAt": "2026-08-19T04:21:07Z",
    "updatedAt": "2026-08-19T04:21:07Z"
  }
}

Error responses