Skip to content

Commit 63f50bf

Browse files
author
xendit-devx-bot
committed
Generated Xendit python SDK
1 parent ec58a0d commit 63f50bf

56 files changed

Lines changed: 727 additions & 66 deletions

Some content is hidden

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

LICENSE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
MIT License
22

3-
Copyright (c) 2017-2024 Xendit
3+
Copyright (c) 2017-2025 Xendit
44

55
Permission is hereby granted, free of charge, to any person obtaining a copy
66
of this software and associated documentation files (the "Software"), to deal

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
The official Xendit Python SDK provides a simple and convenient way to call Xendit's REST API
66
in applications written in Python.
77

8-
* Package version: 6.0.0
8+
* Package version: 6.1.0
99

1010
## Requirements
1111

docs/InvoiceApi.md

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ create_invoice_request = CreateInvoiceRequest(
124124
should_authenticate_credit_card=True,
125125
currency="currency_example",
126126
reminder_time=3.14,
127-
local="local_example",
127+
locale="locale_example",
128128
reminder_time_unit="reminder_time_unit_example",
129129
items=[
130130
InvoiceItem(
@@ -147,8 +147,20 @@ create_invoice_request = CreateInvoiceRequest(
147147
allowed_bins=[
148148
"allowed_bins_example",
149149
],
150+
installment_configuration=ChannelPropertiesCardsInstallmentConfiguration(
151+
allow_full_payment=True,
152+
allowed_terms=[
153+
ChannelPropertiesCardsInstallmentConfigurationAllowedTermsInner(
154+
issuer="issuer_example",
155+
allowed_terms=[
156+
3.14,
157+
],
158+
),
159+
],
160+
),
150161
),
151162
),
163+
metadata={},
152164
) # CreateInvoiceRequest
153165
for_user_id = "62efe4c33e45694d63f585f0" # str | Business ID of the sub-account merchant (XP feature)
154166

docs/invoice/BankCode.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,20 @@ Representing the available bank channels used for invoice-related transactions.
2525

2626
* `CIMB` (value: `"CIMB"`)
2727

28+
* `VIETCAPITAL` (value: `"VIETCAPITAL"`)
29+
30+
* `WOORI` (value: `"WOORI"`)
31+
32+
* `PV` (value: `"PV"`)
33+
34+
* `MSB` (value: `"MSB"`)
35+
36+
* `VPB` (value: `"VPB"`)
37+
38+
* `BIDV` (value: `"BIDV"`)
39+
40+
* `CAKE` (value: `"CAKE"`)
41+
2842
* `BNC` (value: `"BNC"`)
2943

3044
* `HANA` (value: `"HANA"`)

docs/invoice/ChannelPropertiesCards.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ An object representing properties specific for credit card payment method.
77
| Name | Type | Required | Description | Examples |
88
|------------|:-------------:|:-------------:|-------------|:-------------:|
99
| **allowed_bins** | **[str]** | | An array of allowed BINs (6 or 8 digits) for credit card payments. | |
10+
| **installment_configuration** | [**ChannelPropertiesCardsInstallmentConfiguration**](ChannelPropertiesCardsInstallmentConfiguration.md) | | | |
1011

1112

1213
[[Back to README]](../../README.md)
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
# ChannelPropertiesCardsInstallmentConfiguration
2+
> xendit.invoice.model.ChannelPropertiesCardsInstallmentConfiguration
3+
4+
An object to pre-set cards installment for a specific invoice
5+
6+
## Properties
7+
| Name | Type | Required | Description | Examples |
8+
|------------|:-------------:|:-------------:|-------------|:-------------:|
9+
| **allow_full_payment** | **bool** | | Indicate whether full payment (without installment) is allowed | |
10+
| **allowed_terms** | [**[ChannelPropertiesCardsInstallmentConfigurationAllowedTermsInner]**](ChannelPropertiesCardsInstallmentConfigurationAllowedTermsInner.md) | | An object to set what kind (from specific bank / specific tenor) of cards installments will be available on a specific invoice | |
11+
12+
13+
[[Back to README]](../../README.md)
14+
15+
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
# ChannelPropertiesCardsInstallmentConfigurationAllowedTermsInner
2+
> xendit.invoice.model.ChannelPropertiesCardsInstallmentConfigurationAllowedTermsInner
3+
4+
5+
## Properties
6+
| Name | Type | Required | Description | Examples |
7+
|------------|:-------------:|:-------------:|-------------|:-------------:|
8+
| **issuer** | **str** | | The bank code of the installment provider / issuer | |
9+
| **allowed_terms** | **[float]** | | An array containing list of installment tenor available to choose | |
10+
11+
12+
[[Back to README]](../../README.md)
13+
14+

docs/invoice/CreateInvoiceRequest.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,11 +22,12 @@ An object representing for an invoice creation request.
2222
| **should_authenticate_credit_card** | **bool** | | Indicates whether credit card authentication is required. | |
2323
| **currency** | **str** | | The currency of the invoice. | |
2424
| **reminder_time** | **float** | | The reminder time. | |
25-
| **local** | **str** | | The local. | |
25+
| **locale** | **str** | | The default language to display. | |
2626
| **reminder_time_unit** | **str** | | The unit of the reminder time. | |
2727
| **items** | [**[InvoiceItem]**](InvoiceItem.md) | | An array of items included in the invoice. | |
2828
| **fees** | [**[InvoiceFee]**](InvoiceFee.md) | | An array of fees associated with the invoice. | |
2929
| **channel_properties** | [**ChannelProperties**](ChannelProperties.md) | | | |
30+
| **metadata** | **{str: (bool, date, datetime, dict, float, int, list, str, none_type)}** | | A free-format JSON for additional information that you may use. Object can be up to 50 keys, with key names up to 40 characters long and values up to 500 characters long. | |
3031

3132

3233
[[Back to README]](../../README.md)

docs/invoice/Invoice.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@ An object representing details for an invoice.
4040
| **customer_notification_preference** | [**NotificationPreference**](NotificationPreference.md) | | | |
4141
| **fees** | [**[InvoiceFee]**](InvoiceFee.md) | | An array of fees associated with the invoice. | |
4242
| **channel_properties** | [**ChannelProperties**](ChannelProperties.md) | | | |
43+
| **metadata** | **{str: (bool, date, datetime, dict, float, int, list, str, none_type)}** | | A free-format JSON for additional information that you may use. Object can be up to 50 keys, with key names up to 40 characters long and values up to 500 characters long. | |
4344

4445

4546
[[Back to README]](../../README.md)

docs/invoice/InvoiceCurrency.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,8 @@ Representing the currency used for an invoice.
1717

1818
* `PHP` (value: `"PHP"`)
1919

20+
* `MYR` (value: `"MYR"`)
21+
2022
* `XenditEnumDefaultFallback` (value: `UNKNOWN_ENUM_VALUE`)
2123

2224
If you encounter `UNKNOWN_ENUM_VALUE`, it means that this ENUM is unavailable in your current SDK version. Please upgrade to get the newest ENUM.

0 commit comments

Comments
 (0)