---
agentTools:
  projectIndex: https://zafepay.readme.io/llms.txt
---

# List single payments

# OpenAPI definition

```json
{
  "openapi": "3.1.0",
  "info": {
    "title": "Onlypays",
    "version": "1"
  },
  "servers": [
    {
      "url": "https://api.staging.zafepay.com/api"
    }
  ],
  "components": {
    "securitySchemes": {
      "sec0": {
        "type": "apiKey",
        "in": "header",
        "name": "Authorization",
        "x-bearer-format": "bearer"
      }
    }
  },
  "security": [
    {
      "sec0": []
    }
  ],
  "paths": {
    "/v1/integration/single_payments": {
      "get": {
        "summary": "List single payments",
        "description": "",
        "operationId": "list-single-payments",
        "parameters": [
          {
            "name": "Authorization",
            "in": "header",
            "description": "Header to access api endpoints (Check the authentication section).",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "status",
            "in": "query",
            "description": "Comma-separated single payment statuses",
            "schema": {
              "type": "string",
              "enum": [
                "active",
                "inactive"
              ]
            }
          },
          {
            "name": "price_min",
            "in": "query",
            "description": "Minimum price filter",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "price_max",
            "in": "query",
            "description": "Maximum price filter",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "page",
            "in": "query",
            "description": "Page number to retrieve from a paginated collection",
            "schema": {
              "type": "integer",
              "format": "int32",
              "default": 1
            }
          }
        ],
        "responses": {
          "200": {
            "description": "200",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "{\n    \"data\": [\n        {\n            \"id\": \"5d58d855-09ee-4087-bba3-3a000d36c1ea\",\n            \"created_at\": \"2023-10-10T23:55:00\",\n            \"external_id\": null,\n            \"extra_fields\": [\n                {\n                    \"id\": \"8d4fbc75-f3fe-4e09-b985-040a0ac15d91\",\n                    \"mandatory\": true,\n                    \"question\": \"Age\"\n                }\n            ],\n            \"inscription_link\": \"http://localhost:8080/single_payments/5d58d855-09ee-4087-bba3-3a000d36c1ea\",\n            \"is_basketable\": null,\n            \"limit_date\": null,\n            \"name\": \"SummerFest pack\",\n            \"single_payment_products\": [\n                {\n                    \"id\": \"e65ca08f-0082-4673-9ecc-983f97027d19\",\n                    \"created_at\": \"2023-10-10T23:55:00\",\n                    \"product\": {\n                        \"id\": \"3ee60f6f-d706-4ceb-a4ae-1efae73ec55e\",\n                        \"created_at\": \"2023-10-10T23:13:23\",\n                        \"currency\": \"CLP\",\n                        \"description\": null,\n                        \"external_id\": \"004\",\n                        \"image\": null,\n                        \"name\": \"SummerFest ticket\",\n                        \"status\": \"active\",\n                        \"updated_at\": \"2023-10-10T23:13:23\",\n                        \"value\": 39990\n                    },\n                    \"quantity\": 1,\n                    \"updated_at\": \"2023-10-10T23:55:00\",\n                    \"value\": 39990\n                },\n                {\n                    \"id\": \"623164a6-5f3e-4739-a935-ab8510469043\",\n                    \"created_at\": \"2023-10-10T23:55:00\",\n                    \"product\": {\n                        \"id\": \"3efb3aac-ad3c-45aa-ba27-4e9c5e794681\",\n                        \"created_at\": \"2023-10-10T23:13:40\",\n                        \"currency\": \"CLP\",\n                        \"description\": null,\n                        \"external_id\": \"005\",\n                        \"image\": null,\n                        \"name\": \"SummerFest t-shirt\",\n                        \"status\": \"active\",\n                        \"updated_at\": \"2023-10-10T23:13:40\",\n                        \"value\": 19990\n                    },\n                    \"quantity\": 1,\n                    \"updated_at\": \"2023-10-10T23:55:00\",\n                    \"value\": 19990\n                }\n            ],\n            \"status\": \"active\",\n            \"stock_limit\": null,\n            \"updated_at\": \"2023-10-10T23:55:00\",\n            \"value\": 59980\n        }\n    ]\n}"
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "id": {
                            "type": "string",
                            "example": "5d58d855-09ee-4087-bba3-3a000d36c1ea"
                          },
                          "created_at": {
                            "type": "string",
                            "example": "2023-10-10T23:55:00"
                          },
                          "external_id": {},
                          "extra_fields": {
                            "type": "array",
                            "items": {
                              "type": "object",
                              "properties": {
                                "id": {
                                  "type": "string",
                                  "example": "8d4fbc75-f3fe-4e09-b985-040a0ac15d91"
                                },
                                "mandatory": {
                                  "type": "boolean",
                                  "example": true,
                                  "default": true
                                },
                                "question": {
                                  "type": "string",
                                  "example": "Age"
                                }
                              }
                            }
                          },
                          "inscription_link": {
                            "type": "string",
                            "example": "http://localhost:8080/single_payments/5d58d855-09ee-4087-bba3-3a000d36c1ea"
                          },
                          "is_basketable": {},
                          "limit_date": {},
                          "name": {
                            "type": "string",
                            "example": "SummerFest pack"
                          },
                          "single_payment_products": {
                            "type": "array",
                            "items": {
                              "type": "object",
                              "properties": {
                                "id": {
                                  "type": "string",
                                  "example": "e65ca08f-0082-4673-9ecc-983f97027d19"
                                },
                                "created_at": {
                                  "type": "string",
                                  "example": "2023-10-10T23:55:00"
                                },
                                "product": {
                                  "type": "object",
                                  "properties": {
                                    "id": {
                                      "type": "string",
                                      "example": "3ee60f6f-d706-4ceb-a4ae-1efae73ec55e"
                                    },
                                    "created_at": {
                                      "type": "string",
                                      "example": "2023-10-10T23:13:23"
                                    },
                                    "currency": {
                                      "type": "string",
                                      "example": "CLP"
                                    },
                                    "description": {},
                                    "external_id": {
                                      "type": "string",
                                      "example": "004"
                                    },
                                    "image": {},
                                    "name": {
                                      "type": "string",
                                      "example": "SummerFest ticket"
                                    },
                                    "status": {
                                      "type": "string",
                                      "example": "active"
                                    },
                                    "updated_at": {
                                      "type": "string",
                                      "example": "2023-10-10T23:13:23"
                                    },
                                    "value": {
                                      "type": "integer",
                                      "example": 39990,
                                      "default": 0
                                    }
                                  }
                                },
                                "quantity": {
                                  "type": "integer",
                                  "example": 1,
                                  "default": 0
                                },
                                "updated_at": {
                                  "type": "string",
                                  "example": "2023-10-10T23:55:00"
                                },
                                "value": {
                                  "type": "integer",
                                  "example": 39990,
                                  "default": 0
                                }
                              }
                            }
                          },
                          "status": {
                            "type": "string",
                            "example": "active"
                          },
                          "stock_limit": {},
                          "updated_at": {
                            "type": "string",
                            "example": "2023-10-10T23:55:00"
                          },
                          "value": {
                            "type": "integer",
                            "example": 59980,
                            "default": 0
                          }
                        }
                      }
                    }
                  }
                }
              }
            }
          }
        },
        "deprecated": false,
        "security": []
      }
    }
  },
  "x-readme": {
    "headers": [],
    "explorer-enabled": true,
    "proxy-enabled": true
  },
  "x-readme-fauxas": true,
  "_id": "64c97d0ad3b2f2002d150a5d:64e9363f8fcbbf00663b48cc"
}
```