Skip to content

Commit

Permalink
false[adyen-sdk-automation] automated change (#329)
Browse files Browse the repository at this point in the history
  • Loading branch information
AdyenAutomationBot authored Aug 16, 2024
1 parent 49975ac commit 768b2a9
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions Adyen/services/checkout/donations_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,14 @@ def __init__(self, client=None):
self.service = "checkout"
self.baseUrl = "https://checkout-test.adyen.com/v71"

def donation_campaigns(self, request, idempotency_key=None, **kwargs):
"""
Get a list of donation campaigns.
"""
endpoint = self.baseUrl + f"/donationCampaigns"
method = "POST"
return self.client.call_adyen_api(request, self.service, method, endpoint, idempotency_key, **kwargs)

def donations(self, request, idempotency_key=None, **kwargs):
"""
Start a transaction for donations
Expand Down

0 comments on commit 768b2a9

Please sign in to comment.