Refunding Using a Unit Value
You can request refunds to the main
simple balance of prepaid or postpaid accounts
by specifying a unit value in the Requested-Service-Unit
.
CC-Request-Type=4 (EVENT_REQUEST)
Requested-Action=1 (REFUND_ACCOUNT)
Multiple-Services-Credit-Control
Requested-Service-Unit
CC-Money = {Unit-Value=0.75, *Currency-Code=840}
You must specify the Unit-Value
. The Currency-Code
is
optional in the request but if it is specified then it must be the same as the
ClassId
of the main balance in the subscription's wallet.
If the subscriber's wallet does not have a main balance but the Currency-Code
is specified in the
request, then the currency code is used to find an alternate balance in the subscriber's
wallet to issue a refund.
Requested-Service-Unit
AVP can contain other unit types such as
CC-Time
or CC-Total-Octets
but these are not
supported and are ignored.CC-Money
and Refund-Information
in the same
CCR; the request will fail.As with refunds using Refund-Information
, when the refund is successful,
an MtxUsageRefundEvent EDR is generated. The event does not distinguish if the refund
was a result of a Refund-Information
request or a
Requested-Service-Unit
request.
For additional information about refunds, see the discussion about refunding failed one-time events.