/api/v1/whoamiBusiness keyVerify the API key, business, and environment.
Success · HTTP 200
- sk_test_ keys resolve to TEST.
- Do not pass an environment query — the key selects it.
Request
curl --request GET \
--url https://api.salypay.com/api/v1/whoami \
--header 'Authorization: Bearer <SALYPAY_TEST_SECRET_KEY>'Response
{
"success": true,
"message": "Operation successful",
"data": {
"businessId": "5a1c4fc8-f52a-4e19-8b7e-111111111111",
"environment": "TEST"
},
"timestamp": "2026-07-27T12:00:00.000Z"
}Errors401403