Standard Withdrawal
Event Key
ootb_withdrawal
This event should be sent when a user conducts a withdrawal.
| Event Key | Event Name | Type |
|---|---|---|
ootb_withdrawal | OOTB Withdrawal | 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 Withdrawal Event:
{
"context": {
"ootb_transaction_id": "11228836059",
"ootb_withdrawal_timestamp": "2022-04-09T20:01:51.887000Z",
"ootb_start_balance": 200.00,
"ootb_withdrawal_amount": 50.00,
"ootb_withdrawal_method": "bank_transfer",
"ootb_withdrawal_status": "pending",
"ootb_language": "en",
"ootb_country": "US",
"ootb_platform": "iOS",
"ootb_channel": "mobile",
"ootb_brand": "skin123",
"ootb_license": "licenseXYZ"
}
}Parameters
| Parameter Key | Parameter Name | Type | Description |
|---|---|---|---|
ootb_transaction_id | Transaction ID | String/Number | Unique identifier for the transaction that resulted in the balance update. |
ootb_withdrawal_timestamp | Withdrawal Timestamp | String | ISO 8601 datetime of the withdrawal request. |
ootb_start_balance | Start Balance | Number | The user’s balance before the withdrawal. |
ootb_withdrawal_amount | Withdrawal Amount | Number | The amount of the withdrawal. |
ootb_withdrawal_method | Withdrawal Method | String | The method used for the withdrawal (e.g., bank_transfer). |
ootb_withdrawal_status | Withdrawal Status | String | The status of the withdrawal (e.g., pending). |
ootb_language | Language | String | The language preference (e.g., en). |
ootb_country | Country | String | The country code (e.g., US). |
ootb_platform | Platform | String | The platform used (e.g., iOS, Android). |
ootb_channel | Channel | String | The channel used for the withdrawal (e.g., mobile, web). |
ootb_brand | Brand | String | The skin ID associated with the withdrawal. |
ootb_license | License | String | The license string associated with the withdrawal. |
Explanation
- event: The event name is set to
ootb_withdrawal, reflecting that a user has initiated or completed a withdrawal of funds. - context: Contains all parameters relevant to the withdrawal event.
ootb_transaction_id: Provides a reference to the specific transaction that led to this balance change.ootb_withdrawal_timestamp: The exact date and time when the withdrawal was requested or processed.ootb_start_balance: The user's account balance before this withdrawal transaction.ootb_withdrawal_amount: The monetary value being withdrawn by the user.ootb_withdrawal_method: The method chosen by the user to receive the withdrawn funds (e.g., bank transfer, e-wallet).ootb_withdrawal_status: The current status of the withdrawal request (e.g.,pendingreview,completedsuccessfully,failed).ootb_language: The language setting of the user or platform at the time of the withdrawal.ootb_country: The country associated with the user or the withdrawal transaction.ootb_platform: The platform (e.g., iOS, Android, Web) from which the withdrawal was initiated.ootb_channel: The channel (e.g., mobile app, website) used for the withdrawal.ootb_brand: The specific brand or skin ID associated with the user's account or the withdrawal transaction.ootb_license: Any relevant gaming or financial license identifier associated with the transaction.
Updated 8 days ago
