DOCS

New!

/

5 minute read

February 3, 2020

Validating Connectivity

The /ping endpoint enables you to validate connectivity between your client application and the Marqeta platform. You can use these endpoints to validate connectivity to both your production environment and the sandbox testing environment.

Perform ping

Action: GET
Endpoint: /ping

Develop Now!

Sign in and use your sandbox to access the API Explorer

To validate that the Marqeta server is available and responsive, send a GET request to the /ping endpoint. The response indicates whether the ping was successful, the version and revision number of the environment, and a timestamp.

Sample response body

{
  "success": true,
  "version": "1.9.8",
  "revision": "f46a5dc",
  "timestamp": "Wed Sep 17 20:16:30 UTC 2014"
}

Is this helpful?

Simulate ping

Action: POST
Endpoint: /ping

To perform an echo test, send a POST request to the /ping endpoint.

Develop Now!

Sign in and use your sandbox to access the API Explorer

Body field details

Fields Description

token

string
Optional

A pass-through field, enter any data.

Allowable Values:

36 char max

payload

string
Optional

Sample data.

Allowable Values:

255 char max

Sample request body

{
  "token": "12345",
  "payload": "This is my payload"
}

Is this helpful?

Sample response body

{
  "success": true,
  "id": "12345",
  "payload": "This is my payload"
}

Is this helpful?

Have any feedback on this page?

If you feel we can do anything better, please let our team know.

We strive for the best possible developer experience.