OPay API Signature

Signature authentication ensures the highest level of security for your payment creation requests. Not only does it provide a secure authentication mechanism, but also it ensures the integrity of your request payload, that is the content of your request payload has not been altered since it was transmitted from your side. OPay signatures are calculated using HMAC-SH512 applied to payload and signed with your secret key.

Your public key should be used for authorization header of the following API calls:

  1. Cashier Payment Refund
  2. Cashier Refund Status

API Signature Calculator

The authorization header of API requests that require signature authentication should contain your HMAC-SHA512 signature of your payload signed using your private key.

Your request header must contain Authorization, MerchantId and RequestTimestamp key-value pair, when you call Opay v2 API

                   
                       Authorization   : {signature}
                       MerchantId      : 256612345678901
                       RequestTimestamp: 1633246096
                   
                

The following section helps you generate a signature from the HMAC computation of the private key and request payload.

OPay merchant id
UNIX second timestamp
OPay Private Key
http request body

See Also

User Profile 12 messages

Recent Notifications
Another purpose persuade Due in 2 Days
+28%
Would be to people Due in 2 Days
+50%
-27%
The best product Due in 2 Days
+8%