Skip to Content
KingsPay Docs
Authentication

Asymmetric

Signing SNAP requests with RSA-SHA256 and no access token.

Asymmetric endpoints are signed with RSA-SHA256 using your RSA private key, and carry no bearer token. The B2B access token endpoint uses this profile, which is why obtaining a token does not itself require one.

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

This page will cover:

  • How the stringToSign is composed for each asymmetric endpoint
  • Signing with your RSA private key and attaching X-SIGNATURE
  • Which key KingsPay uses to verify, and which you use to verify ours
  • Which headers accompany an asymmetric request