Authentication

Calling the Authentication APIs allows you to get and verify bearer tokens returned by Cashfree Payments. We require this token for all further communication.

πŸ“˜

We do not support connected fund source accounts with respect to the Verification Suite products.

General instructions

  • Cashfree Payments' libraries automatically call the Authorize API and internally store the token.
  • Do not store the token in an insecure manner.
  • Regenerating a new token does not invalidate the already generated token.
  • Token generated from one IP address cannot be used from a different IP.
  • Token generated is valid for 600 seconds. Please ensure that you recall the authorize API once the token has expired.

IP Whitelisting and Public Key

Whitelist your IP address. Follow the instructions listed here to whitelist your IP address.

To add the public key in the code snippet, ensure you read the file directly and not copy paste it. Copy pasting the public key turns out to be erroneous.