Skip to content

Commit 315f641

Browse files
author
xendit-devx-bot
committed
Generated Xendit php SDK
1 parent a655165 commit 315f641

File tree

182 files changed

+2373
-377
lines changed

Some content is hidden

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

182 files changed

+2373
-377
lines changed

.openapi-generator/FILES

+9
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,10 @@ docs/PaymentRequest/Capture.md
99
docs/PaymentRequest/CaptureListResponse.md
1010
docs/PaymentRequest/CaptureParameters.md
1111
docs/PaymentRequest/Card.md
12+
docs/PaymentRequest/CardChannelCode.md
1213
docs/PaymentRequest/CardChannelProperties.md
1314
docs/PaymentRequest/CardInformation.md
15+
docs/PaymentRequest/CardParameters.md
1416
docs/PaymentRequest/CardVerificationResults.md
1517
docs/PaymentRequest/CardVerificationResultsThreeDSecure.md
1618
docs/PaymentRequest/DirectDebit.md
@@ -60,6 +62,7 @@ docs/PaymentRequest/PaymentRequestParametersChannelProperties.md
6062
docs/PaymentRequest/PaymentRequestParametersChannelPropertiesAllOf.md
6163
docs/PaymentRequest/PaymentRequestShippingInformation.md
6264
docs/PaymentRequest/PaymentRequestStatus.md
65+
docs/PaymentRequest/PaymentSimulation.md
6366
docs/PaymentRequest/QRCode.md
6467
docs/PaymentRequest/QRCodeChannelCode.md
6568
docs/PaymentRequest/QRCodeChannelProperties.md
@@ -80,8 +83,10 @@ lib/PaymentRequest/Capture.php
8083
lib/PaymentRequest/CaptureListResponse.php
8184
lib/PaymentRequest/CaptureParameters.php
8285
lib/PaymentRequest/Card.php
86+
lib/PaymentRequest/CardChannelCode.php
8387
lib/PaymentRequest/CardChannelProperties.php
8488
lib/PaymentRequest/CardInformation.php
89+
lib/PaymentRequest/CardParameters.php
8590
lib/PaymentRequest/CardVerificationResults.php
8691
lib/PaymentRequest/CardVerificationResultsThreeDSecure.php
8792
lib/PaymentRequest/DirectDebit.php
@@ -132,6 +137,7 @@ lib/PaymentRequest/PaymentRequestParametersChannelProperties.php
132137
lib/PaymentRequest/PaymentRequestParametersChannelPropertiesAllOf.php
133138
lib/PaymentRequest/PaymentRequestShippingInformation.php
134139
lib/PaymentRequest/PaymentRequestStatus.php
140+
lib/PaymentRequest/PaymentSimulation.php
135141
lib/PaymentRequest/QRCode.php
136142
lib/PaymentRequest/QRCodeChannelCode.php
137143
lib/PaymentRequest/QRCodeChannelProperties.php
@@ -148,8 +154,10 @@ test/Api/PaymentRequestApiTest.php
148154
test/Model/PaymentRequest/CaptureListResponseTest.php
149155
test/Model/PaymentRequest/CaptureParametersTest.php
150156
test/Model/PaymentRequest/CaptureTest.php
157+
test/Model/PaymentRequest/CardChannelCodeTest.php
151158
test/Model/PaymentRequest/CardChannelPropertiesTest.php
152159
test/Model/PaymentRequest/CardInformationTest.php
160+
test/Model/PaymentRequest/CardParametersTest.php
153161
test/Model/PaymentRequest/CardTest.php
154162
test/Model/PaymentRequest/CardVerificationResultsTest.php
155163
test/Model/PaymentRequest/CardVerificationResultsThreeDSecureTest.php
@@ -200,6 +208,7 @@ test/Model/PaymentRequest/PaymentRequestParametersTest.php
200208
test/Model/PaymentRequest/PaymentRequestShippingInformationTest.php
201209
test/Model/PaymentRequest/PaymentRequestStatusTest.php
202210
test/Model/PaymentRequest/PaymentRequestTest.php
211+
test/Model/PaymentRequest/PaymentSimulationTest.php
203212
test/Model/PaymentRequest/QRCodeChannelCodeTest.php
204213
test/Model/PaymentRequest/QRCodeChannelPropertiesTest.php
205214
test/Model/PaymentRequest/QRCodeParametersTest.php

