For a deeper look into our World Check One API, look into:

Overview |  Quickstart |  Documentation |  Downloads

question

Upvotes
Accepted
16 2 3 5

How to generate Signature in PHP any one help me ?

Hi Team,

How can i generate signature key(Used for api call) in php technology can any one help me please ?

world-checkworld-check-onephp
icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

1 Answer

Upvote
Accepted
4.2k 8 5 6

@EMFI

You can use the hash_hmac function in PHP to generate the HMAC signature.

For example:

$hmac = base64_encode (hash_hmac('sha256', $dataToSign, $secret, true);)

Please refer the PHP documentation for more info

https://php.net/manual/en/function.hash-hmac.php

icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

@Irfan.Khan

Thankyou