Skip to content

Ping

Pings an endpoint for health status

Request

GET {{baseURL}}/pay-int-api/ping

This endpoint ping endpoint to validate the token is active and valid.

Security
Bearer
Headers
x-api-versionstring
curl -i -X GET \
  https://developer.flute.com/_mock/api-reference/pay-int-api/ping \
  -H 'Authorization: Bearer <YOUR_JWT_HERE>' \
  -H 'x-api-version: string'

Responses

OK

Body
authenticatedboolean

Indicates the request is authenticated.

If true, the request is authenticated.
If false, the request is not authenticated.

Example: true

Example:true
merchantIdstring or null, (uuid)

Indicates the identifier of the merchant.

If a value is provided, the API key is valid and requests can be made.
If a value is omitted or null, the API key is not valid. It may mean that the API key is not associated with this merchant. Check that the API key, clientId, and client secret are correct.

Example: 46063d32-10fa-44cb-b118-20ddd085ce3f

Example:"46063d32-10fa-44cb-b118-20ddd085ce3f"
clientIdstring or null, (uuid)

Indicates the first value association with the API key.

The second value association with the API key, the client secret, is never shown after the initial creation.

Example: 3b87fab4-5be4-44d3-9070-5f6ec1dfcbf5

Example:"3b87fab4-5be4-44d3-9070-5f6ec1dfcbf5"
Response
{
  "authenticated": true,
  "merchantId": "46063d32-10fa-44cb-b118-20ddd085ce3f",
  "clientId": "3b87fab4-5be4-44d3-9070-5f6ec1dfcbf5"
}