Fetch the complete documentation index at: https://zafepay.readme.io/llms.txt. Use this file to discover all available pages before exploring further. Append .md to any documentation page URL to get its markdown version.

# Subscription buyer installments

# 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/subscription_buyers/{subscription_buyer_id}/installments": {
      "get": {
        "summary": "Subscription buyer installments",
        "description": "",
        "operationId": "subscription-buyer-installments",
        "parameters": [
          {
            "name": "Authorization",
            "in": "header",
            "description": "Header to access api endpoints (Check the authentication section).",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "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\": \"1b1d8a17-15fe-422e-9e99-4cd785bac8d7\",\n            \"amount\": 40990,\n            \"created_at\": \"2023-10-10T16:04:54\",\n            \"currency\": \"CLP\",\n            \"due_date\": \"2023-10-10\",\n          \t\"external_id\": null,\n            \"payment_date\": null,\n            \"status\": \"pending\",\n            \"updated_at\": \"2023-10-10T16:04:54\"\n        }\n    ]\n}"
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "id": {
                            "type": "string",
                            "example": "1b1d8a17-15fe-422e-9e99-4cd785bac8d7"
                          },
                          "amount": {
                            "type": "integer",
                            "example": 40990,
                            "default": 0
                          },
                          "created_at": {
                            "type": "string",
                            "example": "2023-10-10T16:04:54"
                          },
                          "currency": {
                            "type": "string",
                            "example": "CLP"
                          },
                          "due_date": {
                            "type": "string",
                            "example": "2023-10-10"
                          },
                          "external_id": {},
                          "payment_date": {},
                          "status": {
                            "type": "string",
                            "example": "pending"
                          },
                          "updated_at": {
                            "type": "string",
                            "example": "2023-10-10T16:04:54"
                          }
                        }
                      }
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "400",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "{}"
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {}
                }
              }
            }
          }
        },
        "deprecated": false,
        "security": []
      }
    }
  },
  "x-readme": {
    "headers": [],
    "explorer-enabled": true,
    "proxy-enabled": true
  },
  "x-readme-fauxas": true,
  "_id": "64c97d0ad3b2f2002d150a5d:65255dd0d6f9dd002a8ef98f"
}
```