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 text/plain instead of application/json. </Note>

Successful Response (200)

Returns the string, "pong".

Connection Timeouts

TimeoutTime (Seconds)
Open10
Read20

Errors

The following error responses can be returned by Ping:

HTTP Status CodeerrorCodeDescription
405 <br />Method Not AllowedN/AThe request was made by a HTTP Method other than GET, HEAD or OPTIONS. <br /> <br />For example, POST, PUT or DELETE.
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

Successful response

Changes

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