In this article, you will learn the things to do before testing our Payouts APIs.
Version 2 APIs: We have a new version 2 APIs for Payouts. The v2 APIs represent a significant leap forward in payouts integration, offering enhanced versioning, standardized requests and responses, efficient troubleshooting, standardization across products, and simplified transfer APIs.
This collection can save you time because of easy access to different requests.
Download Cashfree Payments Payouts Postman Collection
For Payout v2 APIs, [NEW]
Environment | Base URL |
---|---|
Production | https://api.cashfree.com/payout |
Test | https://sandbox.cashfree.com/payout |
For Payout v1 and v1.2 APIs,
Environment | Base URL |
---|---|
Production | https://payout-api.cashfree.com |
Test | https://payout-gamma.cashfree.com |
Cashfree Payments uses unique identifiers to allow access to the API. Once you have signed up at our merchant site, you can see your** AppId **and SecretKey. Each API request to the server requires these credentials.
Use this endpoint to verify your credentials: /api/v1/credentials/verify
Follow the instructions below to generate API keys:
From the Payouts dashboard, click Developers on the navigation panel.
Click API Keys.
Click Generate API Keys from the API Keys screen.
The New API Keys popup displays with the client ID and client secret information.
Click Download API Keys to download the information and save them in your local system folder. Do not share the keys with anyone because they are confidential. You can generate a maximum of 10 API keys.
Generate API Keys
API Keys - Production Environment: You need to perform an OTP authentication to generate API keys for production environment.
Whitelisting the IP address or generating a signature provides a layer of authentication. These cybersecurity techniques prevent anonymous or unknown disbursement requests and allow only verified requests.
Your IP address needs to be whitelisted in the Cashfree Payments production server or it rejects all incoming requests.
Only the production environment needs approval from Cashfree Payments and not for the test environment.
Follow the instructions below to whitelist your IP:
From the _Payout_s dashboard, click Developers > Two-Factor Authentication.
Choose IP Whitelist from the Select 2FA Method drop-down.
Click Add IP Address.
Enter the IP address you want to whitelist in the respective field and click Add IP Address to save the details. Note that the IPv4 has to be whitelisted, and not IPv6. The whitelisted IPs are displayed in the grid as shown below. You can whitelist a maximum of 25 IPs.
Whitelist IP Address
To generate a signature, you need to generate the public key. You then use the generated public key to generate the signature.
From the Payouts dashboard, click Developers > Two-Factor Authentication.
Select Public Key from the Select 2FA Method drop-down.
Click Generate Public Key.
The public key is downloaded to your computer. Use your registered email ID to access the key.
Below are the steps to generate your signature:
In the case of using our library, go through the libraries section. During the initialization process, you need to pass the key as a parameter.
For identifying, diagnosing, and resolving problems related to API requests, ensure the information below is communicated while contacting us:
For dashboard queries, share the screenshot and .har file of the screen.