Skip to the page

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 take password.
  • Most paths end in the provider, in lower case: payme, upayrpl, cowpay or rspay.
  • v1 calls a pay-in a deposit, a payout a withdrawal, and a gateway account a merchant.
  • Statuses are upper case: PENDING, SUCCESS, FAILED, UNKNOWN and a few rarer ones. v2's needs_review replaces UNKNOWN.
  • A callback's sign field is the SHA-256 of its sorted, non-empty fields followed by &key= and the API key. Answer with the word success.
  • An error is {"status": false, "code": "…", "message": "…", "traceId": "…"} with upper-case codes. The three provider errors are PROVIDER_REJECTED (422), PROVIDER_UNAVAILABLE (424) and PROVIDER_ERROR (502).

The v1 key and callback addresses are in the console under Legacy v1 API.

Where each call went

v1v2
POST /api/v1/deposit-sessions/{provider}POST /api/v2/payins
GET /api/v1/deposit-sessions/{provider}/hostedRemoved. 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 keyWebhooks, signed with an endpoint's own secret
  • The same payment has the same orderId in both APIs, and v2 events cover payments made through v1, so an account can move one call at a time.
  • A v1 attemptId and a v2 Idempotency-Key on 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.