/
5 minute read
November 30, 2022

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 your production environment, as well as to the public or private sandbox testing environment.

Perform ping

Action: GET
Endpoint: /ping

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

JSON
Copied

Is this helpful?

Yes
No

Simulate ping

Action: POST
Endpoint: /ping

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

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

JSON
Copied

Is this helpful?

Yes
No

Sample response body

JSON
Copied

Is this helpful?

Yes
No

Subscribe to our developer newsletter