Check that a key works

​

Answers from the key alone — nothing else is touched. The smallest possible first request, for confirming a new key before you build anything on it.

Responses

  • application/json
  • Missing or invalid API key

Request Example for get/v1/ping
curl https://devapi.spendfigo.com/v1/ping \
  --header 'x-api-key: YOUR_SECRET_TOKEN'
{
  "code": 200,
  "message": "Request successful",
  "data": {
    "merchant_id": "6236bc13-5e43-48c6-9a1d-ae5bca4cfb6e",
    "name": "Acme Payments"
  }
}