Skip to content

Commit 440780a

Browse files
authored
Merge pull request #19 from payjp/sdk-update-2026-02-26-8adeb51
feat: Update SDK from generator (2026-02-26)
2 parents 8960338 + 2265868 commit 440780a

50 files changed

Lines changed: 307 additions & 36 deletions

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: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ A Python client library for the PAY.JP v2 API. This SDK provides a convenient wa
55
This Python package is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
66

77
- API version: 2.0.0
8-
- Package version: 1.0.5
8+
- Package version: 1.0.6
99
- Generator version: 7.14.0
1010
- Build package: org.openapitools.codegen.languages.PythonClientCodegen
1111

@@ -148,6 +148,7 @@ Class | Method | HTTP request | Description
148148

149149
## Documentation For Models
150150

151+
- [ApplePayConfigRequest](docs/ApplePayConfigRequest.md)
151152
- [BalanceListResponse](docs/BalanceListResponse.md)
152153
- [BalanceResponse](docs/BalanceResponse.md)
153154
- [BalanceState](docs/BalanceState.md)

docs/ApplePayConfigRequest.md

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
# ApplePayConfigRequest
2+
3+
4+
## Properties
5+
6+
Name | Type | Description | Notes
7+
------------ | ------------- | ------------- | -------------
8+
**display_preference** | [**DisplayPreferenceRequest**](DisplayPreferenceRequest.md) | | [optional]
9+
10+
## Example
11+
12+
```python
13+
from payjpv2.models.apple_pay_config_request import ApplePayConfigRequest
14+
15+
# TODO update the JSON string below
16+
json = "{}"
17+
# create an instance of ApplePayConfigRequest from a JSON string
18+
apple_pay_config_request_instance = ApplePayConfigRequest.from_json(json)
19+
# print the JSON string representation of the object
20+
print(ApplePayConfigRequest.to_json())
21+
22+
# convert the object into a dict
23+
apple_pay_config_request_dict = apple_pay_config_request_instance.to_dict()
24+
# create an instance of ApplePayConfigRequest from a dict
25+
apple_pay_config_request_from_dict = ApplePayConfigRequest.from_dict(apple_pay_config_request_dict)
26+
```
27+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
28+
29+

docs/CustomersApi.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ Name | Type | Description | Notes
9494
|-------------|-------------|------------------|
9595
**200** | Successful Response | - |
9696
**422** | Validation Error | - |
97-
**400** | Already Exists ID | - |
97+
**400** | Already Exists ID<br>Unsupported Payment Method Type | - |
9898
**404** | Not Found | - |
9999

100100
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)

docs/PaymentFlowCancelRequest.md

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

66
Name | Type | Description | Notes
77
------------ | ------------- | ------------- | -------------
8-
**cancellation_reason** | **str** | この PaymentFlow のキャンセル理由 | 値 | |:---| | **duplicate**: 重複した支払いである場合。 | | **fraudulent**: 不正な利用だと考えられる場合。 | | **requested_by_customer**: 顧客がキャンセルを要求した場合。 | | **abondoned**: 顧客が支払いを完了しなかった場合。 | | [optional]
8+
**cancellation_reason** | **str** | この PaymentFlow のキャンセル理由 | 値 | |:---| | **duplicate**: 重複した支払いである場合。 | | **fraudulent**: 不正な利用だと考えられる場合。 | | **requested_by_customer**: 顧客がキャンセルを要求した場合。 | | **abandoned**: 顧客が支払いを完了しなかった場合。 | | [optional]
99

1010
## Example
1111

docs/PaymentFlowConfirmRequest.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,9 @@ Name | Type | Description | Notes
88
**payment_method_id** | **str** | 支払い方法 ID。customer_id の指定が必須です。Customer が所持する PaymentMethod のみ指定できます。payment_method_id を指定せず、Customer に default_payment_method_id が設定されている場合はそちらが自動でセットされます。 | [optional]
99
**payment_method_options** | [**PaymentFlowPaymentMethodOptionsRequest**](PaymentFlowPaymentMethodOptionsRequest.md) | この PaymentFlow 固有の支払い方法の設定 | [optional]
1010
**payment_method_types** | [**List[PaymentMethodTypes]**](PaymentMethodTypes.md) | この PaymentFlow で使用できる支払い方法の種類のリスト。指定しない場合は、PAY.JP は支払い方法の設定から利用可能な支払い方法を動的に表示します。 | [optional]
11-
**capture_method** | [**CaptureMethod**](CaptureMethod.md) | 支払いの確定方法を指定します。 | 値 | |:---| | **automatic**: (デフォルト) 顧客が支払いを承認すると、自動的に確定させます。 | | **manual**: 顧客が支払いを承認すると一旦確定を保留し、後で Payment Flow の Capture API を使用して確定します。(すべての支払い方法がこれをサポートしているわけではありません)。 | | [optional]
11+
**capture_method** | [**CaptureMethod**](CaptureMethod.md) | | [optional]
1212
**return_url** | **str** | 顧客が支払いを完了後かキャンセルした後にリダイレクトされる URL。アプリにリダイレクトしたい場合は URI Scheme を指定できます。 | [optional]
13-
**description** | **str** | オブジェクトにセットする任意の文字列。ユーザーには表示されません。 | [optional]
13+
**description** | **str** | オブジェクトにセットする任意の文字列。 | [optional]
1414

1515
## Example
1616

