Verify API connection

Verify the API connection by using the Ping endpoint

Ping (Endpoint)

Sends an empty request to the API to check if there is a working connection.

Supported API

  • Payments API
  • Payment Links API

Usage:

  1. Create a Client for the selected API.

    1. Ping Payments Api Client.
    2. Ping Payment Links Api Client.
  2. Call the Ping() method.

    1. await api.Ping.V1.Ping();
      
  3. Handle response

Returns

Response message Pong.


Example Usage

var response = await api.Ping.V1.Ping();

Response

200 OK

pong