getBINInfo method
Implementation
@override
Future<List> getBINInfo(String token, String bin) async {
final baseUrl = await getBaseUrl;
var url = Uri.parse("$baseUrl/api/v1/pa/reference/bin/lookup");
var response = await http.get(
url,
headers: {"Authorization": "Bearer $token", "x-pan": bin},
);
var data = jsonDecode(response.body);
return data;
}