docs/PaymentFlowCreateRequest.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ Name | Type | Description | Notes
1414
**capture_method** | [**CaptureMethod**](CaptureMethod.md) | 支払いの確定方法を指定します。 | 値 | |:---| | **automatic**: (デフォルト) 顧客が支払いを承認すると、自動的に確定させます。 | | **manual**: 顧客が支払いを承認すると一旦確定を保留し、後で Payment Flow の Capture API を使用して確定します。(すべての支払い方法がこれをサポートしているわけではありません)。 | | [optional]
1515
**confirm** | **bool** | 「true」に設定すると、この PaymentFlow を直ちに確定しようと試みます。 | [optional] [default to False]
1616
**return_url** | **str** | 顧客が支払いを完了後かキャンセルした後にリダイレクトされる URL。アプリにリダイレクトしたい場合は URI Scheme を指定できます。confirm=true の場合のみ指定できます。 | [optional]
17-
**description** | **str** | オブジェクトにセットする任意の文字列。ユーザーには表示されません。 | [optional]
17+
**description** | **str** | オブジェクトにセットする任意の文字列。 | [optional]
1818
**metadata** | [**Dict[str, MetadataValue]**](MetadataValue.md) | キーバリューの任意のデータを格納できます。20件まで登録可能で、空文字列を指定するとそのキーを削除できます。<a href=\"https://docs.pay.jp/v2/guide/developers/metadata\">詳細はメタデータのドキュメントを参照してください。</a> | [optional]
1919

2020
## Example

docs/PaymentFlowDataRequest.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
Name | Type | Description | Notes
77
------------ | ------------- | ------------- | -------------
88
**capture_method** | [**CaptureMethod**](CaptureMethod.md) | 支払いの確定方法を指定します。 | 指定できる値 | |:---| | **automatic**: 顧客が支払いを承認すると自動的に確定します。 | | **manual**: 顧客が支払いを承認すると一旦確定を保留し、後で Payment Flow の Capture API を使用して確定します。(すべての支払い方法がこれをサポートしているわけではありません)。 | | [optional]
9+
**description** | **str** | | [optional]
910
**metadata** | [**Dict[str, MetadataValue]**](MetadataValue.md) | キーバリューの任意のデータを格納できます。20件まで登録可能で、空文字列を指定するとそのキーを削除できます。<a href=\"https://docs.pay.jp/v2/guide/developers/metadata\">詳細はメタデータのドキュメントを参照してください。</a> | [optional]
1011

1112
## Example

docs/PaymentFlowUpdateRequest.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ Name | Type | Description | Notes
1111
**payment_method_options** | [**PaymentFlowPaymentMethodOptionsRequest**](PaymentFlowPaymentMethodOptionsRequest.md) | この PaymentFlow 固有の支払い方法の設定 | [optional]
1212
**payment_method_types** | [**List[PaymentMethodTypes]**](PaymentMethodTypes.md) | この PaymentFlow で使用できる支払い方法の種類のリスト。指定しない場合は、PAY.JP は支払い方法の設定から利用可能な支払い方法を動的に表示します。 | [optional]
1313
**return_url** | **str** | 顧客が支払いを完了後かキャンセルした後にリダイレクトされる URL。アプリにリダイレクトしたい場合は URI Scheme を指定できます。 | [optional]
14-
**description** | **str** | オブジェクトにセットする任意の文字列。ユーザーには表示されません。 | [optional]
14+
**description** | **str** | オブジェクトにセットする任意の文字列。 | [optional]
1515
**metadata** | [**Dict[str, MetadataValue]**](MetadataValue.md) | キーバリューの任意のデータを格納できます。20件まで登録可能で、空文字列を指定するとそのキーを削除できます。<a href=\"https://docs.pay.jp/v2/guide/developers/metadata\">詳細はメタデータのドキュメントを参照してください。</a> | [optional]
1616

1717
## Example

docs/PaymentFlowsApi.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -189,6 +189,7 @@ Name | Type | Description | Notes
189189
**422** | Validation Error | - |
190190
**404** | Not Found | - |
191191
**400** | Invalid Status | - |
192+
**402** | Payment Failed | - |
192193

193194
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
194195

@@ -278,6 +279,7 @@ Name | Type | Description | Notes
278279
**422** | Validation Error | - |
279280
**404** | Not Found | - |
280281
**400** | Invalid Status<br>Missing Payment Method<br>Detached Payment Method Not Usable<br>Payment Method Not Owned By Customer<br>Customer Required For Payment Method<br>Payment Method Type Not Allowed | - |
282+
**402** | Payment Failed | - |
281283

282284
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
283285

@@ -365,6 +367,7 @@ Name | Type | Description | Notes
365367
**422** | Validation Error | - |
366368
**404** | Not Found | - |
367369
**400** | Detached Payment Method Not Usable<br>Payment Method Not Owned By Customer<br>Payment Method Type Not Allowed | - |
370+
**402** | Payment Failed | - |
368371

369372
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
370373

docs/PaymentMethodConfigurationDetailsResponse.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ Name | Type | Description | Notes
1212
**name** | **str** | |
1313
**paypay** | [**PaymentMethodConfigurationSettingResponse**](PaymentMethodConfigurationSettingResponse.md) | PayPay の設定 |
1414
**card** | [**PaymentMethodConfigurationSettingResponse**](PaymentMethodConfigurationSettingResponse.md) | カードの設定 |
15+
**apple_pay** | [**PaymentMethodConfigurationSettingResponse**](PaymentMethodConfigurationSettingResponse.md) | Apple Pay の設定 |
1516

1617
## Example
1718

0 commit comments

Comments
 (0)