/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:GETEndpoint:
/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
Simulate ping
Action:POSTEndpoint:
/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
Sample response body
JSON