{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/onebrick/main/json-schema/onebrick-get-v2-payments-gs-get-top-up-history-response-schema.json",
  "title": "GetV2PaymentsGsGetTopUpHistoryResponse",
  "x-generated": "2026-10-21",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/_ae-authored/onebrick-openapi-generated.yml#/components/schemas/GetV2PaymentsGsGetTopUpHistoryResponse",
  "type": "object",
  "properties": {
    "status": {
      "type": "integer",
      "description": "status code"
    },
    "data": {
      "type": "object",
      "description": "response data"
    },
    "data.content": {
      "type": "array",
      "description": "list of top‑up records"
    },
    "data.content[].topUpId": {
      "type": "string",
      "description": "Top‑up identifier"
    },
    "data.content[].refNumber": {
      "type": "string",
      "description": "Reference number"
    },
    "data.content[].bank": {
      "type": "string",
      "description": "Bank name"
    },
    "data.content[].date": {
      "type": "string",
      "description": "Date of transaction"
    },
    "data.content[].amount": {
      "type": "number",
      "description": "Amount topped up"
    },
    "data.content[].transactionType": {
      "type": "string",
      "description": "Transaction type"
    },
    "data.content[].accountNo": {
      "type": "string",
      "description": "Account number"
    },
    "data.content[].accountDisplayName": {
      "type": "string",
      "description": "Account display name"
    },
    "data.pageCount": {
      "type": "integer",
      "description": "Total pages"
    },
    "data.pageIndex": {
      "type": "integer",
      "description": "Current page index"
    },
    "data.pageSize": {
      "type": "integer",
      "description": "Page size"
    },
    "data.perPage": {
      "type": "integer",
      "description": "Items per page"
    },
    "data.totalElements": {
      "type": "integer",
      "description": "Total number of elements"
    },
    "metaData": {
      "type": "object",
      "description": "metadata"
    },
    "metaData.source": {
      "type": "string",
      "description": "source"
    },
    "metaData.entity": {
      "type": "string",
      "description": "entity"
    },
    "error": {
      "type": "string",
      "description": "error object"
    }
  }
}