Legacy v1
The v1 API still answers for the integrations built on it. It is frozen, and it will be removed.
Frozen since 3 December 2026. v1 gets no new features and no new providers. New integrations use thev2 API. v1 is removed once every account has moved; AquaPay tells each organization before that happens.
What v1 is
- The base URL is
https://api.bhimpay.online, and every path starts with/api/v1. - The gateway account's API key travels in the JSON body as
apiKey. Payout calls also takepassword. - Most paths end in the provider, in lower case:
payme,upayrpl,cowpayorrspay. - v1 calls a pay-in a deposit, a payout a withdrawal, and a gateway account a merchant.
- Statuses are upper case:
PENDING,SUCCESS,FAILED,UNKNOWNand a few rarer ones. v2'sneeds_reviewreplacesUNKNOWN. - A callback's
signfield is the SHA-256 of its sorted, non-empty fields followed by&key=and the API key. Answer with the wordsuccess. - An error is
{"status": false, "code": "…", "message": "…", "traceId": "…"}with upper-case codes. The three provider errors arePROVIDER_REJECTED(422),PROVIDER_UNAVAILABLE(424) andPROVIDER_ERROR(502).
The v1 key and callback addresses are in the console under Legacy v1 API.
Where each call went
| v1 | v2 |
|---|---|
POST /api/v1/deposit-sessions/{provider} | POST /api/v2/payins |
GET /api/v1/deposit-sessions/{provider}/hosted | Removed. Create the pay-in on your server and redirect. |
POST /api/v1/deposit-status/{provider} | GET /api/v2/payins/{payinId}, or …/refresh to ask the provider |
POST /api/v1/deposit-upi-check/{provider} | Removed. |
POST /api/v1/withdrawals/{provider} | POST /api/v2/payouts |
POST /api/v1/withdrawal-status/{provider} | GET /api/v2/payouts/{payoutId}, …/refresh, and /payout-attempts/{attemptKey} |
Callbacks, signed with the API key | Webhooks, signed with an endpoint's own secret |
- The same payment has the same
orderIdin both APIs, and v2 events cover payments made through v1, so an account can move one call at a time. - A v1
attemptIdand a v2Idempotency-Keyon a payout share one namespace: an attempt made through one cannot be repeated through the other. - v2 needs a new key (
aqk_…) from Developers, API keys. The v1 key does not work on v2.