Skip to content

Commit 5e16df9

Browse files
feat: Support new payment methods including BLIK and MB WAY (#189)
1 parent 93f9088 commit 5e16df9

File tree

4 files changed

+26
-2
lines changed

4 files changed

+26
-2
lines changed

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,12 @@ in a response, this weakens the Typescript type but does not cause existing usag
2020
This means when upgrading minor versions of the SDK, you may notice type errors. You can safely ignore these or fix by
2121
adding additional type guards.
2222

23+
## [Unreleased]
24+
25+
### Added
26+
27+
- Added support for new payment methods `blik`, `mb_way`, `pix` and `upi`. See [related changelog](https://developer.paddle.com/changelog/2025/blik-mbway-payment-methods).
28+
2329
## 3.2.1 - 2025-08-26
2430

2531
### Fixed

src/enums/payment-method/type.ts

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,14 @@
44
* Changes may be overwritten as part of auto-generation.
55
*/
66

7-
export type SavedPaymentMethodType = 'alipay' | 'apple_pay' | 'card' | 'google_pay' | 'korea_local' | 'paypal';
7+
export type SavedPaymentMethodType =
8+
| 'alipay'
9+
| 'apple_pay'
10+
| 'blik'
11+
| 'card'
12+
| 'google_pay'
13+
| 'mb_way'
14+
| 'korea_local'
15+
| 'paypal'
16+
| 'pix'
17+
| 'upi';

src/enums/shared/available-payment-methods.ts

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,12 @@ export type AvailablePaymentMethod =
88
| 'alipay'
99
| 'apple_pay'
1010
| 'bancontact'
11+
| 'blik'
1112
| 'card'
1213
| 'google_pay'
1314
| 'ideal'
1415
| 'korea_local'
15-
| 'paypal';
16+
| 'mb_way'
17+
| 'paypal'
18+
| 'pix'
19+
| 'upi';

src/enums/shared/payment-type.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,15 @@ export type PaymentType =
88
| 'alipay'
99
| 'apple_pay'
1010
| 'bancontact'
11+
| 'blik'
1112
| 'card'
1213
| 'google_pay'
1314
| 'ideal'
1415
| 'korea_local'
16+
| 'mb_way'
1517
| 'offline'
1618
| 'paypal'
19+
| 'pix'
1720
| 'unknown'
21+
| 'upi'
1822
| 'wire_transfer';

0 commit comments

Comments
 (0)