Account
GET/v1/me
Returns your account, your balances and the key in use (its mode, allowed IPs and webhook address). With a test key the balance is the sandbox's made-up one (1000000 in the key's currency).
Parameters
| Name | In | Description |
|---|---|---|
Authorizationrequired | header · string | Bearer and your secret key |
curl https://api.mas4games.com/v1/me \
-H "Authorization: Bearer m4gc_live_YOUR_SECRET_KEY"{
"object": "account",
"id": 18452,
"name": "Örnek Bayi",
"email": "[email protected]",
"email_verified": true,
"customer_type": "Bayi",
"created_at": "2024-03-12T09:41:00Z",
"currency": "TRY",
"currency_decimals": 2,
"balances": [
{ "amount": 1245075, "currency": "TRY", "decimals": 2 }
],
"key": {
"mode": "live",
"created_at": "2026-11-06T08:00:00Z",
"allowed_ips": ["203.0.113.10/32"],
"webhook_url": "https://bayi.example.com/webhooks/mas4games"
}
}Possible errors:invalid_api_keyrate_limited