API Playground

HMAC Signature Generator

Test API calls, generate HMAC-SHA256 signatures, and get ready-to-use code samples for any platform.

API Environment

Select the environment for your API calls

Sandbox Mode: Safe testing environment. Use sandbox API keys (hpk_sandbox_*) for development and testing. Same API endpoint as production.

API Credentials

Use sandbox keys (hpk_sandbox_*) for testing

Never share your API secret. It's used only for signature generation.

Sandbox
https://hoopaywallet.com/api/v1/partner/{endpoint}

Same endpoint for both sandbox and production. Environment is determined by your API key.

curl-command.sh
Generate a signature to see code samples

How Signing Works

  1. Sort JSON keys alphabetically (recursive)
  2. Stringify without whitespace
  3. Compute: HMAC-SHA256(body, secret)
  4. Convert to lowercase hex string