# CheckHealthPayApi

This endpoint is used to check the current health of the **PAY-API**. It returns the API health status as either **UP** or **DOWN**.

{% code overflow="wrap" %}

```cpp
void CheckHealthPayApi(const FVyOnCheckHealthPayApiComplete& OnComplete) const;
```

{% endcode %}

\
**Parameters**

| OnComplete | FVyOnCheckHealthPayApiComplete | The callback function called when the user preferences retrieval operation is complete. |
| ---------- | ------------------------------ | --------------------------------------------------------------------------------------- |

\
**OnComplete Callback** (FVyOnCheckHealthPayApiComplete)\
Contains a [FVyPayApiHealthDto](https://sdk.venly.io/sdk-reference/ue5-sdk-v3/object-references/pay/fvypayapihealthdto) response type
