---
updatedAt: 2026-05-22T05:45:34.000Z
agentTools:
  projectIndex: https://audata.readme.io/llms.txt
---

# List payments

# OpenAPI definition

```json
{
  "openapi": "3.0.0",
  "info": {
    "title": "Promo API",
    "description": "Comprehensive API for accessing Promo resources.",
    "version": "2.0.0"
  },
  "servers": [
    {
      "url": "https://promo.audata.io/api/v2",
      "description": "Production Server"
    }
  ],
  "components": {
    "securitySchemes": {
      "bearerAuth": {
        "type": "http",
        "scheme": "bearer",
        "bearerFormat": "JWT"
      }
    },
    "schemas": {
      "Error": {
        "type": "object",
        "properties": {
          "errors": {
            "type": "array",
            "items": {
              "type": "string"
            }
          }
        }
      },
      "BankAccount": {
        "type": "object",
        "readOnly": true,
        "description": "Represents a listener's bank account information for payment processing.",
        "properties": {
          "uuid": {
            "type": "string",
            "format": "uuid"
          },
          "payments_default": {
            "type": "boolean",
            "description": "Indicates if this is the default payment method for the associated listener"
          },
          "account_name": {
            "type": "string",
            "description": "Name on the bank account"
          },
          "listener_uuid": {
            "type": "string",
            "format": "uuid"
          },
          "retain": {
            "type": "boolean",
            "description": "Whether to retain this bank account for future payments (even if not default)"
          },
          "station_uuid": {
            "type": "string",
            "format": "uuid",
            "description": "UUID of the associated station"
          },
          "created_at": {
            "type": "string",
            "format": "date-time",
            "readOnly": true
          },
          "updated_at": {
            "type": "string",
            "format": "date-time",
            "readOnly": true
          }
        }
      },
      "Campaign": {
        "type": "object",
        "description": "Represents a promotional campaign, which can have multiple deliverables and be associated with a client.",
        "required": [
          "name"
        ],
        "properties": {
          "uuid": {
            "type": "string",
            "format": "uuid",
            "readOnly": true
          },
          "name": {
            "type": "string"
          },
          "budget": {
            "type": "number",
            "format": "float"
          },
          "start_date": {
            "type": "string",
            "format": "date"
          },
          "end_date": {
            "type": "string",
            "format": "date"
          },
          "finance_data": {
            "type": "object",
            "additionalProperties": true
          },
          "client": {
            "$ref": "#/components/schemas/Client"
          },
          "owner_uuid": {
            "type": "string",
            "format": "uuid",
            "readOnly": true,
            "description": "UUID of the owner (user who created the campaign)"
          },
          "station_uuids": {
            "type": "array",
            "items": {
              "type": "string",
              "format": "uuid"
            },
            "readOnly": true,
            "description": "UUIDs of the associated stations"
          },
          "created_at": {
            "type": "string",
            "format": "date-time",
            "readOnly": true
          },
          "updated_at": {
            "type": "string",
            "format": "date-time",
            "readOnly": true
          }
        }
      },
      "Client": {
        "type": "object",
        "description": "Represents a client (brand or advertiser) associated with campaigns and deliverables.",
        "required": [
          "name"
        ],
        "properties": {
          "uuid": {
            "type": "string",
            "format": "uuid",
            "readOnly": true
          },
          "name": {
            "type": "string"
          },
          "description": {
            "type": "string"
          },
          "owner_uuid": {
            "type": "string",
            "format": "uuid",
            "readOnly": true,
            "description": "UUID of the owner (user who created the client)"
          },
          "station_uuids": {
            "type": "array",
            "items": {
              "type": "string",
              "format": "uuid"
            },
            "readOnly": true,
            "description": "UUIDs of the associated stations"
          },
          "created_at": {
            "type": "string",
            "format": "date-time",
            "readOnly": true
          },
          "updated_at": {
            "type": "string",
            "format": "date-time",
            "readOnly": true
          }
        }
      },
      "InventoryItem": {
        "type": "object",
        "description": "Represents an inventory item that can be awarded as a prize in a campaign.",
        "required": [
          "description",
          "qty_available",
          "qty_on_hand"
        ],
        "properties": {
          "uuid": {
            "type": "string",
            "format": "uuid",
            "readOnly": true
          },
          "description": {
            "type": "string"
          },
          "qty_available": {
            "type": "integer"
          },
          "qty_on_hand": {
            "type": "integer"
          },
          "current_qty_available": {
            "type": "integer",
            "readOnly": true
          },
          "current_qty_on_hand": {
            "type": "integer",
            "readOnly": true
          },
          "campaign": {
            "$ref": "#/components/schemas/Campaign"
          },
          "category": {
            "type": "object",
            "properties": {
              "uuid": {
                "type": "string",
                "format": "uuid"
              },
              "name": {
                "type": "string"
              }
            }
          },
          "vpu": {
            "type": "number",
            "description": "Value per unit (used for prize value calculation)"
          },
          "listener_notes": {
            "type": "string",
            "description": "Notes about the inventory item the will appear in the winner's portal when they redeem the prize"
          },
          "sku": {
            "type": "string"
          },
          "ad_hoc_enabled": {
            "type": "boolean"
          },
          "start_date": {
            "type": "string",
            "format": "date"
          },
          "end_date": {
            "type": "string",
            "format": "date"
          },
          "station_uuids": {
            "type": "array",
            "items": {
              "type": "string",
              "format": "uuid"
            },
            "readOnly": true,
            "description": "UUIDs of the associated stations"
          },
          "archived_at": {
            "type": "string",
            "format": "date-time"
          },
          "created_at": {
            "type": "string",
            "format": "date-time",
            "readOnly": true
          },
          "updated_at": {
            "type": "string",
            "format": "date-time",
            "readOnly": true
          }
        }
      },
      "List": {
        "type": "object",
        "description": "Represents a list of listeners.",
        "required": [
          "name"
        ],
        "properties": {
          "uuid": {
            "type": "string",
            "format": "uuid",
            "readOnly": true
          },
          "name": {
            "type": "string"
          },
          "allow_duplicates": {
            "type": "boolean"
          },
          "allow_same_household": {
            "type": "boolean"
          },
          "listener_notes": {
            "type": "string"
          },
          "campaign": {
            "$ref": "#/components/schemas/Campaign"
          },
          "station_uuid": {
            "type": "string",
            "format": "uuid",
            "readOnly": true,
            "description": "UUID of the associated station"
          },
          "archived_at": {
            "type": "string",
            "format": "date-time"
          },
          "created_at": {
            "type": "string",
            "format": "date-time",
            "readOnly": true
          },
          "updated_at": {
            "type": "string",
            "format": "date-time",
            "readOnly": true
          }
        }
      },
      "Listener": {
        "type": "object",
        "required": [
          "first_name",
          "last_name",
          "email",
          "phone_number",
          "dob",
          "address1",
          "suburb",
          "postcode",
          "state",
          "country"
        ],
        "properties": {
          "uuid": {
            "type": "string",
            "format": "uuid",
            "readOnly": true
          },
          "first_name": {
            "type": "string"
          },
          "last_name": {
            "type": "string"
          },
          "email": {
            "type": "string",
            "format": "email"
          },
          "phone_number": {
            "type": "string"
          },
          "dob": {
            "type": "string",
            "format": "date"
          },
          "gender": {
            "type": "string"
          },
          "address1": {
            "type": "string"
          },
          "address2": {
            "type": "string"
          },
          "suburb": {
            "type": "string"
          },
          "postcode": {
            "type": "string"
          },
          "state": {
            "type": "string"
          },
          "country": {
            "type": "string"
          },
          "custom_data": {
            "type": "object",
            "additionalProperties": true
          },
          "station_uuid": {
            "type": "string",
            "format": "uuid",
            "readOnly": true,
            "description": "UUID of the associated station"
          },
          "created_at": {
            "type": "string",
            "format": "date-time",
            "readOnly": true
          },
          "updated_at": {
            "type": "string",
            "format": "date-time",
            "readOnly": true
          },
          "last_seen_at": {
            "type": "string",
            "format": "date-time",
            "nullable": true,
            "readOnly": true,
            "description": "When this listener was last seen. One timestamp on the listener, shared across every station the listener belongs to. Updated when the listener is awarded a prize, sends an inbound message, or submits a form. Null if the listener has never been seen.\n"
          }
        }
      },
      "Payment": {
        "type": "object",
        "readOnly": true,
        "description": "Represents a payment made to a listener for a prize they have won. These are automatically generated when a prize with a cash component is confirmed, and include details about the payment status and associated entities.",
        "properties": {
          "uuid": {
            "type": "string",
            "format": "uuid",
            "readOnly": true
          },
          "amount": {
            "type": "number",
            "format": "float"
          },
          "paid_at": {
            "type": "string",
            "format": "date-time"
          },
          "approved_at": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "declined_at": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "prize": {
            "$ref": "#/components/schemas/Prize"
          },
          "listener": {
            "$ref": "#/components/schemas/Listener"
          },
          "bank_account": {
            "$ref": "#/components/schemas/BankAccount"
          },
          "station_uuid": {
            "type": "string",
            "format": "uuid",
            "readOnly": true,
            "description": "UUID of the associated station"
          },
          "created_at": {
            "type": "string",
            "format": "date-time",
            "readOnly": true
          },
          "updated_at": {
            "type": "string",
            "format": "date-time",
            "readOnly": true
          }
        }
      },
      "Prize": {
        "type": "object",
        "description": "Represents a prize awarded to a listener, which can be associated with a campaign and may have an inventory item. Prizes can be confirmed, fulfilled, and collected, and may have an associated payment if there is a cash component.",
        "properties": {
          "uuid": {
            "type": "string",
            "format": "uuid",
            "readOnly": true
          },
          "prize_number": {
            "type": "string"
          },
          "prize_type": {
            "type": "string"
          },
          "description": {
            "type": "string"
          },
          "cash_amount": {
            "type": "number",
            "format": "float"
          },
          "inventory_qty": {
            "type": "integer"
          },
          "list_qty": {
            "type": "integer"
          },
          "value": {
            "type": "number",
            "format": "float"
          },
          "phone_number": {
            "type": "string"
          },
          "confirmed_at": {
            "type": "string",
            "format": "date-time"
          },
          "fulfilled_at": {
            "type": "string",
            "format": "date-time"
          },
          "collected_at": {
            "type": "string",
            "format": "date-time"
          },
          "status": {
            "$ref": "#/components/schemas/PrizeStatus"
          },
          "campaign": {
            "$ref": "#/components/schemas/Campaign"
          },
          "listener": {
            "$ref": "#/components/schemas/Listener"
          },
          "inventory_item": {
            "$ref": "#/components/schemas/InventoryItem"
          },
          "list": {
            "$ref": "#/components/schemas/List"
          },
          "station_uuid": {
            "type": "string",
            "format": "uuid",
            "readOnly": true,
            "description": "UUID of the associated station"
          },
          "created_at": {
            "type": "string",
            "format": "date-time",
            "readOnly": true
          },
          "updated_at": {
            "type": "string",
            "format": "date-time",
            "readOnly": true
          }
        }
      },
      "PrizeStatus": {
        "type": "object",
        "description": "Represents the status of a prize, which can affect its eligibility for confirmation, collection, and fulfillment. This can be used to implement rules such as prohibiting certain prizes from being awarded or collected based on various criteria.",
        "properties": {
          "uuid": {
            "type": "string",
            "format": "uuid",
            "readOnly": true
          },
          "name": {
            "type": "string"
          },
          "color": {
            "type": "string"
          },
          "api_name": {
            "type": "string"
          },
          "status": {
            "type": "string",
            "enum": [
              "active",
              "archived"
            ]
          },
          "remove_from_available": {
            "type": "boolean"
          },
          "remove_from_on_hand": {
            "type": "boolean"
          },
          "can_confirm": {
            "type": "boolean"
          },
          "can_collect": {
            "type": "boolean"
          },
          "archive_prize": {
            "type": "boolean"
          },
          "auto_fulfil": {
            "type": "boolean"
          },
          "locked": {
            "type": "boolean"
          },
          "prohibition_rules_ignore": {
            "type": "boolean"
          },
          "permit_values_ignore": {
            "type": "boolean"
          },
          "budget_deductible": {
            "type": "boolean"
          },
          "requires_attention": {
            "type": "boolean"
          },
          "delete_list_membership": {
            "type": "boolean"
          },
          "station_uuid": {
            "type": "string",
            "format": "uuid",
            "readOnly": true,
            "description": "UUID of the associated station"
          },
          "created_at": {
            "type": "string",
            "format": "date-time",
            "readOnly": true
          },
          "updated_at": {
            "type": "string",
            "format": "date-time",
            "readOnly": true
          }
        }
      }
    }
  },
  "security": [
    {
      "bearerAuth": []
    }
  ],
  "paths": {
    "/payments": {
      "get": {
        "summary": "List payments",
        "tags": [
          "Payments"
        ],
        "parameters": [
          {
            "in": "query",
            "name": "page",
            "schema": {
              "type": "integer"
            }
          },
          {
            "in": "query",
            "name": "per_page",
            "schema": {
              "type": "integer"
            }
          },
          {
            "in": "query",
            "name": "created_date_from",
            "schema": {
              "type": "string",
              "format": "date"
            }
          },
          {
            "in": "query",
            "name": "created_date_until",
            "schema": {
              "type": "string",
              "format": "date"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/Payment"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Invalid date format",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        }
      }
    }
  }
}
```