Skip to content

Latest commit

 

History

History
14 lines (11 loc) · 646 Bytes

File metadata and controls

14 lines (11 loc) · 646 Bytes

rust request signature example

Sends a signed request to https://api.truelayer-sandbox.com/test-signature.

Run

Set environment variables:

  • ACCESS_TOKEN A valid JWT access token for payments scope docs.
  • KID The certificate/key UUID for associated with your public key uploaded to console.truelayer.com.
  • PRIVATE_KEY Private key PEM string that matches the KID & uploaded public key. Should have the same format as this example private key.
$ cargo run