Skip to Content
KingsPay Docs
Authentication

Symmetric

Signing SNAP requests with HMAC-SHA512 and a bearer access token.

Symmetric endpoints are signed with HMAC-SHA512, keyed with your client secret, and require a bearer access token. Get the token first from the B2B access token endpoint, then sign the request with it.

TODO: This page is a placeholder. Real symmetric signing documentation has not been written yet.

This page will cover:

  • How the stringToSign is composed (method, path, access token, body hash, timestamp)
  • Exact-byte body hashing rules
  • Computing the HMAC-SHA512 signature and attaching X-SIGNATURE
  • Which headers accompany a symmetric request