Refund completedWebhook

Webhook event notification request.

event_name value: refund-completed

This request is sent to registered webhook event handlers after
Refund a line item from an invoice completes successfully
Refund an invoice completes successfully

The Request body described below is the message property in the event notification request data. For more information about event notification requests, visit Webhooks.

Securitytilia_auth
Request
Request Body schema: application/json
account_id
string <= 36 characters

The Tilia Account ID associated with the refund.

Array of objects

A list of refunds.

invoice_id
string <= 36 characters

The primary key for the refund invoice.

payment_invoice_id
string <= 36 characters

The primary key of the original payment invoice.

Array of objects

A list of refunds.

Responses
2XX

Return a 2XX status to indicate that the data was received successfully

Request samples
application/json
{
  • "account_id": "acct_2TiDFXHVFMlAuyy7ovvz3YPKv9b",
  • "failed_refunds": [
    ],
  • "invoice_id": "inv_2V2Zx3paY8lMMwD6XIrRNKTGoiB",
  • "payment_invoice_id": "inv_2V2Zx56BmcIhD80qftT8ErfpdBN",
  • "successful_refunds": [
    ]
}