---
updatedAt: 2026-08-25T16:11:28.000Z
agentTools:
  projectIndex: https://doc.cloud.wispro.co/llms.txt
---

# /invoicing/payment_promises

## Atributos

<Table align={["left","left","left"]}>
  <thead>
    <tr>
      <th style={{ textAlign: "left" }}>
        Atributo
      </th>

      <th style={{ textAlign: "left" }}>
        Tipo
      </th>

      <th style={{ textAlign: "left" }}>
        Descripcion
      </th>
    </tr>
  </thead>

  <tbody>
    <tr>
      <td style={{ textAlign: "left" }}>
        id
      </td>

      <td style={{ textAlign: "left" }}>
        String
      </td>

      <td style={{ textAlign: "left" }}>
        UUID
      </td>
    </tr>

    <tr>
      <td style={{ textAlign: "left" }}>
        valid\_until
      </td>

      <td style={{ textAlign: "left" }}>
        String
      </td>

      <td style={{ textAlign: "left" }}>
        Fecha de vencimiento
      </td>
    </tr>

    <tr>
      <td style={{ textAlign: "left" }}>
        contract\_id
      </td>

      <td style={{ textAlign: "left" }}>
        String
      </td>

      <td style={{ textAlign: "left" }}>
        UUID de contrato
      </td>
    </tr>

    <tr>
      <td style={{ textAlign: "left" }}>
        created\_at
      </td>

      <td style={{ textAlign: "left" }}>
        String
      </td>

      <td style={{ textAlign: "left" }}>
        Fecha creación
      </td>
    </tr>

    <tr>
      <td style={{ textAlign: "left" }}>
        updated\_at
      </td>

      <td style={{ textAlign: "left" }}>
        String
      </td>

      <td style={{ textAlign: "left" }}>
        Fecha última modificación
      </td>
    </tr>
  </tbody>
</Table>

# OpenAPI definition

```json
{
  "openapi": "3.1.0",
  "info": {
    "title": "wispro-api-v1",
    "version": "1.0"
  },
  "servers": [
    {
      "url": "https://www.cloud.wispro.co/api/v1"
    }
  ],
  "components": {
    "securitySchemes": {
      "sec0": {
        "type": "apiKey",
        "in": "header",
        "name": "Authorization",
        "x-default": "5367aa2c-c117-4447-a657-00ca13894275"
      }
    }
  },
  "security": [
    {
      "sec0": []
    }
  ],
  "paths": {
    "/invoicing/payment_promises": {
      "get": {
        "summary": "/invoicing/payment_promises",
        "description": "",
        "operationId": "invoicingpayment_promises",
        "responses": {
          "200": {
            "description": "200",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "{\n    \"status\": 200,\n    \"meta\": {\n        \"object\": \"invoicing_payment_promise\",\n        \"pagination\": {\n            \"total_records\": 2,\n            \"total_pages\": 1,\n            \"per_page\": 20,\n            \"current_page\": 1\n        }\n    },\n    \"data\": [\n        {\n            \"id\": \"38e41c45-1234-1234-af28-a2e2e8e21096\",\n            \"valid_until\": \"2021-08-26\",\n            \"contract_id\": \"fbbd5c0a-1234-1234-b136-6e54ebb3b46c\",\n            \"created_at\": \"2021-08-03T11:13:11.419-03:00\",\n            \"updated_at\": \"2021-08-03T11:13:11.419-03:00\"\n        }\n    ]\n}\n"
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {
                    "status": {
                      "type": "integer",
                      "example": 200,
                      "default": 0
                    },
                    "meta": {
                      "type": "object",
                      "properties": {
                        "object": {
                          "type": "string",
                          "example": "invoicing_payment_promise"
                        },
                        "pagination": {
                          "type": "object",
                          "properties": {
                            "total_records": {
                              "type": "integer",
                              "example": 2,
                              "default": 0
                            },
                            "total_pages": {
                              "type": "integer",
                              "example": 1,
                              "default": 0
                            },
                            "per_page": {
                              "type": "integer",
                              "example": 20,
                              "default": 0
                            },
                            "current_page": {
                              "type": "integer",
                              "example": 1,
                              "default": 0
                            }
                          }
                        }
                      }
                    },
                    "data": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "id": {
                            "type": "string",
                            "example": "38e41c45-1234-1234-af28-a2e2e8e21096"
                          },
                          "valid_until": {
                            "type": "string",
                            "example": "2021-08-26"
                          },
                          "contract_id": {
                            "type": "string",
                            "example": "fbbd5c0a-1234-1234-b136-6e54ebb3b46c"
                          },
                          "created_at": {
                            "type": "string",
                            "example": "2021-08-03T11:13:11.419-03:00"
                          },
                          "updated_at": {
                            "type": "string",
                            "example": "2021-08-03T11:13:11.419-03:00"
                          }
                        }
                      }
                    }
                  }
                }
              }
            }
          }
        },
        "deprecated": false,
        "x-readme": {
          "code-samples": [
            {
              "language": "text",
              "code": "curl --request GET \\\n--url https://www.cloud.wispro.co/api/v1/invoicing/payment_promises \\\n--header 'Accept: application/json' \\\n--header 'Authorization: 0e4eb360-1234-1234-bda4-1c0edf58c938'",
              "name": "cURL"
            },
            {
              "language": "text",
              "code": "require 'uri'\nrequire 'net/http'\nrequire 'openssl'\n\nurl = URI(\"https://www.cloud.wispro.co/api/v1/invoicing/payment_promises\")\n\nhttp = Net::HTTP.new(url.host, url.port)\nhttp.use_ssl = true\n\nrequest = Net::HTTP::Get.new(url)\nrequest[\"Accept\"] = 'application/json'\nrequest[\"Authorization\"] = '0e4eb360-e15e-4968-bda4-1c0edf58c938'\n\nresponse = http.request(request)\nputs response.read_body\n",
              "name": "Ruby"
            }
          ],
          "samples-languages": [
            "text"
          ]
        }
      }
    }
  },
  "x-readme": {
    "headers": [],
    "explorer-enabled": true,
    "proxy-enabled": true
  },
  "x-readme-fauxas": true
}
```