Withdrawal Cancellation

Event Key

ootb_withdrawal_cancellation

This event should be sent when a withdrawal is canceled before it is completed.

Event KeyEvent NameType
ootb_withdrawal_cancellationOOTB Withdrawal CancellationSimple 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 Withdrawal Cancellation Event:

{
    "context": {
        "ootb_withdrawal_cancel_timestamp": "2022-04-09T20:01:51.887000Z",
        "ootb_end_balance": 150.00,
        "ootb_withdrawal_amount": 50.00,
        "ootb_withdrawal_method": "bank_transfer",
        "ootb_withdrawal_status": "cancelled",
        "ootb_language": "en",
        "ootb_country": "US",
        "ootb_platform": "iOS",
        "ootb_channel": "mobile",
        "ootb_brand": "brand123",
        "ootb_license": "licenseXYZ",
        "ootb_cancel_reason": "user_initiated"
    }
}

 

Parameters

Parameter KeyParameter NameTypeDescription
ootb_withdrawal_cancel_timestampWithdrawal Cancellation TimestampStringISO 8601 datetime of the withdrawal cancellation.
ootb_end_balanceEnd BalanceNumberThe user’s balance after the withdrawal cancellation.
ootb_withdrawal_amountWithdrawal AmountNumberThe amount that was intended to be withdrawn.
ootb_withdrawal_methodWithdrawal MethodStringThe method that was to be used for the withdrawal (e.g., bank_transfer).
ootb_withdrawal_statusWithdrawal StatusStringThe status of the withdrawal, set to "cancelled".
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 withdrawal (e.g., mobile, web).
ootb_brandBrandStringThe brand associated with the withdrawal.
ootb_licenseLicenseStringThe license string associated with the withdrawal.
ootb_cancel_reason*Cancellation ReasonStringOptional. Reason for the withdrawal cancellation (e.g., "user_initiated", "system_decline").

Explanation

  • event: The event name is set to ootb_withdrawal_cancellation, reflecting the nature of the withdrawal cancellation.
  • context:
    • ootb_withdrawal_cancel_timestamp: Records the date and time of the withdrawal cancellation.
    • ootb_withdrawal_status: Set to "cancelled" to indicate the withdrawal was not completed.
    • ootb_cancel_reason: Optionally records the reason for cancellation, if available.