POSTCard Information Inquiry
With the Teqpay joint payment API, it searches the card information of all payment transactions.
Service Address:/creditcardinfo
Request
Header
| Parameter Name | Parameter Type | Explanation |
|---|---|---|
|
ApiKey
|
string | It is provided by the service provider .
|
|
SecretKey
|
string | It is provided by the service provider .
|
Body Parameter
| Parameter Name | Parameter Type | Explanation |
|---|---|---|
|
cardNo
|
string | It is the card number or bin number. |
|
language
Optional
|
string | It is the language option. The values it can receive are "TR-EN". "TR" is the default. |
Request Sample
{
"cardNo": "52691",
"language": ""
}
Response
Response Parameter
| Parameter Name | Parameter Type | Explanation |
|---|---|---|
| Result | boolen | The result of a successful or unsuccessful query. |
| ResultCode | integer | This is the code that returns the query result. |
| ResultMessage | string | The result of the query is the description returned. |
| Details | class | The details of the internal parameters are explained in the table below. |
Details Parameter
| Parameter Name | Parameter Type | Explanation |
|---|---|---|
| BankCode | string | Bank Code |
| BankName | string | Bank Name |
| CardFamily | Decimal | Card family eg: Visa |
| CardType | Decimal | Card Type |
| CardGroup | string | Card Group |
Response Sample
{
"Details": {
"BankCode": "62",
"BankName": "GARANTİ BANKASI",
"CardFamily": "MASTER CARD",
"CardType": "Bonus",
"CardGroup": "KrediKartı"
},
"Result": true,
"ResultCode": 10000,
"ResultMessage": "Başarıyla tamamlandı.",
}