Method Ping
Ping()
Sends a ping request to the AfterPay API to confirm a connection can be made.
Declaration
public Task Ping()Returns
| Type | Description | 
|---|---|
| Task | 
Implements
Exceptions
| Type | Condition | 
|---|---|
| System.TimeoutException | Thrown if the service does not respond within the expected client timeout. | 
| AfterPayApiException | Thrown if a response is received from the API that indicates an error. Most likely a service unavailable or too many requests error. |