Astra sends webhooks whenever a Chargeback is created or its status is updated.

🚧

Chargebacks Under Construction

Note that while we are currently sending webhooks that include Chargeback IDs, we do not as of yet have a publicly-exposed endpoint for retrieving Chargeback information directly using those IDs.

That will arrive soon!

Chargeback Created

Fired when the Chargeback is created.

ParameterData TypeDescription
webhook_typestringchargeback_created
webhook_idstringThe unique ID of the webhook event
user_idstringThe unique ID of the User
resource_idstringThe unique ID of the Resource (Chargeback ID)
resource_parent_idstringThe unique ID of the Resource's parent (Transfer ID)

Example:

{
  "webhook_type": "chargeback_created",
  "webhook_id": "364f57aa-47dd-461b-8df4-d6388fb2d05e",
  "user_id": "WV9Zwexqw7Tqk8nox5dBSe993dEBqGulDlnNA",
  "resource_id": "C999999V1234567890",
  "resource_parent_id": "0239decedaaa5cefa4d173ee839ca37599165219"
}

Chargeback Updated

Fired when the status of a Chargeback has changed.

ParameterData TypeDescription
webhook_typestringchargeback_updated
webhook_idstringThe unique ID of the webhook event
user_idstringThe unique ID of the User
resource_idstringThe unique ID of the Resource (Chargeback ID)
resource_parent_idstringThe unique ID of the Resource's parent (Transfer ID)

Example:

{
  "webhook_type": "chargeback_created",
  "webhook_id": "364f57aa-47dd-461b-8df4-d6388fb2d05e",
  "user_id": "WV9Zwexqw7Tqk8nox5dBSe993dEBqGulDlnNA",
  "resource_id": "C999999V1234567890",
  "resource_parent_id": "0239decedaaa5cefa4d173ee839ca37599165219"
}