-
Notifications
You must be signed in to change notification settings - Fork 110
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
4369fdb
commit 40bed7f
Showing
3 changed files
with
127 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,106 @@ | ||
### Iin | ||
|
||
### Token IIN API | ||
|
||
```js | ||
var tokenIin = "412345"; | ||
instance.iins.fetch(tokenIin) | ||
``` | ||
|
||
**Parameters:** | ||
|
||
| Name | Type | Description | | ||
|------------|--------|-----------------------------------| | ||
| tokenIin* | string | The token IIN. | | ||
|
||
**Response:** | ||
```json | ||
{ | ||
"iin": "412345", | ||
"entity": "iin", | ||
"network": "Visa", | ||
"type": "credit", | ||
"sub_type": "business", | ||
"issuer_code": "HDFC", | ||
"issuer_name": "HDFC Bank Ltd", | ||
"international": false, | ||
"is_tokenized": true, | ||
"card_iin": "411111", | ||
"emi":{ | ||
"available": true | ||
}, | ||
"recurring": { | ||
"available": true | ||
}, | ||
"authentication_types": [ | ||
{ | ||
"type":"3ds" | ||
}, | ||
{ | ||
"type":"otp" | ||
} | ||
] | ||
} | ||
``` | ||
------------------------------------------------------------------------------------------------------- | ||
|
||
### Fetch All IINs Supporting Native OTP | ||
|
||
```js | ||
var param = {"flow": "otp"} | ||
instance.iins.all(param) | ||
``` | ||
|
||
**Response:** | ||
```json | ||
{ | ||
"count": 24, | ||
"iins": [ | ||
"512967", | ||
"180005", | ||
"401704", | ||
"401806", | ||
"123456", | ||
"411111", | ||
"123512967", | ||
"180012305", | ||
"401123704" | ||
] | ||
} | ||
``` | ||
------------------------------------------------------------------------------------------------------- | ||
|
||
### Fetch All IINs with Business Sub-type | ||
|
||
```js | ||
var param = {"sub_type": "business"} | ||
instance.iins.all(param) | ||
``` | ||
|
||
**Response:** | ||
```json | ||
{ | ||
"count": 24, | ||
"iins": [ | ||
"512967", | ||
"180005", | ||
"401704", | ||
"401806", | ||
"607389", | ||
"652203", | ||
"414367", | ||
"787878", | ||
"123456", | ||
"411111", | ||
"123512967", | ||
"180012305", | ||
"401123704" | ||
] | ||
} | ||
``` | ||
------------------------------------------------------------------------------------------------------- | ||
|
||
**PN: * indicates mandatory fields** | ||
<br> | ||
<br> | ||
**For reference click [here](https://razorpay.com/docs/api/payments/cards/iin-api/#iin-entity)** |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters