Astra sends webhooks whenever a Transfer is created or the status is updated.
Transfer Created
Fired when the Transfer is created.
Parameter | Data Type | Description |
---|---|---|
webhook_type | string | transfer_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 (Transfer ID) |
Example:
{
"webhook_type": "transfer_created",
"webhook_id": "364f57aa-47dd-461b-8df4-d6388fb2d05e",
"user_id": "WV9Zwexqw7Tqk8nox5dBSe993dEBqGulDlnNA",
"resource_id": "0239decedaaa5cefa4d173ee839ca37599165219"
}
Transfer Updated
Fired when the status
of a Transfer has changed.
Parameter | Data Type | Description |
---|---|---|
webhook_type | string | transfer_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 (Transfer ID) |
Example:
{
"webhook_type": "transfer_updated",
"webhook_id": "364f57aa-47dd-461b-8df4-d6388fb2d05e",
"user_id": "WV9Zwexqw7Tqk8nox5dBSe993dEBqGulDlnNA",
"resource_id": "0239decedaaa5cefa4d173ee839ca37599165219"
}