Webhook Events
Webhook Events endpoints for the Accounting API
Key terms for this page
- Unified API
- A common interface and data model for a category of services, such as accounting.
- Consumer
- An Apideck record representing the customer or isolated customer account whose integrations you access.
- Connector
- Apideck’s integration with a downstream service, such as QuickBooks, Xero or NetSuite.
Customer CreatedWebhook
Event broadcast when a customer has been created.
Header parameters
The type of event that was triggered
HMAC SHA-256 signature of the request body, used to verify the webhook came from Apideck
A unique identifier for the webhook event, can be used to prevent duplicate processing
Request body schema
Responses
Mapping coverage per connector
Example Event
{
"payload": {
"event_type": "accounting.customer.created",
"unified_api": "accounting",
"service_id": "xero",
"consumer_id": "test_user_id",
"event_id": "d290f1ee-6c54-4b01-90e6-d701748f0851",
"entity_id": "123456ASDF",
"entity_url": "https://unify.apideck.com/accounting/customers/123456ASDF",
"entity_type": "customer",
"occurred_at": "2020-01-01T00:00:00.000Z"
}
}Customer UpdatedWebhook
Event broadcast when a customer has been updated.
Header parameters
The type of event that was triggered
HMAC SHA-256 signature of the request body, used to verify the webhook came from Apideck
A unique identifier for the webhook event, can be used to prevent duplicate processing
Request body schema
Responses
Mapping coverage per connector
Example Event
{
"payload": {
"event_type": "accounting.customer.updated",
"unified_api": "accounting",
"service_id": "xero",
"consumer_id": "test_user_id",
"event_id": "d290f1ee-6c54-4b01-90e6-d701748f0851",
"entity_id": "123456ASDF",
"entity_url": "https://unify.apideck.com/accounting/customers/123456ASDF",
"entity_type": "customer",
"occurred_at": "2020-01-01T00:00:00.000Z"
}
}Customer DeletedWebhook
Event broadcast when a customer has been deleted.
Header parameters
The type of event that was triggered
HMAC SHA-256 signature of the request body, used to verify the webhook came from Apideck
A unique identifier for the webhook event, can be used to prevent duplicate processing
Request body schema
Responses
Mapping coverage per connector
Example Event
{
"payload": {
"event_type": "accounting.customer.deleted",
"unified_api": "accounting",
"service_id": "xero",
"consumer_id": "test_user_id",
"event_id": "d290f1ee-6c54-4b01-90e6-d701748f0851",
"entity_id": "123456ASDF",
"entity_url": "https://unify.apideck.com/accounting/customers/123456ASDF",
"entity_type": "customer",
"occurred_at": "2020-01-01T00:00:00.000Z"
}
}Invoice CreatedWebhook
Event broadcast when an invoice has been created.
Header parameters
The type of event that was triggered
HMAC SHA-256 signature of the request body, used to verify the webhook came from Apideck
A unique identifier for the webhook event, can be used to prevent duplicate processing
Request body schema
Responses
Mapping coverage per connector
Example Event
{
"payload": {
"event_type": "accounting.invoice.created",
"unified_api": "accounting",
"service_id": "xero",
"consumer_id": "test_user_id",
"event_id": "d290f1ee-6c54-4b01-90e6-d701748f0851",
"entity_id": "123456ASDF",
"entity_url": "https://unify.apideck.com/accounting/invoices/123456ASDF",
"entity_type": "invoice",
"occurred_at": "2020-01-01T00:00:00.000Z"
}
}Invoice UpdatedWebhook
Event broadcast when an invoice has been updated.
Header parameters
The type of event that was triggered
HMAC SHA-256 signature of the request body, used to verify the webhook came from Apideck
A unique identifier for the webhook event, can be used to prevent duplicate processing
Request body schema
Responses
Mapping coverage per connector
Example Event
{
"payload": {
"event_type": "accounting.invoice.updated",
"unified_api": "accounting",
"service_id": "xero",
"consumer_id": "test_user_id",
"event_id": "d290f1ee-6c54-4b01-90e6-d701748f0851",
"entity_id": "123456ASDF",
"entity_url": "https://unify.apideck.com/accounting/invoices/123456ASDF",
"entity_type": "invoice",
"occurred_at": "2020-01-01T00:00:00.000Z"
}
}Invoice DeletedWebhook
Event broadcast when an invoice has been deleted.
Header parameters
The type of event that was triggered
HMAC SHA-256 signature of the request body, used to verify the webhook came from Apideck
A unique identifier for the webhook event, can be used to prevent duplicate processing
Request body schema
Responses
Mapping coverage per connector
Example Event
{
"payload": {
"event_type": "accounting.invoice.deleted",
"unified_api": "accounting",
"service_id": "xero",
"consumer_id": "test_user_id",
"event_id": "d290f1ee-6c54-4b01-90e6-d701748f0851",
"entity_id": "123456ASDF",
"entity_url": "https://unify.apideck.com/accounting/invoices/123456ASDF",
"entity_type": "invoice",
"occurred_at": "2020-01-01T00:00:00.000Z"
}
}Invoice Item CreatedWebhook
Event broadcast when an invoice has been item created.
Header parameters
The type of event that was triggered
HMAC SHA-256 signature of the request body, used to verify the webhook came from Apideck
A unique identifier for the webhook event, can be used to prevent duplicate processing
Request body schema
Responses
Mapping coverage per connector
Example Event
{
"payload": {
"event_type": "accounting.invoice_item.created",
"unified_api": "accounting",
"service_id": "xero",
"consumer_id": "test_user_id",
"event_id": "d290f1ee-6c54-4b01-90e6-d701748f0851",
"entity_id": "123456ASDF",
"entity_url": "https://unify.apideck.com/accounting/invoice_items/123456ASDF",
"entity_type": "invoice_item",
"occurred_at": "2020-01-01T00:00:00.000Z"
}
}Invoice Item UpdatedWebhook
Event broadcast when an invoice has been item updated.
Header parameters
The type of event that was triggered
HMAC SHA-256 signature of the request body, used to verify the webhook came from Apideck
A unique identifier for the webhook event, can be used to prevent duplicate processing
Request body schema
Responses
Mapping coverage per connector
Example Event
{
"payload": {
"event_type": "accounting.invoice_item.updated",
"unified_api": "accounting",
"service_id": "xero",
"consumer_id": "test_user_id",
"event_id": "d290f1ee-6c54-4b01-90e6-d701748f0851",
"entity_id": "123456ASDF",
"entity_url": "https://unify.apideck.com/accounting/invoice_items/123456ASDF",
"entity_type": "invoice_item",
"occurred_at": "2020-01-01T00:00:00.000Z"
}
}Invoice Item DeletedWebhook
Event broadcast when an invoice has been item deleted.
Header parameters
The type of event that was triggered
HMAC SHA-256 signature of the request body, used to verify the webhook came from Apideck
A unique identifier for the webhook event, can be used to prevent duplicate processing
Request body schema
Responses
Mapping coverage per connector
Example Event
{
"payload": {
"event_type": "accounting.invoice_item.deleted",
"unified_api": "accounting",
"service_id": "xero",
"consumer_id": "test_user_id",
"event_id": "d290f1ee-6c54-4b01-90e6-d701748f0851",
"entity_id": "123456ASDF",
"entity_url": "https://unify.apideck.com/accounting/invoice_items/123456ASDF",
"entity_type": "invoice_item",
"occurred_at": "2020-01-01T00:00:00.000Z"
}
}Ledger Account CreatedWebhook
Event broadcast when a ledger has been account created.
Header parameters
The type of event that was triggered
HMAC SHA-256 signature of the request body, used to verify the webhook came from Apideck
A unique identifier for the webhook event, can be used to prevent duplicate processing
Request body schema
Responses
Mapping coverage per connector
Example Event
{
"payload": {
"event_type": "accounting.ledger_account.created",
"unified_api": "accounting",
"service_id": "xero",
"consumer_id": "test_user_id",
"event_id": "d290f1ee-6c54-4b01-90e6-d701748f0851",
"entity_id": "123456ASDF",
"entity_url": "https://unify.apideck.com/accounting/ledger_accounts/123456ASDF",
"entity_type": "ledger_account",
"occurred_at": "2020-01-01T00:00:00.000Z"
}
}Ledger Account UpdatedWebhook
Event broadcast when a ledger has been account updated.
Header parameters
The type of event that was triggered
HMAC SHA-256 signature of the request body, used to verify the webhook came from Apideck
A unique identifier for the webhook event, can be used to prevent duplicate processing
Request body schema
Responses
Mapping coverage per connector
Example Event
{
"payload": {
"event_type": "accounting.ledger_account.updated",
"unified_api": "accounting",
"service_id": "xero",
"consumer_id": "test_user_id",
"event_id": "d290f1ee-6c54-4b01-90e6-d701748f0851",
"entity_id": "123456ASDF",
"entity_url": "https://unify.apideck.com/accounting/ledger_accounts/123456ASDF",
"entity_type": "ledger_account",
"occurred_at": "2020-01-01T00:00:00.000Z"
}
}Ledger Account DeletedWebhook
Event broadcast when a ledger has been account deleted.
Header parameters
The type of event that was triggered
HMAC SHA-256 signature of the request body, used to verify the webhook came from Apideck
A unique identifier for the webhook event, can be used to prevent duplicate processing
Request body schema
Responses
Mapping coverage per connector
Example Event
{
"payload": {
"event_type": "accounting.ledger_account.deleted",
"unified_api": "accounting",
"service_id": "xero",
"consumer_id": "test_user_id",
"event_id": "d290f1ee-6c54-4b01-90e6-d701748f0851",
"entity_id": "123456ASDF",
"entity_url": "https://unify.apideck.com/accounting/ledger_accounts/123456ASDF",
"entity_type": "ledger_account",
"occurred_at": "2020-01-01T00:00:00.000Z"
}
}Tax Rate CreatedWebhook
Event broadcast when a tax has been rate created.
Header parameters
The type of event that was triggered
HMAC SHA-256 signature of the request body, used to verify the webhook came from Apideck
A unique identifier for the webhook event, can be used to prevent duplicate processing
Request body schema
Responses
Mapping coverage per connector
Example Event
{
"payload": {
"event_type": "accounting.tax_rate.created",
"unified_api": "accounting",
"service_id": "xero",
"consumer_id": "test_user_id",
"event_id": "d290f1ee-6c54-4b01-90e6-d701748f0851",
"entity_id": "123456ASDF",
"entity_url": "https://unify.apideck.com/accounting/tax_rates/123456ASDF",
"entity_type": "tax_rate",
"occurred_at": "2020-01-01T00:00:00.000Z"
}
}Tax Rate UpdatedWebhook
Event broadcast when a tax has been rate updated.
Header parameters
The type of event that was triggered
HMAC SHA-256 signature of the request body, used to verify the webhook came from Apideck
A unique identifier for the webhook event, can be used to prevent duplicate processing
Request body schema
Responses
Mapping coverage per connector
Example Event
{
"payload": {
"event_type": "accounting.tax_rate.updated",
"unified_api": "accounting",
"service_id": "xero",
"consumer_id": "test_user_id",
"event_id": "d290f1ee-6c54-4b01-90e6-d701748f0851",
"entity_id": "123456ASDF",
"entity_url": "https://unify.apideck.com/accounting/tax_rates/123456ASDF",
"entity_type": "tax_rate",
"occurred_at": "2020-01-01T00:00:00.000Z"
}
}Tax Rate DeletedWebhook
Event broadcast when a tax has been rate deleted.
Header parameters
The type of event that was triggered
HMAC SHA-256 signature of the request body, used to verify the webhook came from Apideck
A unique identifier for the webhook event, can be used to prevent duplicate processing
Request body schema
Responses
Mapping coverage per connector
Example Event
{
"payload": {
"event_type": "accounting.tax_rate.deleted",
"unified_api": "accounting",
"service_id": "xero",
"consumer_id": "test_user_id",
"event_id": "d290f1ee-6c54-4b01-90e6-d701748f0851",
"entity_id": "123456ASDF",
"entity_url": "https://unify.apideck.com/accounting/tax_rates/123456ASDF",
"entity_type": "tax_rate",
"occurred_at": "2020-01-01T00:00:00.000Z"
}
}Purchase Order CreatedWebhook
Event broadcast when a purchase has been order created.
Header parameters
The type of event that was triggered
HMAC SHA-256 signature of the request body, used to verify the webhook came from Apideck
A unique identifier for the webhook event, can be used to prevent duplicate processing
Request body schema
Responses
Mapping coverage per connector
Example Event
{
"payload": {
"event_type": "accounting.purchase_order.created",
"unified_api": "accounting",
"service_id": "xero",
"consumer_id": "test_user_id",
"event_id": "d290f1ee-6c54-4b01-90e6-d701748f0851",
"entity_id": "123456ASDF",
"entity_url": "https://unify.apideck.com/accounting/purchase_orders/123456ASDF",
"entity_type": "purchase_order",
"occurred_at": "2020-01-01T00:00:00.000Z"
}
}Purchase Order DeletedWebhook
Event broadcast when a purchase has been order deleted.
Header parameters
The type of event that was triggered
HMAC SHA-256 signature of the request body, used to verify the webhook came from Apideck
A unique identifier for the webhook event, can be used to prevent duplicate processing
Request body schema
Responses
Mapping coverage per connector
Example Event
{
"payload": {
"event_type": "accounting.purchase_order.deleted",
"unified_api": "accounting",
"service_id": "xero",
"consumer_id": "test_user_id",
"event_id": "d290f1ee-6c54-4b01-90e6-d701748f0851",
"entity_id": "123456ASDF",
"entity_url": "https://unify.apideck.com/accounting/purchase_orders/123456ASDF",
"entity_type": "purchase_order",
"occurred_at": "2020-01-01T00:00:00.000Z"
}
}Purchase Order UpdatedWebhook
Event broadcast when a purchase has been order updated.
Header parameters
The type of event that was triggered
HMAC SHA-256 signature of the request body, used to verify the webhook came from Apideck
A unique identifier for the webhook event, can be used to prevent duplicate processing
Request body schema
Responses
Mapping coverage per connector
Example Event
{
"payload": {
"event_type": "accounting.purchase_order.updated",
"unified_api": "accounting",
"service_id": "xero",
"consumer_id": "test_user_id",
"event_id": "d290f1ee-6c54-4b01-90e6-d701748f0851",
"entity_id": "123456ASDF",
"entity_url": "https://unify.apideck.com/accounting/purchase_orders/123456ASDF",
"entity_type": "purchase_order",
"occurred_at": "2020-01-01T00:00:00.000Z"
}
}Expense UpdatedWebhook
Event broadcast when an expense has been updated.
Header parameters
The type of event that was triggered
HMAC SHA-256 signature of the request body, used to verify the webhook came from Apideck
A unique identifier for the webhook event, can be used to prevent duplicate processing
Request body schema
Unique reference to this request event
Name of Apideck Unified API
Service provider identifier
Unique consumer identifier. You can freely choose a consumer ID yourself. Most of the time, this is an ID of your internal data model that represents a user or account in your system (for example account:12345). If the consumer doesn't exist yet, Vault will upsert a consumer based on your ID.
The service provider's ID of the entity that triggered this event
The type entity that triggered this event
The url to retrieve entity detail.
The current count this request event has been attempted
ISO Datetime for when the original event occurred
Responses
Mapping coverage per connector
Example Event
{
"payload": {
"event_type": "accounting.expense.updated",
"unified_api": "accounting",
"service_id": "xero",
"consumer_id": "test_user_id",
"event_id": "d290f1ee-6c54-4b01-90e6-d701748f0851",
"entity_id": "123456ASDF",
"entity_url": "https://unify.apideck.com/accounting/expenses/123456ASDF",
"entity_type": "expense",
"occurred_at": "2020-01-01T00:00:00.000Z"
}
}Expense DeletedWebhook
Event broadcast when an expense has been deleted.
Header parameters
The type of event that was triggered
HMAC SHA-256 signature of the request body, used to verify the webhook came from Apideck
A unique identifier for the webhook event, can be used to prevent duplicate processing
Request body schema
Unique reference to this request event
Name of Apideck Unified API
Service provider identifier
Unique consumer identifier. You can freely choose a consumer ID yourself. Most of the time, this is an ID of your internal data model that represents a user or account in your system (for example account:12345). If the consumer doesn't exist yet, Vault will upsert a consumer based on your ID.
The service provider's ID of the entity that triggered this event
The type entity that triggered this event
The url to retrieve entity detail.
The current count this request event has been attempted
ISO Datetime for when the original event occurred
Responses
Mapping coverage per connector
Example Event
{
"payload": {
"event_type": "accounting.expense.deleted",
"unified_api": "accounting",
"service_id": "xero",
"consumer_id": "test_user_id",
"event_id": "d290f1ee-6c54-4b01-90e6-d701748f0851",
"entity_id": "123456ASDF",
"entity_url": "https://unify.apideck.com/accounting/expenses/123456ASDF",
"entity_type": "expense",
"occurred_at": "2020-01-01T00:00:00.000Z"
}
}Expense CreatedWebhook
Event broadcast when an expense has been created.
Header parameters
The type of event that was triggered
HMAC SHA-256 signature of the request body, used to verify the webhook came from Apideck
A unique identifier for the webhook event, can be used to prevent duplicate processing
Request body schema
Unique reference to this request event
Name of Apideck Unified API
Service provider identifier
Unique consumer identifier. You can freely choose a consumer ID yourself. Most of the time, this is an ID of your internal data model that represents a user or account in your system (for example account:12345). If the consumer doesn't exist yet, Vault will upsert a consumer based on your ID.
The service provider's ID of the entity that triggered this event
The type entity that triggered this event
The url to retrieve entity detail.
The current count this request event has been attempted
ISO Datetime for when the original event occurred
Responses
Mapping coverage per connector
Example Event
{
"payload": {
"event_type": "accounting.expense.created",
"unified_api": "accounting",
"service_id": "xero",
"consumer_id": "test_user_id",
"event_id": "d290f1ee-6c54-4b01-90e6-d701748f0851",
"entity_id": "123456ASDF",
"entity_url": "https://unify.apideck.com/accounting/expenses/123456ASDF",
"entity_type": "expense",
"occurred_at": "2020-01-01T00:00:00.000Z"
}
}Quote DeletedWebhook
Event broadcast when a quote has been deleted.
Request body schema
Unique reference to this request event
Name of Apideck Unified API
Service provider identifier
Unique consumer identifier. You can freely choose a consumer ID yourself. Most of the time, this is an ID of your internal data model that represents a user or account in your system (for example account:12345). If the consumer doesn't exist yet, Vault will upsert a consumer based on your ID.
The service provider's ID of the entity that triggered this event
The type entity that triggered this event
The url to retrieve entity detail.
The current count this request event has been attempted
ISO Datetime for when the original event occurred
Responses
Mapping coverage per connector
Example Event
{
"payload": {
"event_type": "accounting.quote.deleted",
"unified_api": "accounting",
"service_id": "xero",
"consumer_id": "test_user_id",
"event_id": "d290f1ee-6c54-4b01-90e6-d701748f0851",
"entity_id": "123456ASDF",
"entity_url": "https://unify.apideck.com/accounting/quotes/123456ASDF",
"entity_type": "quote",
"occurred_at": "2020-01-01T00:00:00.000Z"
}
}Quote CreatedWebhook
Event broadcast when a quote has been created.
Request body schema
Unique reference to this request event
Name of Apideck Unified API
Service provider identifier
Unique consumer identifier. You can freely choose a consumer ID yourself. Most of the time, this is an ID of your internal data model that represents a user or account in your system (for example account:12345). If the consumer doesn't exist yet, Vault will upsert a consumer based on your ID.
The service provider's ID of the entity that triggered this event
The type entity that triggered this event
The url to retrieve entity detail.
The current count this request event has been attempted
ISO Datetime for when the original event occurred
Responses
Mapping coverage per connector
Example Event
{
"payload": {
"event_type": "accounting.quote.created",
"unified_api": "accounting",
"service_id": "xero",
"consumer_id": "test_user_id",
"event_id": "d290f1ee-6c54-4b01-90e6-d701748f0851",
"entity_id": "123456ASDF",
"entity_url": "https://unify.apideck.com/accounting/quotes/123456ASDF",
"entity_type": "quote",
"occurred_at": "2020-01-01T00:00:00.000Z"
}
}Quote UpdatedWebhook
Event broadcast when a quote has been updated.
Request body schema
Unique reference to this request event
Name of Apideck Unified API
Service provider identifier
Unique consumer identifier. You can freely choose a consumer ID yourself. Most of the time, this is an ID of your internal data model that represents a user or account in your system (for example account:12345). If the consumer doesn't exist yet, Vault will upsert a consumer based on your ID.
The service provider's ID of the entity that triggered this event
The type entity that triggered this event
The url to retrieve entity detail.
The current count this request event has been attempted
ISO Datetime for when the original event occurred
Responses
Mapping coverage per connector
Example Event
{
"payload": {
"event_type": "accounting.quote.updated",
"unified_api": "accounting",
"service_id": "xero",
"consumer_id": "test_user_id",
"event_id": "d290f1ee-6c54-4b01-90e6-d701748f0851",
"entity_id": "123456ASDF",
"entity_url": "https://unify.apideck.com/accounting/quotes/123456ASDF",
"entity_type": "quote",
"occurred_at": "2020-01-01T00:00:00.000Z"
}
}Project UpdatedWebhook
Event broadcast when a project has been updated.
Request body schema
Unique reference to this request event
Name of Apideck Unified API
Service provider identifier
Unique consumer identifier. You can freely choose a consumer ID yourself. Most of the time, this is an ID of your internal data model that represents a user or account in your system (for example account:12345). If the consumer doesn't exist yet, Vault will upsert a consumer based on your ID.
The service provider's ID of the entity that triggered this event
The type entity that triggered this event
The url to retrieve entity detail.
The current count this request event has been attempted
ISO Datetime for when the original event occurred
Responses
Mapping coverage per connector
Example Event
{
"payload": {
"event_type": "accounting.project.updated",
"unified_api": "accounting",
"service_id": "xero",
"consumer_id": "test_user_id",
"event_id": "d290f1ee-6c54-4b01-90e6-d701748f0851",
"entity_id": "123456ASDF",
"entity_url": "https://unify.apideck.com/accounting/projects/123456ASDF",
"entity_type": "project",
"occurred_at": "2020-01-01T00:00:00.000Z"
}
}Project CreatedWebhook
Event broadcast when a project has been created.
Request body schema
Unique reference to this request event
Name of Apideck Unified API
Service provider identifier
Unique consumer identifier. You can freely choose a consumer ID yourself. Most of the time, this is an ID of your internal data model that represents a user or account in your system (for example account:12345). If the consumer doesn't exist yet, Vault will upsert a consumer based on your ID.
The service provider's ID of the entity that triggered this event
The type entity that triggered this event
The url to retrieve entity detail.
The current count this request event has been attempted
ISO Datetime for when the original event occurred
Responses
Mapping coverage per connector
Example Event
{
"payload": {
"event_type": "accounting.project.created",
"unified_api": "accounting",
"service_id": "xero",
"consumer_id": "test_user_id",
"event_id": "d290f1ee-6c54-4b01-90e6-d701748f0851",
"entity_id": "123456ASDF",
"entity_url": "https://unify.apideck.com/accounting/projects/123456ASDF",
"entity_type": "project",
"occurred_at": "2020-01-01T00:00:00.000Z"
}
}Project DeletedWebhook
Event broadcast when a project has been deleted.
Request body schema
Unique reference to this request event
Name of Apideck Unified API
Service provider identifier
Unique consumer identifier. You can freely choose a consumer ID yourself. Most of the time, this is an ID of your internal data model that represents a user or account in your system (for example account:12345). If the consumer doesn't exist yet, Vault will upsert a consumer based on your ID.
The service provider's ID of the entity that triggered this event
The type entity that triggered this event
The url to retrieve entity detail.
The current count this request event has been attempted
ISO Datetime for when the original event occurred
Responses
Mapping coverage per connector
Example Event
{
"payload": {
"event_type": "accounting.project.deleted",
"unified_api": "accounting",
"service_id": "xero",
"consumer_id": "test_user_id",
"event_id": "d290f1ee-6c54-4b01-90e6-d701748f0851",
"entity_id": "123456ASDF",
"entity_url": "https://unify.apideck.com/accounting/projects/123456ASDF",
"entity_type": "project",
"occurred_at": "2020-01-01T00:00:00.000Z"
}
}Tracking Category CreatedWebhook
Event broadcast when a tracking has been category created.
Request body schema
Unique reference to this request event
Name of Apideck Unified API
Service provider identifier
Unique consumer identifier. You can freely choose a consumer ID yourself. Most of the time, this is an ID of your internal data model that represents a user or account in your system (for example account:12345). If the consumer doesn't exist yet, Vault will upsert a consumer based on your ID.
The service provider's ID of the entity that triggered this event
The type entity that triggered this event
The url to retrieve entity detail.
The current count this request event has been attempted
ISO Datetime for when the original event occurred
Responses
Mapping coverage per connector
Example Event
{
"payload": {
"event_type": "accounting.tracking_category.created",
"unified_api": "accounting",
"service_id": "xero",
"consumer_id": "test_user_id",
"event_id": "d290f1ee-6c54-4b01-90e6-d701748f0851",
"entity_id": "123456ASDF",
"entity_url": "https://unify.apideck.com/accounting/tracking_categories/123456ASDF",
"entity_type": "tracking_category",
"occurred_at": "2020-01-01T00:00:00.000Z"
}
}Tracking Category UpdatedWebhook
Event broadcast when a tracking has been category updated.
Request body schema
Unique reference to this request event
Name of Apideck Unified API
Service provider identifier
Unique consumer identifier. You can freely choose a consumer ID yourself. Most of the time, this is an ID of your internal data model that represents a user or account in your system (for example account:12345). If the consumer doesn't exist yet, Vault will upsert a consumer based on your ID.
The service provider's ID of the entity that triggered this event
The type entity that triggered this event
The url to retrieve entity detail.
The current count this request event has been attempted
ISO Datetime for when the original event occurred
Responses
Mapping coverage per connector
Example Event
{
"payload": {
"event_type": "accounting.tracking_category.updated",
"unified_api": "accounting",
"service_id": "xero",
"consumer_id": "test_user_id",
"event_id": "d290f1ee-6c54-4b01-90e6-d701748f0851",
"entity_id": "123456ASDF",
"entity_url": "https://unify.apideck.com/accounting/tracking_categories/123456ASDF",
"entity_type": "tracking_category",
"occurred_at": "2020-01-01T00:00:00.000Z"
}
}Tracking Category DeletedWebhook
Event broadcast when a tracking has been category deleted.
Request body schema
Unique reference to this request event
Name of Apideck Unified API
Service provider identifier
Unique consumer identifier. You can freely choose a consumer ID yourself. Most of the time, this is an ID of your internal data model that represents a user or account in your system (for example account:12345). If the consumer doesn't exist yet, Vault will upsert a consumer based on your ID.
The service provider's ID of the entity that triggered this event
The type entity that triggered this event
The url to retrieve entity detail.
The current count this request event has been attempted
ISO Datetime for when the original event occurred
Responses
Mapping coverage per connector
Example Event
{
"payload": {
"event_type": "accounting.tracking_category.deleted",
"unified_api": "accounting",
"service_id": "xero",
"consumer_id": "test_user_id",
"event_id": "d290f1ee-6c54-4b01-90e6-d701748f0851",
"entity_id": "123456ASDF",
"entity_url": "https://unify.apideck.com/accounting/tracking_categories/123456ASDF",
"entity_type": "tracking_category",
"occurred_at": "2020-01-01T00:00:00.000Z"
}
}Sales Receipt CreatedWebhook
Event broadcast when a sales has been receipt created.
Request body schema
Unique reference to this request event
Name of Apideck Unified API
Service provider identifier
Unique consumer identifier. You can freely choose a consumer ID yourself. Most of the time, this is an ID of your internal data model that represents a user or account in your system (for example account:12345). If the consumer doesn't exist yet, Vault will upsert a consumer based on your ID.
The service provider's ID of the entity that triggered this event
The type entity that triggered this event
The url to retrieve entity detail.
The current count this request event has been attempted
ISO Datetime for when the original event occurred
Responses
Mapping coverage per connector
Example Event
{
"payload": {
"event_type": "accounting.sales_receipt.created",
"unified_api": "accounting",
"service_id": "xero",
"consumer_id": "test_user_id",
"event_id": "d290f1ee-6c54-4b01-90e6-d701748f0851",
"entity_id": "123456ASDF",
"entity_url": "https://unify.apideck.com/accounting/sales_receipts/123456ASDF",
"entity_type": "sales_receipt",
"occurred_at": "2020-01-01T00:00:00.000Z"
}
}Sales Receipt UpdatedWebhook
Event broadcast when a sales has been receipt updated.
Request body schema
Unique reference to this request event
Name of Apideck Unified API
Service provider identifier
Unique consumer identifier. You can freely choose a consumer ID yourself. Most of the time, this is an ID of your internal data model that represents a user or account in your system (for example account:12345). If the consumer doesn't exist yet, Vault will upsert a consumer based on your ID.
The service provider's ID of the entity that triggered this event
The type entity that triggered this event
The url to retrieve entity detail.
The current count this request event has been attempted
ISO Datetime for when the original event occurred
Responses
Mapping coverage per connector
Example Event
{
"payload": {
"event_type": "accounting.sales_receipt.updated",
"unified_api": "accounting",
"service_id": "xero",
"consumer_id": "test_user_id",
"event_id": "d290f1ee-6c54-4b01-90e6-d701748f0851",
"entity_id": "123456ASDF",
"entity_url": "https://unify.apideck.com/accounting/sales_receipts/123456ASDF",
"entity_type": "sales_receipt",
"occurred_at": "2020-01-01T00:00:00.000Z"
}
}Sales Receipt DeletedWebhook
Event broadcast when a sales has been receipt deleted.
Request body schema
Unique reference to this request event
Name of Apideck Unified API
Service provider identifier
Unique consumer identifier. You can freely choose a consumer ID yourself. Most of the time, this is an ID of your internal data model that represents a user or account in your system (for example account:12345). If the consumer doesn't exist yet, Vault will upsert a consumer based on your ID.
The service provider's ID of the entity that triggered this event
The type entity that triggered this event
The url to retrieve entity detail.
The current count this request event has been attempted
ISO Datetime for when the original event occurred
Responses
Mapping coverage per connector
Example Event
{
"payload": {
"event_type": "accounting.sales_receipt.deleted",
"unified_api": "accounting",
"service_id": "xero",
"consumer_id": "test_user_id",
"event_id": "d290f1ee-6c54-4b01-90e6-d701748f0851",
"entity_id": "123456ASDF",
"entity_url": "https://unify.apideck.com/accounting/sales_receipts/123456ASDF",
"entity_type": "sales_receipt",
"occurred_at": "2020-01-01T00:00:00.000Z"
}
}Refund CreatedWebhook
Event broadcast when a refund has been created.
Request body schema
Unique reference to this request event
Name of Apideck Unified API
Service provider identifier
Unique consumer identifier. You can freely choose a consumer ID yourself. Most of the time, this is an ID of your internal data model that represents a user or account in your system (for example account:12345). If the consumer doesn't exist yet, Vault will upsert a consumer based on your ID.
The service provider's ID of the entity that triggered this event
The type entity that triggered this event
The url to retrieve entity detail.
The current count this request event has been attempted
ISO Datetime for when the original event occurred
Responses
Mapping coverage per connector
Example Event
{
"payload": {
"event_type": "accounting.refund.created",
"unified_api": "accounting",
"service_id": "xero",
"consumer_id": "test_user_id",
"event_id": "d290f1ee-6c54-4b01-90e6-d701748f0851",
"entity_id": "123456ASDF",
"entity_url": "https://unify.apideck.com/accounting/refunds/123456ASDF",
"entity_type": "refund",
"occurred_at": "2020-01-01T00:00:00.000Z"
}
}Refund UpdatedWebhook
Event broadcast when a refund has been updated.
Request body schema
Unique reference to this request event
Name of Apideck Unified API
Service provider identifier
Unique consumer identifier. You can freely choose a consumer ID yourself. Most of the time, this is an ID of your internal data model that represents a user or account in your system (for example account:12345). If the consumer doesn't exist yet, Vault will upsert a consumer based on your ID.
The service provider's ID of the entity that triggered this event
The type entity that triggered this event
The url to retrieve entity detail.
The current count this request event has been attempted
ISO Datetime for when the original event occurred
Responses
Mapping coverage per connector
Example Event
{
"payload": {
"event_type": "accounting.refund.updated",
"unified_api": "accounting",
"service_id": "xero",
"consumer_id": "test_user_id",
"event_id": "d290f1ee-6c54-4b01-90e6-d701748f0851",
"entity_id": "123456ASDF",
"entity_url": "https://unify.apideck.com/accounting/refunds/123456ASDF",
"entity_type": "refund",
"occurred_at": "2020-01-01T00:00:00.000Z"
}
}Refund DeletedWebhook
Event broadcast when a refund has been deleted.
Request body schema
Unique reference to this request event
Name of Apideck Unified API
Service provider identifier
Unique consumer identifier. You can freely choose a consumer ID yourself. Most of the time, this is an ID of your internal data model that represents a user or account in your system (for example account:12345). If the consumer doesn't exist yet, Vault will upsert a consumer based on your ID.
The service provider's ID of the entity that triggered this event
The type entity that triggered this event
The url to retrieve entity detail.
The current count this request event has been attempted
ISO Datetime for when the original event occurred
Responses
Mapping coverage per connector
Example Event
{
"payload": {
"event_type": "accounting.refund.deleted",
"unified_api": "accounting",
"service_id": "xero",
"consumer_id": "test_user_id",
"event_id": "d290f1ee-6c54-4b01-90e6-d701748f0851",
"entity_id": "123456ASDF",
"entity_url": "https://unify.apideck.com/accounting/refunds/123456ASDF",
"entity_type": "refund",
"occurred_at": "2020-01-01T00:00:00.000Z"
}
}