Security
How to make safe payment requests.
Signature
The signature should use SHA256 as HMAC hash function.
Header | Type | Description |
Content-Type | string | application/json; charset=UTF-8 |
AppId | string | Your App ID in payout platform |
Authorization | string | SHA256($sorted_params + $app_key) |
Find $AppId, $app_key from the merchant dashboard.
Sign Method
Ascendingly, sorted request params, check examples below;
Concatenate sorted_params with app_key.
Use sha256(sorted_params + app_key) to get the Authorization.
When sorting parameters, strip the ones with no value.
Letters in Authorization need to be lower case.
Sign Coding Example
Sign Example
Sample request:
Sorted parameter before hash:
Concatenate sorted_params with app_key (exmaple app key ABCDE) :
sha256 hash
Last updated