This is a TypeScript implementation of the Satispay authentication.
- Copy
test.env.sampletotest.env - Fill the KEY_ID with the one generated with the API
- Fill the PRIVATE_KEY content with your private key.
The"character wrapping the key is important; New lines should be replaced with\ncontrol character.
Example:PRIVATE_KEY="-----BEGIN RSA PRIVATE KEY-----\nfirsLine\nsecondLine\nthirdLine\n-----END RSA PRIVATE KEY-----"