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

# getInvoices

Get your merchant invoices

# OpenAPI definition

```json
{
  "openapi": "3.1.0",
  "info": {
    "title": "TelePay REST API",
    "version": "1.0"
  },
  "servers": [
    {
      "url": "https://api.telepay.cash/rest"
    }
  ],
  "components": {
    "securitySchemes": {
      "sec0": {
        "type": "apiKey",
        "in": "header",
        "name": "AUTHORIZATION"
      }
    }
  },
  "security": [
    {
      "sec0": []
    }
  ],
  "paths": {
    "/getInvoices": {
      "get": {
        "summary": "getInvoices",
        "description": "Get your merchant invoices",
        "operationId": "getinvoices",
        "parameters": [
          {
            "name": "AUTHORIZATION",
            "in": "header",
            "description": "Your merchant private API key",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "200",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "{\n  \"invoices\": [\n    {\n      \"number\": \"PUEOS5RFQY\",\n      \"asset\": \"TON\",\n      \"blockchain\": \"TON\",\n      \"status\": \"pending\",\n      \"amount\": \"10.000000000000000000\",\n      \"description\": \"Product\",\n      \"metadata\": null,\n      \"created_at\": \"2022-02-26T18:11:06.843599Z\",\n      \"updated_at\": null\n    }\n  ]\n}"
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {
                    "invoices": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "number": {
                            "type": "string",
                            "example": "PUEOS5RFQY"
                          },
                          "asset": {
                            "type": "string",
                            "example": "TON"
                          },
                          "blockchain": {
                            "type": "string",
                            "example": "TON"
                          },
                          "status": {
                            "type": "string",
                            "example": "pending"
                          },
                          "amount": {
                            "type": "string",
                            "example": "10.000000000000000000"
                          },
                          "description": {
                            "type": "string",
                            "example": "Product"
                          },
                          "metadata": {},
                          "created_at": {
                            "type": "string",
                            "example": "2022-02-26T18:11:06.843599Z"
                          },
                          "updated_at": {}
                        }
                      }
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "400",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "{}"
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {}
                }
              }
            }
          }
        },
        "deprecated": false
      }
    }
  },
  "x-readme": {
    "headers": [],
    "explorer-enabled": true,
    "proxy-enabled": true
  },
  "x-readme-fauxas": true,
  "_id": "621a97ef2167a8004fa10835:621aaa57cdfd89003e013fc5"
}
```