> For the complete documentation index, see [llms.txt](https://sdk.venly.io/sdk-reference/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://sdk.venly.io/sdk-reference/c-sdk-v3/function-references/pay/checkout/checkoutsession.md).

# 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](/sdk-reference/c-sdk-v3/object-references/pay/vycheckoutsessionrequest.md) | Request data for the operation |
| --------- | ----------------------------------------------------------------------------------------------------- | ------------------------------ |

**Returns**

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