Developers
Open app
Withdrawals

Can I withdraw?

GET/withdraw/enabled
Requires a session: Authorization: Bearer <token>

Whether withdrawals are open for the signed-in user.

Request

curl -X GET 'https://api.slay.money/api/predict/withdraw/enabled' \
  -H 'Authorization: Bearer $SLAY_TOKEN'

Responses

200Status.
enabledboolean
200 response
{
  "enabled": true
}
401No valid session. Sign in again.
401 response
{
  "error": "Sign in first"
}