# Event Requirements for Loyalty and Challenges

{% hint style="warning" %}
If any of these requirements are not met, the event will be skipped and players will not get any progress on any level system or challenge expecting the event.
{% endhint %}

### Required Game Round Event Fields

Validates game round events for loyalty processing and challenge processing.

Integration documentation: <https://www.fasttrack.ai/en/resources/integration/real-time-data/casino>

| Field            | Type                  | Validation Rules                              |
| ---------------- | --------------------- | --------------------------------------------- |
| user\_id         | int                   | Must be greater than 0 and less than MaxInt32 |
| round\_id        | string                | Must not be empty                             |
| game\_id         | string                | Must not be empty                             |
| game\_name       | string                | Must not be empty                             |
| vendor\_id       | string                | Must not be empty                             |
| vendor\_name     | string                | Must not be empty                             |
| origin           | string                | Must not be empty                             |
| total\_bet\_base | float                 | Must be greater than 0                        |
| user\_currency   | string                | Must not be empty                             |
| timestamp        | date (RFC3339 format) | Must not be zero value                        |

### Required Casino Event Fields

Validates casino game for loyalty processing and challenge processing.

Integration documentation: <https://www.fasttrack.ai/en/resources/integration/real-time-data/casino>

| Field        | Type                  | Validation Rules                              |
| ------------ | --------------------- | --------------------------------------------- |
| user\_id     | int                   | Must be greater than 0 and less than MaxInt32 |
| round\_id    | string                | Must not be empty                             |
| game\_id     | string                | Must not be empty                             |
| game\_name   | string                | Must not be empty                             |
| vendor\_id   | string                | Must not be empty                             |
| origin       | string                | Must not be empty                             |
| type         | string                | Must not be empty                             |
| amount       | float                 | Must be greater than 0                        |
| activity\_id | string                | Must not be empty                             |
| currency     | string                | Must not be empty                             |
| timestamp    | date (RFC3339 format) | Must not be zero value                        |

### Required Payment Event Fields

Validates payment / deposit events for loyalty processing and challenge processing.

Integration documentation: <https://www.fasttrack.ai/en/resources/integration/real-time-data/payments>

| Field       | Type                  | Validation Rules                              |
| ----------- | --------------------- | --------------------------------------------- |
| user\_id    | int                   | Must be greater than 0 and less than MaxInt32 |
| payment\_id | string                | Must not be empty                             |
| status      | string                | Must not be empty                             |
| type        | string                | Must not be empty                             |
| amount      | float                 | Must be greater than 0                        |
| currency    | string                | Must not be empty                             |
| origin      | string                | Must not be empty                             |
| timestamp   | date (RFC3339 format) | Must not be zero value                        |

### Required Sports Bet Event Fields

Validates sports betting events for loyalty and challenge processing.

Integration documentation: <https://www.fasttrack.ai/en/resources/integration/real-time-data/bet-placement>

| Field        | Type                  | Validation Rules                              |
| ------------ | --------------------- | --------------------------------------------- |
| user\_id     | int                   | Must be greater than 0 and less than MaxInt32 |
| origin       | string                | Must not be empty                             |
| activity\_id | string                | Must not be empty                             |
| status       | string                | Must not be empty                             |
| currency     | string                | Must not be empty                             |
| timestamp    | date (RFC3339 format) | Must not be zero value                        |
| amount       | float                 | Must be greater than 0                        |
| type         | string                | Must not be empty                             |
