Hinkal Partner

Errors and Limits

Error messages from the API and Hinkal Partner, and the limits behind them.

API errors

Returned by api.hinkal.io on routes that read the key. The body is { "success": false, "error": "…" }.

StatusErrorWhat to do
401Invalid API keyThe key is unknown, turned off or revoked, or the value starts with hk_ but isn't a complete key. Copy it again from the API Keys page.
401A partner secret API key is requiredThe /partner/transfer-address routes need the secret key in x-api-key. Send it from your backend.
403Origin not allowed for this publishable keyAdd the exact origin to the key. From servers, use the secret key. From native apps, send calls through a backend proxy that adds the secret key.
503Partner key service unavailableTemporary. Retry with backoff.
400Invalid ref: '…' is not a whitelisted referralRemove ref from the body. The key handles attribution.

Session and signature errors come before key checks, so fix those first. The /partner/transfer-address routes have no session, so the key is checked first there. See Authentication.


Hinkal Partner errors

StatusErrorWhat it means
403Insufficient permissionsYour role can't do this. See Team and Roles.
403This action needs a recent sign-in. Sign out and sign back in to continueSign out, sign in and try again.
409You can have up to 10 API keysRevoke a key you don't use. Turned-off keys still count.
409A key can have up to 10 allowed origins
400Enter a valid https origin, for example https://app.example.com
409This user already belongs to a partner accountThey have to leave their current company first.
400Amount is more than your available balancePending payouts are already held back.
429Too many failed codes. Use the link we emailed you to unlock two-factor verification.
429Too many failed codes. Try again in 30 minutes.Wallet-only accounts.
401Verification expired, please sign in againThe 5-minute 2FA window passed.

Limits

WhatLimit
API keys per company10, including turned-off keys
Allowed origins per key10
Key name50 characters
Company name, your name1–64 characters
Partner fee0–100 bps, whole numbers
Key, fee and origin changes reaching the APIUp to about 60 seconds
Sign-in session12 hours
Recent sign-in window10 minutes
2FA code window at sign-in5 minutes
Wrong 2FA codes before lock10
Invite lifetime7 days
Invite emails per company20 per 24 hours
Invite resendOnce per 60 seconds
Payout amountUp to 6 decimals, or the token's decimals if fewer
CSV export10,000 rows

Rate limits

Counted per 15 minutes. Going over returns 429.

WhatLimitCounted per
API key actions (create, reveal, edit, revoke)30Company
Payout requests20Company
CSV exports30Company
Invites and resends30Company
2FA codes10User
Sign-in calls30IP address
Sign-up calls30IP address