# CheckoutSession

### Description

Initiate the checkout process for a single payment by calling this endpoint. Save the `id` and `url` from response body. The `id` parameter is the sessionId (Used when checking status of this checkout), and the `url` parameter is the checkout URL (You pass this to your end-user).

{% code overflow="wrap" %}

```csharp
public static VyTask<VyCheckoutSessionDto> CheckoutSession(VyCheckoutSessionRequest reqParams)
```

{% endcode %}

{% tabs %}
{% tab title="Details" %}
**Parameters**

| reqParams | [VyCheckoutSessionRequest](https://sdk.venly.io/sdk-reference/c-sdk-v3/object-references/pay/vycheckoutsessionrequest) | Request data for the operation |
| --------- | ---------------------------------------------------------------------------------------------------------------------- | ------------------------------ |

**Returns**

VyTask<[VyCheckoutSessionDto](https://sdk.venly.io/sdk-reference/c-sdk-v3/object-references/pay/vycheckoutsessiondto)>
{% endtab %}
{% endtabs %}
