Standard Deposit
Event Key
ootb_deposit
This event should be sent when a user conducts a deposit.
Event Key | Event Name | Type |
---|---|---|
ootb_deposit | OOTB Deposit | Simple event |
Event Structure
The mandatory properties (tenant
, timestamp
, event
, and customer
) are required for all events and documented in detail on the Mandatory Properties page. Below is the JSON structure for the context-specific properties of the Standard Deposit Event:
{
"context": {
"deposit_timestamp": "2022-04-09T20:01:51.887000Z",
"start_balance": 100.00,
"deposit_amount": 50.00,
"deposit_method": "credit_card",
"deposit_status": "completed",
"language": "en",
"country": "US",
"platform": "iOS",
"channel": "mobile",
"brand": "brand123",
"license": "licenseXYZ"
}
}
Parameters
Parameter Key | Parameter Name | Type | Description |
---|---|---|---|
deposit_timestamp | Deposit Timestamp | String | ISO 8601 datetime of the deposit. |
start_balance | Start Balance | Number | The user’s balance before the deposit. |
deposit_amount | Deposit Amount | Number | The amount of the deposit. |
deposit_method | Deposit Method | String | The method used for the deposit (e.g., credit_card). |
deposit_status | Deposit Status | String | The status of the deposit (e.g., completed). |
language | Language | String | The language preference (e.g., en). |
country | Country | String | The country code (e.g., US). |
platform | Platform | String | The platform used (e.g., iOS, Android). |
channel | Channel | String | The channel used for the deposit (e.g., mobile, web). |
brand | Brand | String | The brand associated with the deposit. |
license | License | String | The license string associated with the deposit. |
Explanation
- event: The event name is set to
ootb_deposit
, reflecting the nature of the event. - context: Contains all deposit-related parameters, including required fields like
deposit_timestamp
,deposit_amount
, anddeposit_status
. Ensure all fields follow the described formats.
Updated 9 days ago