On this page
No Headings
Webhook for invoice creation.
The unique ID of the transmission, from the paypal-transmission-id HTTP header.
The date and time when the message was transmitted, from the paypal-transmission-time HTTP header.
application/json
Details of the invoice when created.
TypeScript Definitions
Use the request body type in TypeScript.
Example Requests
/usage-billing.invoice.createdUnique identifier for the webhook event.
Time when the webhook event was created.
date-timeVersion of the event schema.
Brief description of the event.
Version of the resource schema.
HATEOAS links for the webhook event.
Type of resource that triggered the webhook.
"subscription-alert" | "wallet" | "wallet-transaction" | "credit-note" | "invoice" | "subscription"Type of event that occurred in webhooks.
"USAGE-BILLING.SUBSCRIPTION-ALERT.TRIGGERED" | "USAGE-BILLING.WALLET.CREATED" | "USAGE-BILLING.WALLET.UPDATED" | "USAGE-BILLING.WALLET.NET-BALANCE-DEPLETED" | "USAGE-BILLING.WALLET.TERMINATED" | "USAGE-BILLING.WALLET-TRANSACTION.CREATED" | "USAGE-BILLING.WALLET-TRANSACTION.UPDATED" | "USAGE-BILLING.CREDIT-NOTE.CREATED" | "USAGE-BILLING.CREDIT-NOTE.REFUND.FAILED" | "USAGE-BILLING.INVOICE.CREATED" | "USAGE-BILLING.INVOICE.PAYMENT.OVERDUE" | "USAGE-BILLING.INVOICE.PAYMENT.SUCCEEDED" | "USAGE-BILLING.INVOICE.PAYMENT.FAILED" | "USAGE-BILLING.SUBSCRIPTION.UPDATED" | "USAGE-BILLING.SUBSCRIPTION.TERMINATED" | "USAGE-BILLING.SUBSCRIPTION.TRIAL.ENDED"