Ping

This endpoint can be used to check that the service is available and reachable.

<Note title="Note"> Unlike all other endpoints, this endpoint does not require authentication, and responds with <code>text/plain</code> instead of <code>application/json</code>. </Note>

Successful Response (200)

Returns the string, "pong".

Connection Timeouts

  • Open timeout: 10 seconds
  • Read timeout: 20 seconds

Errors

The following error responses can be returned by Ping:

HTTP Status CodeerrorCodeDescription
<strong>405</strong> <br />Method Not AllowedN/AThe request was made by a HTTP Method other than <code>GET</code>, <code>HEAD</code> or <code>OPTIONS</code>. <br /> <br />For example, <code>POST</code>, <code>PUT</code> or <code>DELETE</code>.
get/ping

Request

  • Base URL: https://global-api-sandbox.afterpay.com
  • URL: https://global-api-sandbox.afterpay.com/ping
  • Auth: none declared. Required headers: User-Agent

Headers

User-Agentstring required
Acceptstring

Response

Response with status 200

object required

Changes

No recorded changes to this operation across all 1 revision of this API.