v1

latestOpenAPI 3.1.02026-07-261420929.5 KB

Listar Logs

Caso utilize o gatilho na conta mestre, enviar api_token da conta mestre. Se o gatilho estiver na subconta, enviar o api_token da subconta.

get/web_hook_logs/{invoice_id}

Path parameters

invoice_idstring required

ID da fatura

Response

200

idstring
web_hook_idstring
statusstring
errorstring
loggable_idstring
loggable_typestring

Example response

[
  {
    "id": "87ad0321-da96-44f0-b07e-3db1683be18l",
    "web_hook_id": "QND6TZC2KXT5MN9I9IR44R3N3J94JBR5",
    "data": {
      "event": "invoice.created",
      "data[id]": "LHB49MZZU4MW5KQ14FANL7T96CE5O2E6",
      "data[status]": "pending",
      "data[account_id]": "LG7R5Y769EJK6XJT9LZS0KLZL4NAQ81L",
      "data[source]": "api",
      "data[order_id]": "GH1O585QN2YSZRF6WXZMMPR3NLGW1SQ8"
    },
    "status": "success",
    "error": "200",
    "loggable_id": "LHB49MZZU4MW5KQ14FANL7T96CE5O2E6",
    "loggable_type": "Invoice"
  }
]