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.
Parameter | Data Type | Description |
---|---|---|
webhook_type | string | chargeback_created |
webhook_id | string | The unique ID of the webhook event |
user_id | string | The unique ID of the User |
resource_id | string | The unique ID of the Resource (Chargeback ID) |
resource_parent_id | string | The 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.
Parameter | Data Type | Description |
---|---|---|
webhook_type | string | chargeback_updated |
webhook_id | string | The unique ID of the webhook event |
user_id | string | The unique ID of the User |
resource_id | string | The unique ID of the Resource (Chargeback ID) |
resource_parent_id | string | The 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"
}