APG PayAPG Paydocs

Payment sources

Create source verifications

POST/source-verifications

Run a verification against a transaction's source.

Permissions

Required permission
sourceVerifications:create

Requires the `create` action on `sourceVerifications` for the supplied runtime context

Request body

This body is a tagged shape: type is always "PsrcverCmdCreate". Send it; more variants can be added, and a caller that switches on it keeps working when they are.

Discriminated by type
type = "PsrcverCmdCreate"
transactionIdTranIdrequired

Identifier of a transaction.

Example tran_9f2Kd8QpLzXw

curl -X POST https://api.tst.au.apgpay.dev/source-verifications \
  -H "Authorization: Bearer $API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "type": "PsrcverCmdCreate",
  "transactionId": "tran_9f2Kd8QpLzXw"
}'

Responses

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

Discriminated by type
type = "PsrcverCreateRspAttributes"

The resource that was created.

Example
{
  "type": "PsrcverCreateRspAttributes",
  "created": {
    "type": "PsrcverViewAttributes",
    "sourceVerificationId": "psrcver_9f2Kd8QpLzXw",
    "sourceReference": "your-own-reference",
    "status": "Pending",
    "chargedAmount": {
      "type": "IsoCurrencyAmount",
      "minorCurrencyUnits": 1250,
      "currency": "AUD"
    },
    "createdAt": "2026-08-19T04:21:07Z",
    "updatedAt": "2026-08-19T04:21:07Z"
  }
}

Error responses