This is a TypeScript implementation of the Satispay authentication.
- Copy
test.env.sample
totest.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\n
control character.
Example:PRIVATE_KEY="-----BEGIN RSA PRIVATE KEY-----\nfirsLine\nsecondLine\nthirdLine\n-----END RSA PRIVATE KEY-----"