Skip to content

Commit 42d99ab

Browse files
Merge pull request #110 from CurrencyCloud/release/8.1.0
Release 8.1.0
2 parents ed0696c + 866bb61 commit 42d99ab

105 files changed

Lines changed: 337 additions & 183 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -219,6 +219,10 @@ Once a feature has been marked as deprecated, we no longer develop the code or i
219219
```
220220
221221
# Release History
222+
* [8.1.0]
223+
* Adds POST payments/{id}/notifications/retry
224+
* [8.0.0]
225+
* Removes GET payments/{id}/submission
222226
* [7.1.0]
223227
* Adds support for [Strong Customer Authentication for Payments](https://developer.currencycloud.com/guides/integration-guides/sca_sponsored_api_payments/)
224228
* [7.0.0]

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010

1111
setup(
1212
name='currency_cloud',
13-
version='8.0.0',
13+
version='8.1.0',
1414
license='MIT',
1515
description="Python SDK for the Currencycloud API.",
1616
long_description='',

src/currencycloud/clients/payments.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -122,3 +122,9 @@ def validate(self, sca_to_authenticated_user: bool = False, **kwargs) -> Payment
122122
result = PaymentValidation(self, **body)
123123
result.response_headers = headers
124124
return result
125+
126+
def retry_payment_notifications(self, resource_id, **kwargs):
127+
"""
128+
Retries sending payment notification.
129+
"""
130+
return self.post("/v2/payments/" + resource_id + "/notifications/retry", kwargs)

src/currencycloud/version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
VERSION = '8.0.0'
1+
VERSION = '8.1.0'

tests/fixtures/vcr_cassettes/accounts/can_get_current.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
"Connection": "keep-alive",
1414
"Content-Length": "104",
1515
"Content-Type": "application/x-www-form-urlencoded",
16-
"User-Agent": "CurrencyCloudSDK/2.0 Python/8.0.0"
16+
"User-Agent": "CurrencyCloudSDK/2.0 Python/8.1.0"
1717
},
1818
"method": "POST",
1919
"uri": "https://devapi.currencycloud.com/v2/authenticate/api"
@@ -56,7 +56,7 @@
5656
"Accept-Encoding": "gzip, deflate",
5757
"Connection": "keep-alive",
5858
"Cookie": "__cfduid=de80fc864b341e306dc9603ce66028f4d1494837748",
59-
"User-Agent": "CurrencyCloudSDK/2.0 Python/8.0.0",
59+
"User-Agent": "CurrencyCloudSDK/2.0 Python/8.1.0",
6060
"X-Auth-Token": "08c092fed3a7e97ada698e5ec60c3e4a"
6161
},
6262
"method": "GET",

tests/fixtures/vcr_cassettes/accounts/can_get_payment_charges_setting.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
"Connection": "keep-alive",
1414
"Content-Length": "104",
1515
"Content-Type": "application/x-www-form-urlencoded",
16-
"User-Agent": "CurrencyCloudSDK/2.0 Python/8.0.0"
16+
"User-Agent": "CurrencyCloudSDK/2.0 Python/8.1.0"
1717
},
1818
"method": "POST",
1919
"uri": "https://devapi.currencycloud.com/v2/authenticate/api"
@@ -56,7 +56,7 @@
5656
"Accept-Encoding": "gzip, deflate",
5757
"Connection": "keep-alive",
5858
"Cookie": "__cfduid=de80fc864b341e306dc9603ce66028f4d1494837748",
59-
"User-Agent": "CurrencyCloudSDK/2.0 Python/8.0.0",
59+
"User-Agent": "CurrencyCloudSDK/2.0 Python/8.1.0",
6060
"X-Auth-Token": "08c092fed3a7e97ada698e5ec60c3e4a"
6161
},
6262
"method": "GET",

tests/fixtures/vcr_cassettes/accounts/can_manage_payment_charges_setting.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
"Connection": "keep-alive",
1414
"Content-Length": "104",
1515
"Content-Type": "application/x-www-form-urlencoded",
16-
"User-Agent": "CurrencyCloudSDK/2.0 Python/8.0.0"
16+
"User-Agent": "CurrencyCloudSDK/2.0 Python/8.1.0"
1717
},
1818
"method": "POST",
1919
"uri": "https://devapi.currencycloud.com/v2/authenticate/api"
@@ -58,7 +58,7 @@
5858
"Content-Length": "15",
5959
"Content-Type": "application/x-www-form-urlencoded",
6060
"Cookie": "__cfduid=d58dbc311d1d46e40db08a3ba059e1d221494839075",
61-
"User-Agent": "CurrencyCloudSDK/2.0 Python/8.0.0",
61+
"User-Agent": "CurrencyCloudSDK/2.0 Python/8.1.0",
6262
"X-Auth-Token": "a32102935874276433e4f751af0ea2bc"
6363
},
6464
"method": "POST",

tests/fixtures/vcr_cassettes/accounts/create.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
"Connection": "keep-alive",
1414
"Content-Length": "104",
1515
"Content-Type": "application/x-www-form-urlencoded",
16-
"User-Agent": "CurrencyCloudSDK/2.0 Python/8.0.0"
16+
"User-Agent": "CurrencyCloudSDK/2.0 Python/8.1.0"
1717
},
1818
"method": "POST",
1919
"uri": "https://devapi.currencycloud.com/v2/authenticate/api"
@@ -58,7 +58,7 @@
5858
"Content-Length": "127",
5959
"Content-Type": "application/x-www-form-urlencoded",
6060
"Cookie": "__cfduid=d1023b9b38e629ad2f2e5ef55be081ace1494838748",
61-
"User-Agent": "CurrencyCloudSDK/2.0 Python/8.0.0",
61+
"User-Agent": "CurrencyCloudSDK/2.0 Python/8.1.0",
6262
"X-Auth-Token": "32978c7fb01658be81ed35b981eb2788"
6363
},
6464
"method": "POST",

tests/fixtures/vcr_cassettes/accounts/find.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
"Connection": "keep-alive",
1414
"Content-Length": "104",
1515
"Content-Type": "application/x-www-form-urlencoded",
16-
"User-Agent": "CurrencyCloudSDK/2.0 Python/8.0.0"
16+
"User-Agent": "CurrencyCloudSDK/2.0 Python/8.1.0"
1717
},
1818
"method": "POST",
1919
"uri": "https://devapi.currencycloud.com/v2/authenticate/api"
@@ -56,7 +56,7 @@
5656
"Accept-Encoding": "gzip, deflate",
5757
"Connection": "keep-alive",
5858
"Cookie": "__cfduid=d7cfc1e64f20a082985f27bc80f2cf81c1494838434",
59-
"User-Agent": "CurrencyCloudSDK/2.0 Python/8.0.0",
59+
"User-Agent": "CurrencyCloudSDK/2.0 Python/8.1.0",
6060
"X-Auth-Token": "9a80cab6e3b509c64ed7243228ec3c47",
6161
"Content-Type": "application/x-www-form-urlencoded"
6262
},

tests/fixtures/vcr_cassettes/accounts/retrieve.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
"Connection": "keep-alive",
1414
"Content-Length": "104",
1515
"Content-Type": "application/x-www-form-urlencoded",
16-
"User-Agent": "CurrencyCloudSDK/2.0 Python/8.0.0"
16+
"User-Agent": "CurrencyCloudSDK/2.0 Python/8.1.0"
1717
},
1818
"method": "POST",
1919
"uri": "https://devapi.currencycloud.com/v2/authenticate/api"
@@ -56,7 +56,7 @@
5656
"Accept-Encoding": "gzip, deflate",
5757
"Connection": "keep-alive",
5858
"Cookie": "__cfduid=d2b8a349b255349ccb6b57169052223d61494838551",
59-
"User-Agent": "CurrencyCloudSDK/2.0 Python/8.0.0",
59+
"User-Agent": "CurrencyCloudSDK/2.0 Python/8.1.0",
6060
"X-Auth-Token": "35030987b149058b383f8f00ceeb7d4e"
6161
},
6262
"method": "GET",

0 commit comments

Comments
 (0)