Skip to content

Commit 9fe0ec1

Browse files
false[adyen-sdk-automation] automated change (#355)
1 parent 828290e commit 9fe0ec1

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

Adyen/services/legalEntityManagement/pci_questionnaires_api.py

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,14 @@ def __init__(self, client=None):
1313
self.service = "legalEntityManagement"
1414
self.baseUrl = "https://kyc-test.adyen.com/lem/v3"
1515

16+
def calculate_pci_status_of_legal_entity(self, request, id, idempotency_key=None, **kwargs):
17+
"""
18+
Calculate PCI status of a legal entity
19+
"""
20+
endpoint = self.baseUrl + f"/legalEntities/{id}/pciQuestionnaires/signingRequired"
21+
method = "POST"
22+
return self.client.call_adyen_api(request, self.service, method, endpoint, idempotency_key, **kwargs)
23+
1624
def generate_pci_questionnaire(self, request, id, idempotency_key=None, **kwargs):
1725
"""
1826
Generate PCI questionnaire

0 commit comments

Comments
 (0)