Matka Jhatka API

Credential Account & Wallet API

Players create email-only accounts, verify email ownership, and sign in with email plus password. Wallet refills are purchased through dynamically discovered WooCommerce package products.

Player sign-in URL:
https://matkausa.com/play/

Player account entry point

Players sign up or sign in with an email/U.S. phone number and password. There is no public access-request endpoint; browser sessions begin through credential sign-up or sign-in.

https://matkausa.com/play/

Web player endpoints

POST https://matkausa.com/wp-json/royal-spin/v1/player/web/signupPOST https://matkausa.com/wp-json/royal-spin/v1/player/web/loginPOST https://matkausa.com/wp-json/royal-spin/v1/player/web/logoutPOST https://matkausa.com/wp-json/royal-spin/v1/player/web/password-reset/requestPOST https://matkausa.com/wp-json/royal-spin/v1/player/web/password-reset/confirmGET/POST https://matkausa.com/wp-json/royal-spin/v1/player/web/accountGET  https://matkausa.com/wp-json/royal-spin/v1/player/web/meGET  https://matkausa.com/wp-json/royal-spin/v1/player/web/gamesGET  https://matkausa.com/wp-json/royal-spin/v1/player/web/walletPOST https://matkausa.com/wp-json/royal-spin/v1/player/web/game/playGET  https://matkausa.com/wp-json/royal-spin/v1/player/web/refill/packagesPOST https://matkausa.com/wp-json/royal-spin/v1/player/web/refill/checkoutGET  https://matkausa.com/wp-json/royal-spin/v1/player/web/history

Authenticated browser calls use a Secure HttpOnly same-site session cookie. The legacy session token header is accepted only for backward compatibility and is no longer stored in browser localStorage.

Sign up

POST https://matkausa.com/wp-json/royal-spin/v1/player/web/signup{
  "identifier": "player@example.com",
  "password": "Player123",
  "ageConfirmed": true,
  "jurisdictionConfirmed": true,
  "termsAccepted": true,
  "privacyAccepted": true
}

Sign in

POST https://matkausa.com/wp-json/royal-spin/v1/player/web/login{
  "identifier": "+15551234567",
  "password": "Player123"
}

List wallet packages

GET https://matkausa.com/wp-json/royal-spin/v1/player/web/refill/packagesCookie: royal_spin_web_session=...

Create package checkout

POST https://matkausa.com/wp-json/royal-spin/v1/player/web/refill/checkoutCookie: royal_spin_web_session=...
{
  "productId": 123
}

Optional internal client API

The following authenticated routes remain for installed clients that already possess an internally issued bearer credential. No request or approval endpoints are exposed.

POST https://matkausa.com/wp-json/royal-spin/v1/player/pingGET  https://matkausa.com/wp-json/royal-spin/v1/player/configPOST https://matkausa.com/wp-json/royal-spin/v1/player/handshake/update