
# Response Webhook

## Structure

`ResponseWebhook`

## Fields

| Name | Type | Tags | Description | Getter | Setter |
|  --- | --- | --- | --- | --- | --- |
| `type` | [`?string(Type119Enum)`](../../doc/models/type-119-enum.md) | Optional | Resource Type<br>**Default**: `Type119Enum::WEBHOOK` | getType(): ?string | setType(?string type): void |
| `data` | [`?Data34`](../../doc/models/data-34.md) | Optional | - | getData(): ?Data34 | setData(?Data34 data): void |

## Example (as JSON)

```json
{
  "type": "Webhook",
  "data": {
    "attempt_interval": 14,
    "basic_auth_username": "basic_auth_username8",
    "basic_auth_password": "basic_auth_password0",
    "expands": "expands2",
    "format": "api-default",
    "is_active": false,
    "location_id": "location_id4",
    "location_api_id": "location_api_id0",
    "on_create": false,
    "on_update": false,
    "on_delete": false,
    "postback_config_id": "postback_config_id8",
    "product_transaction_id": "product_transaction_id4",
    "resource": "transactionbatch",
    "number_of_attempts": 84,
    "url": "url4",
    "id": "id0",
    "postback_logs": [
      {
        "postback_status_id": 3,
        "id": "id0",
        "postback_config_id": "postback_config_id8",
        "changelog_id": "changelog_id2",
        "http_verb": "http_verb0",
        "next_run_ts": 4,
        "created_ts": 40,
        "model": "model8",
        "model_id": "model_id0"
      },
      {
        "postback_status_id": 3,
        "id": "id0",
        "postback_config_id": "postback_config_id8",
        "changelog_id": "changelog_id2",
        "http_verb": "http_verb0",
        "next_run_ts": 4,
        "created_ts": 40,
        "model": "model8",
        "model_id": "model_id0"
      }
    ]
  }
}
```

