Skip to main content
All requests to Paywint APIs must be authenticated using an HMAC-SHA256 signature. This ensures both the integrity and authenticity of your requests. You must include:
  • X-Platform-ID – your API key
  • X-Signature – generated HMAC-SHA256 signature of the request

Canonical String Format

To generate a valid signature, you need to build a canonical string using the following format:

Definitions

METHOD: HTTP method (e.g., GET, POST, PUT) PATH: API path only (e.g., /api/platform/users/create) QUERY: Raw query string (e.g., ?id=123), or empty if none BODY_HASH: SHA256 hex digest of the raw request body (for POST, PUT, etc.)

Example Input

Signature Generation Examples

Complete API Call Examples

Once the signature is generated, use it in the X-Signature header as shown below:
Alternatively, you can use the static signature in the sandbox environment: 8b3cb99a4b8e24fc7e01d0db635e2e47b80818144fe51400c6c6ae3ecbc84f47

Best Practices

  • Keep your API Key and Secret Key secure — never expose them on the client side
  • Always use HTTPS to protect the signature and payload
  • Regenerate the signature for every request; it’s not reusable

Need help? Reach out to support@paywint.com