Standard Deposit

Event Key

ootb_deposit

This event should be sent when a user conducts a deposit.

Event KeyEvent NameType
ootb_depositOOTB DepositSimple 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 KeyParameter NameTypeDescription
deposit_timestampDeposit TimestampStringISO 8601 datetime of the deposit.
start_balanceStart BalanceNumberThe user’s balance before the deposit.
deposit_amountDeposit AmountNumberThe amount of the deposit.
deposit_methodDeposit MethodStringThe method used for the deposit (e.g., credit_card).
deposit_statusDeposit StatusStringThe status of the deposit (e.g., completed).
languageLanguageStringThe language preference (e.g., en).
countryCountryStringThe country code (e.g., US).
platformPlatformStringThe platform used (e.g., iOS, Android).
channelChannelStringThe channel used for the deposit (e.g., mobile, web).
brandBrandStringThe brand associated with the deposit.
licenseLicenseStringThe 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, and deposit_status. Ensure all fields follow the described formats.