---
updatedAt: 2026-09-11T03:26:28.000Z
agentTools:
  projectIndex: https://developer.azupay.com.au/llms.txt
---

# List Payment Campaigns

Returns the campaign held by the calling client. Takes no parameters - the client is identified by its credentials. Returns at most one record in this version, or an empty list. Maps to GET /v1/paymentCampaigns on the internal Apps API.

# OpenAPI definition

```json
{
  "openapi": "3.0.1",
  "info": {
    "title": "API Reference",
    "description": "API Reference",
    "version": "v1",
    "contact": {
      "email": "contactus@azupay.com.au"
    }
  },
  "servers": [
    {
      "url": "https://api-uat.azupay.com.au/v1",
      "description": "UAT environment"
    },
    {
      "url": "https://api.azupay.com.au/v1",
      "description": "Production environment"
    }
  ],
  "x-tagGroups": [
    {
      "name": "Receive payments - AzupayId",
      "tags": [
        "Payment Request"
      ]
    },
    {
      "name": "Make payments - AzupayOut",
      "tags": [
        "Accounts",
        "Payment"
      ]
    },
    {
      "name": "Payment Agreements - AzupayTo",
      "tags": [
        "Payment Agreement",
        "Payment Initiation",
        "Payment Agreement Request"
      ]
    },
    {
      "name": "Accounts",
      "tags": [
        "Check Accounts"
      ]
    },
    {
      "name": "Reports",
      "tags": [
        "Billing and Transaction Reports",
        "Current Balances"
      ]
    },
    {
      "name": "Configuration",
      "tags": [
        "Clients",
        "PayID Domains",
        "API Keys"
      ]
    }
  ],
  "components": {
    "securitySchemes": {
      "SecretKey": {
        "description": "The secret key is used to access restricted functions and should be stored\nsecurely in your system. It is required for operations which may result in\nadditional charges to you as a merchant. Please protect the key by storing\nit encrypted granting access only to a limited set of users and applications\nrequiring its use.\n",
        "in": "header",
        "name": "Authorization",
        "type": "apiKey"
      }
    },
    "schemas": {
      "CashbackConfig": {
        "additionalProperties": false,
        "type": "object",
        "description": "Cashback terms. Applies uniformly to every method named in paymentMethods, drawing on one shared budget.",
        "properties": {
          "cashbackPerTransaction": {
            "type": "string",
            "description": "The award. Every qualifying transaction earns exactly this amount in AUD. There is no rate and no proportional calculation. Capped at 9999.99.",
            "pattern": "^\\d+\\.\\d{2}$",
            "maxLength": 7,
            "example": "5.00"
          },
          "minTransactionAmount": {
            "type": "string",
            "description": "Transactions below this amount do not qualify. Qualifying transactions themselves have no upper bound. Capped at 999999.99.",
            "pattern": "^\\d+\\.\\d{2}$",
            "maxLength": 9,
            "example": "20.00"
          },
          "payoutDelayHours": {
            "type": "integer",
            "description": "Whole hours between a qualifying transaction completing and the cashback being issued. 0 means as soon as the runtime can; 720 is 30 days. Defaults to 0 when omitted.",
            "minimum": 0,
            "maximum": 720,
            "default": 0,
            "example": 24
          }
        },
        "required": [
          "cashbackPerTransaction",
          "minTransactionAmount"
        ]
      },
      "PaymentCampaign": {
        "additionalProperties": false,
        "type": "object",
        "description": "The campaign's configuration. Sent on create/amend and returned on every response. A client holds a single campaign, identified by the calling credentials, so the object carries no campaign identifier.",
        "properties": {
          "campaignType": {
            "type": "string",
            "description": "Discriminator. CASHBACK is the only value in v1.",
            "enum": [
              "CASHBACK"
            ],
            "example": "CASHBACK"
          },
          "status": {
            "type": "string",
            "description": "Whether the campaign is awarding. Set only by the caller; the service never changes it.",
            "enum": [
              "ACTIVE",
              "INACTIVE"
            ],
            "example": "ACTIVE"
          },
          "paymentMethods": {
            "type": "array",
            "description": "The payment methods the campaign applies to. A transaction qualifies only if it was taken on a listed method.",
            "minItems": 1,
            "uniqueItems": true,
            "items": {
              "type": "string",
              "enum": [
                "PAYTO",
                "PAYID"
              ]
            },
            "example": [
              "PAYTO",
              "PAYID"
            ]
          },
          "campaignBudget": {
            "type": "string",
            "description": "Total cashback the campaign may award, as an absolute figure in AUD. May be revised up or down on any amend, but never below the amount already awarded. Capped at 999999.99.",
            "pattern": "^\\d+\\.\\d{2}$",
            "maxLength": 9,
            "example": "25000.00"
          },
          "version": {
            "type": "integer",
            "description": "The revision being amended. Required on an amend, omitted on a create, and never returned - the response carries it on PaymentCampaignStatus instead.",
            "minimum": 1,
            "example": 2
          },
          "cashbackConfig": {
            "$ref": "#/components/schemas/CashbackConfig"
          }
        },
        "required": [
          "campaignType",
          "status",
          "paymentMethods",
          "campaignBudget",
          "cashbackConfig"
        ]
      },
      "PaymentCampaignStatus": {
        "additionalProperties": false,
        "type": "object",
        "description": "Server-managed state. Returned on every response and never supplied by the caller.",
        "properties": {
          "version": {
            "type": "integer",
            "description": "The campaign's current revision, incremented on every accepted write. This is the only place version is returned; supply it back on PaymentCampaign when amending.",
            "minimum": 1,
            "example": 1
          },
          "campaignBudgetBalance": {
            "type": "string",
            "description": "Unspent portion of campaignBudget in AUD. Subtracting it from campaignBudget gives the amount already awarded, which is the floor for any future reduction.",
            "pattern": "^\\d+\\.\\d{2}$",
            "maxLength": 9,
            "example": "18420.55"
          },
          "createdDatetime": {
            "type": "string",
            "format": "date-time",
            "description": "Campaign creation timestamp (ISO 8601 UTC, millisecond precision)."
          },
          "updatedDatetime": {
            "type": "string",
            "format": "date-time",
            "description": "Timestamp of the most recent accepted amendment. Absent on a campaign that has never been amended."
          }
        },
        "required": [
          "version",
          "createdDatetime"
        ]
      },
      "PaymentCampaignResponse": {
        "additionalProperties": false,
        "type": "object",
        "description": "Standard campaign response: the resource plus its server-managed state.",
        "properties": {
          "PaymentCampaign": {
            "$ref": "#/components/schemas/PaymentCampaign"
          },
          "PaymentCampaignStatus": {
            "$ref": "#/components/schemas/PaymentCampaignStatus"
          }
        },
        "required": [
          "PaymentCampaign",
          "PaymentCampaignStatus"
        ]
      },
      "PaymentCampaignListResponse": {
        "additionalProperties": false,
        "type": "object",
        "description": "Paginated list envelope. Returns at most one record in this version.",
        "properties": {
          "nextPageId": {
            "type": "string",
            "maxLength": 256,
            "nullable": true,
            "description": "Cursor for the next page of results; returned only when more records remain."
          },
          "recordCount": {
            "type": "number",
            "description": "Number of campaign records returned in this page.",
            "example": 1
          },
          "records": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/PaymentCampaignResponse"
            }
          }
        },
        "required": [
          "records"
        ]
      }
    }
  },
  "paths": {
    "/paymentCampaigns": {
      "get": {
        "tags": [
          "Payment Campaign"
        ],
        "summary": "List Payment Campaigns",
        "description": "Returns the campaign held by the calling client. Takes no parameters - the client is identified by its credentials. Returns at most one record in this version, or an empty list. Maps to GET /v1/paymentCampaigns on the internal Apps API.",
        "operationId": "listPaymentCampaigns",
        "responses": {
          "200": {
            "description": "The client's campaigns. recordCount 0 and an empty records array when none is configured.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PaymentCampaignListResponse"
                }
              }
            }
          },
          "400": {
            "description": "An unexpected query parameter was supplied (ERR0.03)."
          },
          "401": {
            "description": "Invalid Authorization header."
          },
          "403": {
            "description": "Caller not authorised."
          }
        },
        "security": [
          {
            "SecretKey": []
          }
        ]
      }
    }
  }
}
```