Testing

Learn about various ways to test your integration before going live.

For all transactions, use the following test bank, card, UPI, and wallet numbers to trigger all validations and transfers for payouts and cashgram. Add these details while adding the beneficiary, and mock the transfer responses to the provided results.

Please note that transfers to any other details other than the ones mentioned below fail. Test mode payouts and validations simulate a live payout but don't get processed with the bank.

All different modes and validation for the TEST and PROD environment have to be enabled by Cashfree before the attempt. Reach out to us at care@cashfree.com.

Test Account Details

The SMS notification service is unavailable on the TEST environment, and the OTP is standard across all OTP requests. It is 111000.

Bank Numbers

For banks, the primary parameters for transfer would be the bank account and IFSC number included while adding the beneficiary. Use these test bank numbers to test payouts to a card. Utilized only with test API keys.

Account Number

IFSC

Remarks

026291800001191

YESB0000262

Success

00011020001772

HDFC0000001

Success

000890289871772

SCBL0036078

Success

000100289877623

SBIN0008752

Success

2640101002729

CNRR0002640

Failure – Invaid IFSC code

026291800001190

YESB0000262

Failure – Invalid Account number

007711000031

HDFC0000077

Pending

00224412311300

YESB0000001

Pending (later to Success)

7766666351000

YESB0000001

Pending (later to Failure)

02014457596969

CITI0000001

Success (later to Reversed)

34978321547298

KKBK0000001

Timeout - 100s (later to Success) Test with a timeout of 30s and 100s (gateway timeout)

Card Numbers

For cards, the primary parameter for transfer would be the card number included while adding the beneficiary. Use these test card numbers to test payouts to a card. Utilized only with test API keys.

Card Number

Remarks

4434260000000000

Successful card transfer

4434260000000001

Failed card transfer

Wallet numbers

For wallets, the primary parameter for transfer would be the phone number included while adding the beneficiary. Use these wallet numbers to test payouts to a wallet. Utilized only with test API keys.

Phone Number

Remarks

9999999999

Paytm successful wallet transfer

8888888888

Paytm successful wallet transfer

7777777777

AmazonPay successful wallet transfer

6666666666

AmazonPay successful wallet transfer

UPI Numbers

For UPI, the primary parameter for transfer would be the UPI VPA included while adding the beneficiary. Use these UPI VPA to test payouts to an account. Utilized only with test API keys.

VPA

Remarks

success@upi

Successful UPI transfer

failure@upi

Failed UPI transfer

While in TEST mode, as long as valid external bank information and other relevant conditions get covered, it never requires real identity verification or other interactive steps that are part of the custom account workflow. We also provide a robust postman collection to help test and get started.

The security is on the Bearer token approach, and everything is on https. Also, as another security feature, we accept requests only from whitelisted servers. However, in cases of elastic load balancers, static IPs are not an option. We support dynamic IPs architecture through a public key encryption method.