This webservice allows you to retrieve precise information about a bank card. You can do it via the Alias of an existing card or from the CardNumber of any card.
Request
Body Params application/x-www-form-urlencoded
CardNumber
string
optional
Credit card number (at least the 6-digit BIN)
Alias
string
optional
Checks the validity and retrieves information from an existing card
Signature
string
required
Signature to verify the integrity of the data sent
Request samples
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl--location--request POST 'https://api.sandbox.easytransac.com/v2/api/payment/card/infos' \
--data-urlencode'Signature='
Responses
🟢200Response
application/json
Body
Code
integer
optional
Example:
0
Signature
string
optional
Example:
1f51786246a940677afe71f6968972fd46500bd1
Result
object
optional
CardBIN
string
optional
Example:
411111
CardCountry
string
optional
Example:
USA
CardType
string
optional
Example:
AMEX
CardBank
string
optional
Example:
BANK OF HAWAII
Example
{"Code":0,"Signature":"1f51786246a940677afe71f6968972fd46500bd1","Result":{"CardBIN":411111,"CardCountry":"USA","CardType":"AMEX","CardBank":"BANK OF HAWAII"}}