13 Web Initiated Recharges

Overview

Introduction

This chapter defines the CCS EDRs for web initiated recharges.

Web Initiated Recharge Succeeds using PI (EDR 8)

Mandatory EDR 8 fields

The recharge succeeds where the REFERENCE field of the EDR record has a WS prefix indicating this is a recharge that was initiated through a web interface.

This list identifies the mandatory EDR record fields for a successful web initiated recharge using PI (EDR type 8):

  • ACCOUNT_TYPE (Product Type ID)
  • ACS_CUST_ID (ACS Customer ID)
  • BALANCES (pre-transaction account balances)
  • BONUS_TYPE (name)
  • COSTS (rated calls)
  • CS (call status, S or D) (call status, S or D)
  • NEW_BALANCE_EXPIRIES (dates after voucher recharge)
  • OLD_BALANCE_EXPIRIES (dates before voucher recharge)
  • PI (logon name and IP address)
  • REFERENCE (web site reference - ws)
  • RESULT (web - success)
  • WALLET_TYPE (ID of wallet recharged)

Optional EDR 8 fields

This list identifies the optional EDR record fields for a web recharge succeeds using PI (EDR type 8):

  • BEARER_TYPE (bearer type for promotions) (bearer type for rewards)
  • CHANNEL (for rewards) (for rewards)
  • NEW_ACCT_STATE (after update)
  • OLD_ACCT_STATE (before update)

Note: The NEW_ACCT_STATE and OLD_ACCT_STATE tags will always be present when the freeform recharge causes a change to the wallet state.

Example EDR 8 for web

ACCOUNT_TYPE=145|ACCT_ID=83938|ACCT_REF_ID=83200|ACS_CUST_ID=11|BALANCES=0|BALAN
CE_TYPES=25|BILLING_ENGINE_ID=16|BONUS_TYPE=CUSTOM|CDR_TYPE=8|COSTS=-
200000|CS=S|NEW_BALANCE_EXPIRIES=|OLD_BALANCE_EXPIRIES=|PI=sdgAT10.11.169.14|RECORD_DATE=20091102100721|REFERENCE=WS_Recharge|
RESULT=Success|SCP_ID=265805204|SEQUENCE_NUMBER=144298|WALLET_TYPE=21

Note

The sequence of all fields output in an EDR is not guaranteed.