MailLeader
  1. Invoice
MailLeader
  • Inicio
  • Comece Aqui
  • Comece a receber e-mails
  • Api
    • Authentication
      • Api Keys
        • Create ApiKey
        • Search ApiKeys
        • Remove ApiKey
    • User
      • Get authenticated user
    • Domain
      • Accounts
        • Create Account
        • List Accounts
        • Delete Account
      • Create Domain
      • Domains
      • Delete Domain
    • Mail
      • Send Mail
    • Billing
      • Licenses
        • Search License
        • Get License
      • Invoice
        • Get Invoice Details
          GET
        • Search Invoices
          GET
        • Get Invoice
          GET
      • Expenses
        • List Expenses
      • Profile
      • Domain Usage
        GET
      • Domain Usage Operational
        GET
      • Usage
        GET
      • Current License
        GET
    • Webhook
      • Create Webhook
      • Update Webhook
      • Search Webhook
  1. Invoice

Search Invoices

GET
https://mail.devtcloud.com/api/v1/billing/invoices

Requisição

Authorization
Adicionar parâmetro em header
x-api-key
Exemplo:
x-api-key: ********************

Respostas

🟢200Sucesso
application/json
Body

Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request GET 'https://mail.devtcloud.com/api/v1/billing/invoices' \
--header 'x-api-key: <api-key>'
Response Response Example
{
    "total": 2,
    "page": 1,
    "maxPage": 1,
    "data": [
        {
            "id": "9999999999",
            "amount": 6,
            "amountBRL": 32.6676,
            "currency": "BRL",
            "dueDate": "2025-10-14",
            "status": "completed",
            "paidAt": "2025-10-15T00:26:05.692Z",
            "description": "Fatura mensal - outubro de 2025",
            "paymentId": "0f0f0f0f-d00b-4856-af96-7273293",
            "subscriptionId": "838294998447294",
            "createdAt": "2025-10-15T00:17:35.919Z",
            "updatedAt": "2025-10-15T00:33:59.949Z",
            "subscription": {
                "id": "9999999999",
                "userId": "999999999999999",
                "licenseId": "99999999999999",
                "status": "active",
                "createdAt": "2025-10-14T22:04:24.552Z",
                "updatedAt": "2025-10-14T22:04:24.552Z"
            }
        }
    ]
}
Modificado em 2025-12-02 23:29:52
Página anterior
Get Invoice Details
Próxima página
Get Invoice
Built with