Skip to main content

Signature Verification

Merchants can follow the steps below to verify the signature on API responses or callback notifications.

Retrieve the Response Signature

Payloco’s response signature is transmitted via the HTTP signature header. (Note: the example below may show line breaks due to formatting — the actual value is a single unbroken string.) Decode the value of the signature field using Base64 to obtain the response signature bytes.

Verify the Signature

Most programming languages provide signature verification functions that accept both the message string and the signature for validation. We strongly recommend using such functions to verify the signature string and the signature against Payloco’s platform public key using the SHA256WithRSA algorithm.

Test Public Key

Produce Public Key