# Header

To access all the services you’ll need the access token, to get the access token, you need to be generated header authorization by faspay\_secret, app\_key, app\_secret with encrypt method rule : AES 256 and for security Header you can generate with some parameter like below :

<table><thead><tr><th width="288">Key</th><th>Value</th></tr></thead><tbody><tr><td><strong>Faspay-Key</strong></td><td>Provide by faspay</td></tr><tr><td><strong>Faspay-Timestamp</strong></td><td>datetime (Y-m-d H:i:s)</td></tr><tr><td><strong>Faspay-Signature</strong></td><td>Signature please refer to signature section</td></tr><tr><td><strong>Faspay-Authorization</strong></td><td> Encrypt method : AES 256 (<strong>FASPAY_SECRET:APP_KEY:APP_SECRET</strong>)</td></tr><tr><td><strong>Content-Type</strong></td><td>application/json</td></tr></tbody></table>
