Health Check
A health check may be performed by hitting the
/ping
endpoint.Parameters
No parameters
Returns
Returns and HTTP status of 200 with the following payload indicating that the API is healthy.
- cURL
- Node.js
- Python
GET
/ping
curl https://production.methodfi.com/ping \
-H "Authorization: Bearer sk_WyZEWVfTcH7GqmPzUPk65Vjc"
GET
/ping
await method.ping();
GET
/ping
method.ping()
RESPONSE
{
"success": true,
"data": null,
"message": "pong"
}