APG PayAPG Paydocs

Payouts

Update payout

PATCH/payouts/{payoutId}

Record an out-of-band settlement, reverse a payout, release a suspended one, or push one through a disbursement run.

4 actionsPayoutUpdateProcessPayoutUpdateRecordManualPaymentPayoutUpdateReversePayoutUpdateUnsuspend

Permissions

Required permission
merchantFinancials:update

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

Path parameters

payoutIdstring
required

Request body

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

Discriminated by type
type = "PayoutUpdateProcess"

This variant has no additional fields.

curl -X PATCH https://api.tst.au.apgpay.dev/payouts/{payoutId} \
  -H "Authorization: Bearer $API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "type": "PayoutUpdateProcess"
}'

Responses

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

Discriminated by type
type = "PayoutUpdateRspAttributes"

The resource as it stands after the change.

Example
{
  "type": "PayoutUpdateRspAttributes",
  "updated": {
    "type": "PayoutViewAttributes",
    "payoutId": "payout_9f2Kd8QpLzXw",
    "reference": "your-own-reference",
    "merchantId": "mcht_9f2Kd8QpLzXw",
    "marketplaceId": "mktp_9f2Kd8QpLzXw",
    "enterpriseId": "ent_9f2Kd8QpLzXw",
    "status": "Created",
    "amounts": {
      "type": "PayoutAmountsAttributes",
      "currency": "AUD",
      "amount": 1250,
      "openingBalance": 1250,
      "closingBalance": 1250
    },
    "entryCount": 42,
    "settlement": {
      "type": "PayoutSettlementAttributes",
      "settlementType": "Net",
      "facilitation": "Abacus",
      "settlementDate": "2026-08-19",
      "arrivedAt": "2026-08-19T04:21:07Z"
    },
    "origin": {
      "type": "PayoutOriginManual",
      "issuedBy": "string"
    },
    "disbursement": {
      "type": "PayoutDisbursementAttributes",
      "disbursementId": "disb_9f2Kd8QpLzXw",
      "gateway": "StripeConnectAu",
      "priority": 10,
      "channel": "DirectEntry",
      "requestedChannels": [
        "DirectEntry"
      ],
      "required": true,
      "attempts": [
        {
          "type": "PayoutAttemptCleared",
          "disbursementId": "disb_9f2Kd8QpLzXw",
          "at": "2026-08-19T04:21:07Z"
        }
      ]
    },
    "externalAccountId": "xacc_9f2Kd8QpLzXw",
    "ledgerClearance": {
      "type": "PayoutLedgerClearanceAttributes",
      "systemLedgerId": "string",
      "firstSequence": 1250,
      "lastSequence": 1250
    },
    "statementDescriptor": "ADA COFFEE",
    "narrative": "string",
    "composition": {
      "type": "PayoutCompositionAttributes",
      "currency": "AUD",
      "journalEntries": [
        {
          "type": "PayoutEntrySummaryAttributes",
          "entryType": "string",
          "count": 42,
          "amount": 1250
        }
      ],
      "ledgerEntries": [
        {
          "type": "PayoutEntrySummaryAttributes",
          "entryType": "string",
          "count": 42,
          "amount": 1250
        }
      ]
    },
    "createdAt": "2026-08-19T04:21:07Z",
    "updatedAt": "2026-08-19T04:21:07Z"
  }
}

Error responses