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": {
        "ootb_deposit_timestamp": "2022-04-09T20:01:51.887000Z",
        "ootb_start_balance": 100.00,
        "ootb_deposit_amount": 50.00,
        "ootb_deposit_method": "credit_card",
        "ootb_deposit_status": "completed",
        "ootb_language": "en",
        "ootb_country": "US",
        "ootb_platform": "iOS",
        "ootb_channel": "mobile",
        "ootb_brand": "brand123",
        "ootb_license": "licenseXYZ"
    }
}

 

Parameters

Parameter KeyParameter NameTypeDescription
ootb_deposit_timestampDeposit TimestampStringISO 8601 datetime of the deposit.
ootb_start_balanceStart BalanceNumberThe user’s balance before the deposit.
ootb_deposit_amountDeposit AmountNumberThe amount of the deposit.
ootb_deposit_methodDeposit MethodStringThe method used for the deposit (e.g., credit_card).
ootb_deposit_statusDeposit StatusStringThe status of the deposit (e.g., completed).
ootb_languageLanguageStringThe language preference (e.g., en).
ootb_countryCountryStringThe country code (e.g., US).
ootb_platformPlatformStringThe platform used (e.g., iOS, Android).
ootb_channelChannelStringThe channel used for the deposit (e.g., mobile, web).
ootb_brandBrandStringThe brand associated with the deposit.
ootb_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.