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

Get Invoice

GET
https://mail.devtcloud.com/api/v1/billing/invoice/766092376732078080

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/invoice/766092376732078080' \
--header 'x-api-key: <api-key>'
Response Response Example
 {
            "id": "766092376732078080",
            "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": "fc8f3ec8-d00b-4856-af96-d6575c1d6783",
            "subscriptionId": "766058858501115904",
            "createdAt": "2025-10-15T00:17:35.919Z",
            "updatedAt": "2025-10-15T00:33:59.949Z",
            "subscription": {
                "id": "766058858501115904",
                "userId": "766055026392043520",
                "licenseId": "763912813209980928",
                "status": "active",
                "createdAt": "2025-10-14T22:04:24.552Z",
                "updatedAt": "2025-10-14T22:04:24.552Z"
            }
        }
Modificado em 2025-10-15 21:23:52
Página anterior
Search Invoices
Próxima página
List Expenses
Built with