API Test Keys

Fetch Account Validation Transactions With ID

GET
/v1/fund_accounts/validations/:id

Click to copy

Use this endpoint to retrieve a particulae Fund Account Validation transaction with its id.

Is this page helpful?

Curl

1
curl -u <YOUR_KEY>:<YOUR_SECRET> \
2
-X GET https://api.razorpay.com/v1/fund_accounts/validations/fav_00000000000001

Success

1
{
2
"id": "fav_00000000000001",
3
"entity": "fund_account.validation",
4
"fund_account": {
5
"id": "fa_00000000000001",
6
"entity": "fund_account",
7
"contact_id": "cont_00000000000001",
8
"account_type": "bank_account",
9
"bank_account": {
10
"name": "Gaurav Kumar",
11
"bank_name": "HDFC",
12
"ifsc": "HDFC0000053",
13
"account_number": "765432123456789"
14
},
15
"batch_id": null,
16
"active": true,
17
"created_at": 1567064019
18
},
19
"status": "completed",
20
"amount": 100,
21
"currency": "INR",
22
"notes": {
23
"random_key_1": "Make it so.",
24
"random_key_2": "Tea. Earl Grey. Hot."
25
},
26
"results": {
27
"account_status": "active",
28
"registered_name": "Gaurav Kumar"
29
},
30
"created_at": 1547566278,
31
"utr": "XXXXR7310682908954385XX"
32
}
Path Parameters
id

*

string

This is the unique identifier linked to the account validation transaction. For example, fav_00000000000001.

Response Parameters
id
string

The unique identifier linked to the fund account validation. For example, fav_0000000001.

entity
string

Here it is fund_account.validation.

fund_account
object

The details of the fund account which was validated.

Show child parameters (7)

active
boolean

Possible values of Fund Account status:

  • true: active
  • false: inactive

batch_id
string

This value is returned if the fund account was created as part of a bulk upload.
For example, batch_00000000000001.

status
string

The status of the account validation transaction. Possible values:

  • created
  • completed
  • failed

results
object

Result of the validation. If the account validation is complete and the account is invalid, the value in the below parameters is invalid.

Show child parameters (2)

created_at
integer

Timestamp, in Unix, when the fund account was created. For example, 1543650891.

utr
string

The unique transaction id of the validation transaction.

Fetch Account Validation Transactions With ID

GET
/v1/fund_accounts/validations/:id

Click to copy

Use this endpoint to retrieve a particulae Fund Account Validation transaction with its id.

Is this page helpful?

Path Parameters
id

*

string

This is the unique identifier linked to the account validation transaction. For example, fav_00000000000001.

Response Parameters
id
string

The unique identifier linked to the fund account validation. For example, fav_0000000001.

entity
string

Here it is fund_account.validation.

fund_account
object

The details of the fund account which was validated.

Show child parameters (7)

active
boolean

Possible values of Fund Account status:

  • true: active
  • false: inactive

batch_id
string

This value is returned if the fund account was created as part of a bulk upload.
For example, batch_00000000000001.

status
string

The status of the account validation transaction. Possible values:

  • created
  • completed
  • failed

results
object

Result of the validation. If the account validation is complete and the account is invalid, the value in the below parameters is invalid.

Show child parameters (2)

created_at
integer

Timestamp, in Unix, when the fund account was created. For example, 1543650891.

utr
string

The unique transaction id of the validation transaction.

Curl

1
curl -u <YOUR_KEY>:<YOUR_SECRET> \
2
-X GET https://api.razorpay.com/v1/fund_accounts/validations/fav_00000000000001

Success

1
{
2
"id": "fav_00000000000001",
3
"entity": "fund_account.validation",
4
"fund_account": {
5
"id": "fa_00000000000001",
6
"entity": "fund_account",
7
"contact_id": "cont_00000000000001",
8
"account_type": "bank_account",
9
"bank_account": {
10
"name": "Gaurav Kumar",
11
"bank_name": "HDFC",
12
"ifsc": "HDFC0000053",
13
"account_number": "765432123456789"
14
},
15
"batch_id": null,
16
"active": true,
17
"created_at": 1567064019
18
},
19
"status": "completed",
20
"amount": 100,
21
"currency": "INR",
22
"notes": {
23
"random_key_1": "Make it so.",
24
"random_key_2": "Tea. Earl Grey. Hot."
25
},
26
"results": {
27
"account_status": "active",
28
"registered_name": "Gaurav Kumar"
29
},
30
"created_at": 1547566278,
31
"utr": "XXXXR7310682908954385XX"
32
}