Learn how to authenticate and secure API requests using Paytring.
Authorization
header of each request.
You can generate this token using Basic Authentication with your API key and secret:
hash value can be "none" for v2 API
Hashing is a process of generating a unique value or a fixed-length string representation of data. This technique is used to store and retrieve data more efficiently and securely. Below is the explanation of how to create a hash for v1 and v2 APIs.
|
sign.SHA512()
function.|
sign.KEY_SECRET
at the end of the string.SHA512()
function.