> For the complete documentation index, see [llms.txt](https://docs.faspay.co.id/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.faspay.co.id/getting-started/faspay-sendme/authentication/signature/generate-signature-token.md).

# Generate signature token

To generate signature token, you can use this formula :

* **Signature** = encrypt method rule HMAC(StringToSign, faspay\_secret)

<table><thead><tr><th width="225">Parameter</th><th>Type</th></tr></thead><tbody><tr><td><strong>method</strong></td><td>GET</td></tr><tr><td><strong>path</strong></td><td>define URL service that will be used (list of service)</td></tr><tr><td><strong>timestamp</strong></td><td>datetime (Y-m-d H:i:s). Sample : 2018-10-09 14:24:00</td></tr><tr><td><strong>token</strong></td><td>base64_encode <strong>(CLIENT_KEY:CLIENT_SECRET)</strong></td></tr><tr><td><strong>request_body</strong></td><td>for this service, set <strong>request body</strong> to empty string</td></tr><tr><td><strong>StringToSign</strong></td><td>" [method]:[path]:[timestamp]:[access_token]:[request_body]"</td></tr><tr><td></td><td>*) without [] and ""</td></tr><tr><td> <strong>faspay_secret</strong></td><td>will given by faspay</td></tr></tbody></table>
