@@ -13,6 +13,14 @@ def __init__(self, client=None):
13
13
self .service = "balancePlatform"
14
14
self .baseUrl = "https://balanceplatform-api-test.adyen.com/bcl/v2"
15
15
16
+ def create_network_token_provisioning_data (self , request , id , idempotency_key = None , ** kwargs ):
17
+ """
18
+ Create network token provisioning data
19
+ """
20
+ endpoint = self .baseUrl + f"/paymentInstruments/{ id } /networkTokenActivationData"
21
+ method = "POST"
22
+ return self .client .call_adyen_api (request , self .service , method , endpoint , idempotency_key , ** kwargs )
23
+
16
24
def create_payment_instrument (self , request , idempotency_key = None , ** kwargs ):
17
25
"""
18
26
Create a payment instrument
@@ -29,6 +37,14 @@ def get_all_transaction_rules_for_payment_instrument(self, id, idempotency_key=N
29
37
method = "GET"
30
38
return self .client .call_adyen_api (None , self .service , method , endpoint , idempotency_key , ** kwargs )
31
39
40
+ def get_network_token_activation_data (self , id , idempotency_key = None , ** kwargs ):
41
+ """
42
+ Get network token activation data
43
+ """
44
+ endpoint = self .baseUrl + f"/paymentInstruments/{ id } /networkTokenActivationData"
45
+ method = "GET"
46
+ return self .client .call_adyen_api (None , self .service , method , endpoint , idempotency_key , ** kwargs )
47
+
32
48
def get_pan_of_payment_instrument (self , id , idempotency_key = None , ** kwargs ):
33
49
"""
34
50
Get the PAN of a payment instrument
0 commit comments