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

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


Simulate ping

Action: POST
Endpoint: /ping

To perform an echo test, send a POST request to the /ping endpoint. You can send a server id and/or sample payload in JSON format in the body of the request.

Body field details

Name Type Required? Description Allowable Values
id string No A pass-through field, enter any data. 36 char max
payload string No Sample data. 255 char max

Sample request body

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

Sample response body

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