README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
The official Xendit PHP SDK provides a simple and convenient way to call Xendit's REST API
66
in applications written in PHP.
77

8-
* Package version: 4.3.0
8+
* Package version: 5.0.0
99

1010
# Getting Started
1111

@@ -28,7 +28,7 @@ To install the bindings via [Composer](https://getcomposer.org/), add the follow
2828
}
2929
],
3030
"require": {
31-
"xendit/xendit-php": "4.3.0"
31+
"xendit/xendit-php": "5.0.0"
3232
}
3333
}
3434
```

composer.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "xendit/xendit-php",
3-
"version": "4.3.0",
3+
"version": "5.0.0",
44
"description": "Xendit PHP SDK",
55
"keywords": [
66
"openapitools",

docs/BalanceApi.md

+4-2
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ All URIs are relative to https://api.xendit.co, except if the operation defines
2626
## `getBalance()` Function
2727

2828
```php
29-
getBalance($account_type, $currency, $for_user_id): \BalanceAndTransaction\Balance
29+
getBalance($account_type, $currency, $at_timestamp, $for_user_id): \BalanceAndTransaction\Balance
3030
```
3131

3232
Retrieves balances for a business, default to CASH type
@@ -44,6 +44,7 @@ Retrieves balances for a business, default to CASH type
4444
|-------------|:-------------:|:-------------:|-------------|
4545
| **account_type** | **string** | | ['CASH'] |
4646
| **currency** | **string** | | |
47+
| **at_timestamp** | **\DateTime** | | |
4748
| **for_user_id** | **string** | | |
4849

4950
### Usage Example
@@ -59,10 +60,11 @@ Configuration::setXenditKey("YOUR_API_KEY_HERE");
5960
$apiInstance = new BalanceApi();
6061
$account_type = "CASH"; // string | The selected balance type
6162
$currency = "IDR"; // string | Currency for filter for customers with multi currency accounts
63+
$at_timestamp = 2020-06-19T00:00+07:00; // \DateTime | The timestamp you want to use as the limit for balance retrieval
6264
$for_user_id = "5dbf20d7c8eb0c0896f811b6"; // string | The sub-account user-id that you want to make this transaction for. This header is only used if you have access to xenPlatform. See xenPlatform for more information
6365

6466
try {
65-
$result = $apiInstance->getBalance($account_type, $currency, $for_user_id);
67+
$result = $apiInstance->getBalance($account_type, $currency, $at_timestamp, $for_user_id);
6668
print_r($result);
6769
} catch (\Xendit\XenditSdkException $e) {
6870
echo 'Exception when calling BalanceApi->getBalance: ', $e->getMessage(), PHP_EOL;

docs/PaymentMethod/Card.md

+2-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,8 @@ use Xendit\PaymentMethod\Card;
99

1010
| Name | Type | Required | Description | Examples |
1111
|------------|:-------------:|:-------------:|-------------|:-------------:|
12-
| **currency** | **string** | ☑️ | | null |
12+
| **channel_code** | [**CardChannelCode**](CardChannelCode.md) | | | null |
13+
| **currency** | **string** | | | null |
1314
| **channel_properties** | [**CardChannelProperties**](CardChannelProperties.md) | ☑️ | | null |
1415
| **card_information** | [**TokenizedCardInformation**](TokenizedCardInformation.md) | | | null |
1516
| **card_verification_results** | [**CardVerificationResults**](CardVerificationResults.md) | | | null |

docs/PaymentMethod/CardChannelCode.md

+18
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
# # CardChannelCode
2+
Card Channel Code
3+
4+
```php
5+
use Xendit\PaymentMethod\CardChannelCode;
6+
```
7+
8+
9+
## Enum
10+
11+
12+
* `GPN` (value: `'GPN'`)
13+
14+
* `XENDIT_ENUM_DEFAULT_FALLBACK` (value: `UNKNOWN_ENUM_VALUE`)
15+
16+
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.
17+
18+
[[Back to README]](../../README.md)

docs/PaymentMethod/CardChannelProperties.md

+1
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ use Xendit\PaymentMethod\CardChannelProperties;
1313
| **success_return_url** | **string** | | URL where the end-customer is redirected if the authorization is successful | https://webhook.site/f4b755f5-4770-4a11-8c72-cc0b3cc6b882 |
1414
| **failure_return_url** | **string** | | URL where the end-customer is redirected if the authorization failed | https://webhook.site/f4b755f5-4770-4a11-8c72-cc0b3cc6b882 |
1515
| **cardonfile_type** | **string** | | Type of “credential-on-file” / “card-on-file” payment being made. Indicate that this payment uses a previously linked Payment Method for charging. | RECURRING |
16+
| **expires_at** | **\DateTime** | | | null |
1617

1718

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

docs/PaymentMethod/DirectDebitChannelCode.md

+6
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,10 @@ use Xendit\PaymentMethod\DirectDebitChannelCode;
1717

1818
* `BPI` (value: `'BPI'`)
1919

20+
* `AUTODEBIT_BPI` (value: `'AUTODEBIT_BPI'`)
21+
22+
* `BPI_RECURRING` (value: `'BPI_RECURRING'`)
23+
2024
* `BRI` (value: `'BRI'`)
2125

2226
* `BNI` (value: `'BNI'`)
@@ -55,6 +59,8 @@ use Xendit\PaymentMethod\DirectDebitChannelCode;
5559

5660
* `AUTODEBIT_UBP` (value: `'AUTODEBIT_UBP'`)
5761

62+
* `UBP_DEBIT_PULL` (value: `'UBP_DEBIT_PULL'`)
63+
5864
* `AFFIN_FPX` (value: `'AFFIN_FPX'`)
5965

6066
* `AGRO_FPX` (value: `'AGRO_FPX'`)

docs/PaymentMethod/EWalletChannelCode.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ use Xendit\PaymentMethod\EWalletChannelCode;
4949

5050
* `ALIPAY` (value: `'ALIPAY'`)
5151

52-
* `TOUCHANDGO` (value: `'TOUCHANDGO'`)
52+
* `TOUCHNGO` (value: `'TOUCHNGO'`)
5353

5454
* `XENDIT_ENUM_DEFAULT_FALLBACK` (value: `UNKNOWN_ENUM_VALUE`)
5555

docs/PaymentMethod/EWalletChannelProperties.md

+1
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ use Xendit\PaymentMethod\EWalletChannelProperties;
1212
| **success_return_url** | **string** | | URL where the end-customer is redirected if the authorization is successful | https://webhook.site/f4b755f5-4770-4a11-8c72-cc0b3cc6b882 |
1313
| **failure_return_url** | **string** | | URL where the end-customer is redirected if the authorization failed | https://webhook.site/f4b755f5-4770-4a11-8c72-cc0b3cc6b882 |
1414
| **cancel_return_url** | **string** | | URL where the end-customer is redirected if the authorization cancelled | https://webhook.site/f4b755f5-4770-4a11-8c72-cc0b3cc6b882 |
15+
| **pending_return_url** | **string** | | URL where the end-customer is redirected if the authorization is pending | https://webhook.site/f4b755f5-4770-4a11-8c72-cc0b3cc6b882 |
1516
| **mobile_number** | **string** | | Mobile number of customer in E.164 format (e.g. +628123123123). For OVO one time payment use only. | +628123123123 |
1617
| **redeem_points** | **string** | | REDEEM_NONE will not use any point, REDEEM_ALL will use all available points before cash balance is used. For OVO and ShopeePay tokenized payment use only. | REDEEM_NONE |
1718
| **cashtag** | **string** | | Available for JENIUSPAY only | $abc1234 |

docs/PaymentMethod/QRCodeChannelCode.md

+2
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,8 @@ use Xendit\PaymentMethod\QRCodeChannelCode;
1919

2020
* `LINKAJA` (value: `'LINKAJA'`)
2121

22+
* `XENDIT` (value: `'XENDIT'`)
23+
2224
* `XENDIT_ENUM_DEFAULT_FALLBACK` (value: `UNKNOWN_ENUM_VALUE`)
2325

2426
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.

docs/PaymentMethod/TokenizedCardInformation.md

+11-9
Original file line numberDiff line numberDiff line change
@@ -9,16 +9,18 @@ use Xendit\PaymentMethod\TokenizedCardInformation;
99

1010
| Name | Type | Required | Description | Examples |
1111
|------------|:-------------:|:-------------:|-------------|:-------------:|
12-
| **token_id** | **string** | ☑️ | | null |
13-
| **masked_card_number** | **string** | ☑️ | 1st 6 and last 4 digits of the card | null |
12+
| **token_id** | **string** | | | null |
13+
| **masked_card_number** | **string** | | 1st 6 and last 4 digits of the card | null |
1414
| **cardholder_name** | **string** | | Cardholder name is optional but recommended for 3DS 2 / AVS verification | null |
15-
| **expiry_month** | **string** | ☑️ | Card expiry month in MM format | null |
16-
| **expiry_year** | **string** | ☑️ | Card expiry month in YY format | null |
17-
| **fingerprint** | **string** | ☑️ | Xendit-generated identifier for the unique card number. Multiple payment method objects can be created for the same account - e.g. if the user first creates a one-time payment request, and then later on creates a multiple-use payment method using the same account. The fingerprint helps to identify the unique account being used. | null |
18-
| **type** | **string** | ☑️ | Whether the card is a credit or debit card | null |
19-
| **network** | **string** | ☑️ | Card network - VISA, MASTERCARD, JCB, AMEX, DISCOVER, BCA | null |
20-
| **country** | **string** | ☑️ | Country where the card was issued ISO 3166-1 Alpha-2 | null |
21-
| **issuer** | **string** | ☑️ | Issuer of the card, most often an issuing bank For example, “BCA”, “MANDIRI” | null |
15+
| **expiry_month** | **string** | | Card expiry month in MM format | null |
16+
| **expiry_year** | **string** | | Card expiry month in YY format | null |
17+
| **fingerprint** | **string** | | Xendit-generated identifier for the unique card number. Multiple payment method objects can be created for the same account - e.g. if the user first creates a one-time payment request, and then later on creates a multiple-use payment method using the same account. The fingerprint helps to identify the unique account being used. | null |
18+
| **type** | **string** | | Whether the card is a credit or debit card | null |
19+
| **network** | **string** | | Card network - VISA, MASTERCARD, JCB, AMEX, DISCOVER, BCA | null |
20+
| **country** | **string** | | Country where the card was issued ISO 3166-1 Alpha-2 | null |
21+
| **issuer** | **string** | | Issuer of the card, most often an issuing bank For example, “BCA”, “MANDIRI” | null |
22+
| **card_number** | **string** | | | null |
23+
| **one_time_token** | **string** | | | null |
2224

2325

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

docs/PaymentMethod/VirtualAccountChannelCode.md

+6
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,12 @@ use Xendit\PaymentMethod\VirtualAccountChannelCode;
4141

4242
* `AMBANK` (value: `'AMBANK'`)
4343

44+
* `BNC` (value: `'BNC'`)
45+
46+
* `HANA` (value: `'HANA'`)
47+
48+
* `MUAMALAT` (value: `'MUAMALAT'`)
49+
4450
* `XENDIT_ENUM_DEFAULT_FALLBACK` (value: `UNKNOWN_ENUM_VALUE`)
4551

4652
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.

docs/PaymentRequest/Card.md

+3-2
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,10 @@ use Xendit\PaymentRequest\Card;
99

1010
| Name | Type | Required | Description | Examples |
1111
|------------|:-------------:|:-------------:|-------------|:-------------:|
12-
| **currency** | [**PaymentRequestCurrency**](PaymentRequestCurrency.md) | ☑️ | | null |
12+
| **channel_code** | [**CardChannelCode**](CardChannelCode.md) | | | null |
13+
| **currency** | [**PaymentRequestCurrency**](PaymentRequestCurrency.md) | | | null |
1314
| **channel_properties** | [**CardChannelProperties**](CardChannelProperties.md) | ☑️ | | null |
14-
| **card_information** | [**CardInformation**](CardInformation.md) | ☑️ | | null |
15+
| **card_information** | [**CardInformation**](CardInformation.md) | | | null |
1516
| **card_verification_results** | [**CardVerificationResults**](CardVerificationResults.md) | | | null |
1617

1718

+18
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
# # CardChannelCode
2+
Card Channel Code
3+
4+
```php
5+
use Xendit\PaymentRequest\CardChannelCode;
6+
```
7+
8+
9+
## Enum
10+
11+
12+
* `GPN` (value: `'GPN'`)
13+
14+
* `XENDIT_ENUM_DEFAULT_FALLBACK` (value: `UNKNOWN_ENUM_VALUE`)
15+
16+
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.
17+
18+
[[Back to README]](../../README.md)

docs/PaymentRequest/CardChannelProperties.md

+1
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ use Xendit\PaymentRequest\CardChannelProperties;
1414
| **failure_return_url** | **string** | | URL where the end-customer is redirected if the authorization failed | https://webhook.site/f4b755f5-4770-4a11-8c72-cc0b3cc6b882 |
1515
| **cardonfile_type** | **string** | | Type of “credential-on-file” / “card-on-file” payment being made. Indicate that this payment uses a previously linked Payment Method for charging. | RECURRING |
1616
| **merchant_id_tag** | **string** | | Tag for a Merchant ID that you want to associate this payment with. For merchants using their own MIDs to specify which MID they want to use | null |
17+
| **expires_at** | **\DateTime** | | | null |
1718

1819

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

docs/PaymentRequest/CardInformation.md

+6-4
Original file line numberDiff line numberDiff line change
@@ -9,16 +9,18 @@ use Xendit\PaymentRequest\CardInformation;
99

1010
| Name | Type | Required | Description | Examples |
1111
|------------|:-------------:|:-------------:|-------------|:-------------:|
12-
| **token_id** | **string** | ☑️ | | null |
13-
| **masked_card_number** | **string** | ☑️ | 1st 6 and last 4 digits of the card | null |
14-
| **expiry_month** | **string** | ☑️ | Card expiry month in MM format | null |
15-
| **expiry_year** | **string** | ☑️ | Card expiry month in YY format | null |
12+
| **token_id** | **string** | | | null |
13+
| **masked_card_number** | **string** | | 1st 6 and last 4 digits of the card | null |
14+
| **expiry_month** | **string** | | Card expiry month in MM format | null |
15+
| **expiry_year** | **string** | | Card expiry month in YY format | null |
1616
| **cardholder_name** | **string** | | Cardholder name | null |
1717
| **fingerprint** | **string** | | | null |
1818
| **type** | **string** | | | null |
1919
| **network** | **string** | | | null |
2020
| **country** | **string** | | | null |
2121
| **issuer** | **string** | | | null |
22+
| **card_number** | **string** | | | null |
23+
| **one_time_token** | **string** | | | null |
2224

2325

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

docs/PaymentRequest/CardParameters.md

+16
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
# # CardParameters
2+
3+
4+
```php
5+
use Xendit\PaymentRequest\CardParameters;
6+
```
7+
8+
## Properties
9+
10+
| Name | Type | Required | Description | Examples |
11+
|------------|:-------------:|:-------------:|-------------|:-------------:|
12+
| **channel_properties** | [**CardChannelProperties**](CardChannelProperties.md) | ☑️ | | null |
13+
| **card_information** | [**CardInformation**](CardInformation.md) | | | null |
14+
15+
16+
[[Back to README]](../../README.md)

docs/PaymentRequest/DirectDebitChannelCode.md

+35-1
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,8 @@ use Xendit\PaymentRequest\DirectDebitChannelCode;
2121

2222
* `BPI` (value: `'BPI'`)
2323

24+
* `BPI_RECURRING` (value: `'BPI_RECURRING'`)
25+
2426
* `BDO` (value: `'BDO'`)
2527

2628
* `CIMBNIAGA` (value: `'CIMBNIAGA'`)
@@ -31,7 +33,9 @@ use Xendit\PaymentRequest\DirectDebitChannelCode;
3133

3234
* `UBP` (value: `'UBP'`)
3335

34-
* `AUTODEBIT_UBP` (value: `'AUTODEBIT_UBP'`)
36+
* `UBP_EADA` (value: `'UBP_EADA'`)
37+
38+
* `UBP_DEBIT_PULL` (value: `'UBP_DEBIT_PULL'`)
3539

3640
* `CHINABANK` (value: `'CHINABANK'`)
3741

@@ -135,6 +139,36 @@ use Xendit\PaymentRequest\DirectDebitChannelCode;
135139

136140
* `UOB_FPX_BUSINESS` (value: `'UOB_FPX_BUSINESS'`)
137141

142+
* `BDO_ONLINE_BANKING` (value: `'BDO_ONLINE_BANKING'`)
143+
144+
* `BPI_ONLINE_BANKING` (value: `'BPI_ONLINE_BANKING'`)
145+
146+
* `UNIONBANK_ONLINE_BANKING` (value: `'UNIONBANK_ONLINE_BANKING'`)
147+
148+
* `BOC_ONLINE_BANKING` (value: `'BOC_ONLINE_BANKING'`)
149+
150+
* `CHINABANK_ONLINE_BANKING` (value: `'CHINABANK_ONLINE_BANKING'`)
151+
152+
* `INSTAPAY_ONLINE_BANKING` (value: `'INSTAPAY_ONLINE_BANKING'`)
153+
154+
* `LANDBANK_ONLINE_BANKING` (value: `'LANDBANK_ONLINE_BANKING'`)
155+
156+
* `MAYBANK_ONLINE_BANKING` (value: `'MAYBANK_ONLINE_BANKING'`)
157+
158+
* `METROBANK_ONLINE_BANKING` (value: `'METROBANK_ONLINE_BANKING'`)
159+
160+
* `PNB_ONLINE_BANKING` (value: `'PNB_ONLINE_BANKING'`)
161+
162+
* `PSBANK_ONLINE_BANKING` (value: `'PSBANK_ONLINE_BANKING'`)
163+
164+
* `PESONET_ONLINE_BANKING` (value: `'PESONET_ONLINE_BANKING'`)
165+
166+
* `RCBC_ONLINE_BANKING` (value: `'RCBC_ONLINE_BANKING'`)
167+
168+
* `ROBINSONS_BANK_ONLINE_BANKING` (value: `'ROBINSONS_BANK_ONLINE_BANKING'`)
169+
170+
* `SECURITY_BANK_ONLINE_BANKING` (value: `'SECURITY_BANK_ONLINE_BANKING'`)
171+
138172
* `XENDIT_ENUM_DEFAULT_FALLBACK` (value: `UNKNOWN_ENUM_VALUE`)
139173

140174
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.

docs/PaymentRequest/DirectDebitChannelProperties.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,14 +9,14 @@ use Xendit\PaymentRequest\DirectDebitChannelProperties;
99

1010
| Name | Type | Required | Description | Examples |
1111
|------------|:-------------:|:-------------:|-------------|:-------------:|
12+
| **email** | **string** | | Email address of the customer that is registered to the partner channel | [email protected] |
1213
| **mobile_number** | **string** | | Mobile number of the customer registered to the partner channel | +62818555988 |
1314
| **success_return_url** | **string** | | | null |
1415
| **failure_return_url** | **string** | | | null |
1516
| **identity_document_number** | **string** | | | null |
1617
| **account_number** | **string** | | | 1234567890 |
1718
| **card_last_four** | **string** | | Last four digits of the debit card | 8888 |
1819
| **card_expiry** | **string** | | Expiry month and year of the debit card (in MM/YY format) | 06/24 |
19-
| **email** | **string** | | Email address of the customer that is registered to the partner channel | [email protected] |
2020

2121

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

docs/PaymentRequest/DirectDebitChannelPropertiesBankRedirect.md

+1
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ use Xendit\PaymentRequest\DirectDebitChannelPropertiesBankRedirect;
99

1010
| Name | Type | Required | Description | Examples |
1111
|------------|:-------------:|:-------------:|-------------|:-------------:|
12+
| **email** | **string** | | | null |
1213
| **mobile_number** | **string** | | Mobile number of the customer that is registered to channel | null |
1314
| **success_return_url** | **string** | | | null |
1415
| **failure_return_url** | **string** | | | null |

0 commit comments

Comments
 (0)