@@ -9,26 +9,23 @@ class BinLookupApi(AdyenServiceBase):
99 """
1010
1111 def __init__ (self , client = None ):
12- super ().__init__ (client = client )
12+ super (BinLookupApi , self ).__init__ (client = client )
1313 self .service = "binlookup"
1414 self .baseUrl = "https://pal-test.adyen.com/pal/servlet/BinLookup/v54"
1515
1616 def get3ds_availability (self , request , idempotency_key = None , ** kwargs ):
1717 """
1818 Check if 3D Secure is available
1919 """
20- endpoint = self .baseUrl + "/get3dsAvailability"
20+ endpoint = self .baseUrl + f "/get3dsAvailability"
2121 method = "POST"
22- return self .client .call_adyen_api (
23- request , self .service , method , endpoint , idempotency_key , ** kwargs
24- )
22+ return self .client .call_adyen_api (request , self .service , method , endpoint , idempotency_key , ** kwargs )
2523
2624 def get_cost_estimate (self , request , idempotency_key = None , ** kwargs ):
2725 """
2826 Get a fees cost estimate
2927 """
30- endpoint = self .baseUrl + "/getCostEstimate"
28+ endpoint = self .baseUrl + f "/getCostEstimate"
3129 method = "POST"
32- return self .client .call_adyen_api (
33- request , self .service , method , endpoint , idempotency_key , ** kwargs
34- )
30+ return self .client .call_adyen_api (request , self .service , method , endpoint , idempotency_key , ** kwargs )
31+
0 commit comments