Skip to content

Commit 4be8804

Browse files
authored
Merge pull request #373 from Adyen/sdk-automation/models
Code generation: update services and models
2 parents 32aef1f + 6c4484d commit 4be8804

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

Adyen/services/balancePlatform/payment_instruments_api.py

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,14 @@ def __init__(self, client=None):
1313
self.service = "balancePlatform"
1414
self.baseUrl = "https://balanceplatform-api-test.adyen.com/bcl/v2"
1515

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+
1624
def create_payment_instrument(self, request, idempotency_key=None, **kwargs):
1725
"""
1826
Create a payment instrument
@@ -29,6 +37,14 @@ def get_all_transaction_rules_for_payment_instrument(self, id, idempotency_key=N
2937
method = "GET"
3038
return self.client.call_adyen_api(None, self.service, method, endpoint, idempotency_key, **kwargs)
3139

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+
3248
def get_pan_of_payment_instrument(self, id, idempotency_key=None, **kwargs):
3349
"""
3450
Get the PAN of a payment instrument

0 commit comments

Comments
 (0)