> ## 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.

# CAPLfunctionSCCCreateServicePaymentSelectionResDin

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

**CAPL Functions** » [Smart Charging](../CAPLFunctionsSmartChargingOverview.md) » [SCC Modeling Libraries (Simulation Setup)](../CAPLFunctionsSmartChargingOverview.md#BMNodeayerDLL) » [V2G Test Functions](../CAPLFunctionsSmartChargingOverview.md#V2GTestDIN) » [Shared Functions](../CAPLFunctionsSmartChargingOverview.md#V2GTestDIN) » **SCC\_CreateServicePaymentSelectionRes\_DIN**

# SCC\_CreateServicePaymentSelectionRes\_DIN

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

## Function Syntax

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

## Description

Creates a Service Payment Selection Response message for sending.

## Parameters

* **SessionID**: 8-byte long SessionID of SCC connection, range: 0 - 0xFF FF FF FF FF FF FF FF.
* **ResponseCode**: Acknowledgment status of the message. The list of possible response codes you find on page [SCC\_SetResponseCode](CAPLfunctionSCCSetResponseCode.md).

## Return Values

* **1**: If successful.
* **0**: Else (message cannot be sent).

## Example

—
