Skip to the page

Changelog

Inside /api/v2 AquaPay only adds: fields, enum values, event types and endpoints. Nothing listed here asks you to change working code.

Merchant API v2,

  • Keys. Bearer keys, aqk_live_ and aqk_test_, with a checksum, scopes, an optional address allowlist, and rolling with an overlap. Up to five for each gateway account, shown once.
  • Idempotency. An Idempotency-Key on every POST. A payout's key is its permanent attempt key and reaches a provider at most once.
  • Statuses. pending, succeeded, failed, expired and needs_review for pay-ins; processing, succeeded, failed, needs_review and reversed for payouts.
  • Errors. One body for every error, with a stable code, retry guidance, the request ID and a link to this site. 23 codes.
  • Webhooks. Eight event types, up to three endpoints for each account, each with its own signing secret. Signed test events, a delivery log and resending in the console, and GET /events as a polling fallback.
  • Sandbox. Test accounts on a sandbox provider that imitates a real one, driven by magic amounts and beneficiaries.
  • Request logs. Every request for 7 days in the console, with redacted bodies, a live tail and copy as curl.
  • OpenAPI. The contract is published as OpenAPI 3.1 at /docs/openapi.yaml, and every operation is documented as plain HTTP in six languages.
  • MCP. The MCP server takes the same keys and scopes as the API.

The v1 API is frozen from this date. It keeps working for the integrations that use it, and gets no new features. See Legacy v1.