@@ -13,35 +13,35 @@ def __init__(self, client=None):
1313 self .service = "balancePlatform"
1414 self .baseUrl = "https://balanceplatform-api-test.adyen.com/bcl/v2"
1515
16- def payment_instruments_payment_instrument_id_authorised_card_users_delete (self , paymentInstrumentId , idempotency_key = None , ** kwargs ):
16+ def create_authorised_card_users (self , request , paymentInstrumentId , authorisedCardUsers , idempotency_key = None , ** kwargs ):
17+ """
18+ Create authorized users for a card.
19+ """
20+ endpoint = self .baseUrl + f"/paymentInstruments/{ paymentInstrumentId } /authorisedCardUsers"
21+ method = "POST"
22+ return self .client .call_adyen_api (request , self .service , method , endpoint , idempotency_key , ** kwargs )
23+
24+ def delete_authorised_card_users (self , paymentInstrumentId , idempotency_key = None , ** kwargs ):
1725 """
1826 Delete the authorized users for a card.
1927 """
2028 endpoint = self .baseUrl + f"/paymentInstruments/{ paymentInstrumentId } /authorisedCardUsers"
2129 method = "DELETE"
2230 return self .client .call_adyen_api (None , self .service , method , endpoint , idempotency_key , ** kwargs )
2331
24- def payment_instruments_payment_instrument_id_authorised_card_users_get (self , paymentInstrumentId , idempotency_key = None , ** kwargs ):
32+ def get_all_authorised_card_users (self , paymentInstrumentId , idempotency_key = None , ** kwargs ):
2533 """
2634 Get authorized users for a card.
2735 """
2836 endpoint = self .baseUrl + f"/paymentInstruments/{ paymentInstrumentId } /authorisedCardUsers"
2937 method = "GET"
3038 return self .client .call_adyen_api (None , self .service , method , endpoint , idempotency_key , ** kwargs )
3139
32- def payment_instruments_payment_instrument_id_authorised_card_users_patch (self , request , paymentInstrumentId , authorisedCardUsers , idempotency_key = None , ** kwargs ):
40+ def update_authorised_card_users (self , request , paymentInstrumentId , authorisedCardUsers , idempotency_key = None , ** kwargs ):
3341 """
3442 Update the authorized users for a card.
3543 """
3644 endpoint = self .baseUrl + f"/paymentInstruments/{ paymentInstrumentId } /authorisedCardUsers"
3745 method = "PATCH"
3846 return self .client .call_adyen_api (request , self .service , method , endpoint , idempotency_key , ** kwargs )
3947
40- def payment_instruments_payment_instrument_id_authorised_card_users_post (self , request , paymentInstrumentId , authorisedCardUsers , idempotency_key = None , ** kwargs ):
41- """
42- Create authorized users for a card.
43- """
44- endpoint = self .baseUrl + f"/paymentInstruments/{ paymentInstrumentId } /authorisedCardUsers"
45- method = "POST"
46- return self .client .call_adyen_api (request , self .service , method , endpoint , idempotency_key , ** kwargs )
47-
0 commit comments