> ## Documentation Index
> Fetch the complete documentation index at: https://notevil.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# CAPLfunctionSCCPaymentDetailsRes

[Open topic with navigation](../../../../../CANoeDEFamily.htm#Topics/CAPLFunctions/SmartCharging/Callbacks/CAPLfunctionSCCPaymentDetailsRes.md)

**CAPL Functions** » [Smart Charging](../CAPLFunctionsSmartChargingOverview.md) » [SCC Modeling Libraries (Simulation Setup)](../CAPLFunctionsSmartChargingOverview.md#BMNodeayerDLL) » [EV Callback Functions](../CAPLFunctionsSmartChargingOverview.md#CallbackEV) » **SCC\_PaymentDetailsRes**

# SCC\_PaymentDetailsRes

[Valid for](../../../Shared/FeatureAvailability.md): CANoe DE • CANoe4SW DE

## Function Syntax

```plaintext theme={null}
void SCC_PaymentDetailsRes ( byte SessionID[], long ResponseCode )
```

## Description

The callback is called as soon as a Service Payment Selection Response is received.

Further details that are transmitted in this request can be queried with the following functions:

* [SCC\_GetTimestamp](../Functions/CAPLfunctionSCCGetTimestamp.md)
* [SCC\_GetGenChallenge](../Functions/CAPLfunctionSCCGetGenChallenge.md)
* [SCC\_GetResponseCodeString](../Functions/CAPLfunctionSCCGetResponseCodeString.md)

With [SCC\_SetEnergyTransferType](../Functions/CAPLfunctionSCCSetEnergyTransferType.md) the transfer type/mode sent in the following message can be set.

## Parameters

* **SessionID**: 8-byte long SessionID of SCC connection, range: 0 – 0xFF FF FF FF FF FF FF FF.
* **ResponseCode**: 1 if **OK**, 0 if **FAILED**.

## Return Values

—

## Example

—
