Skip to content

Commit 84f0d3a

Browse files
Merge pull request #45 from payjp/sdk-update-2026-04-02-9258468
feat: Update SDK from generator (2026-04-02)
2 parents 66905fc + 858f87e commit 84f0d3a

3 files changed

Lines changed: 16 additions & 8 deletions

File tree

client/types.gen.ts

Lines changed: 14 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -701,9 +701,10 @@ export type CheckoutSessionPaymentMethodOptionsCardRequest = {
701701
* | 指定できる値 |
702702
* |:---|
703703
* | **if_available**: オーソリ期間の延長が可能な場合に延長要求を行います。 |
704+
* | **must_extend**: オーソリ期間の延長を必須とします。延長できない場合はエラーを返します。 |
704705
* | **never**: オーソリ期間の延長要求を行いません。 |
705706
*/
706-
request_extended_authorization?: 'if_available' | 'never';
707+
request_extended_authorization?: 'if_available' | 'must_extend' | 'never';
707708
/**
708709
* Request Three D Secure
709710
*
@@ -1464,9 +1465,10 @@ export type PaymentFlowPaymentMethodOptionsCardRequest = {
14641465
* | 値 |
14651466
* |:---|
14661467
* | **if_available**: オーソリ期間の延長が可能な場合に延長要求を行います。 |
1468+
* | **must_extend**: オーソリ期間の延長を必須とします。延長できない場合はエラーを返します。 |
14671469
* | **never**: オーソリ期間の延長要求を行いません。 |
14681470
*/
1469-
request_extended_authorization?: 'if_available' | 'never';
1471+
request_extended_authorization?: 'if_available' | 'must_extend' | 'never';
14701472
/**
14711473
* Request Three D Secure
14721474
*
@@ -1636,6 +1638,12 @@ export type PaymentFlowResponse = {
16361638
* キャンセル日時 (UTC, ISO 8601 形式)
16371639
*/
16381640
canceled_at: string | null;
1641+
/**
1642+
* Expired At
1643+
*
1644+
* オーソリの有効期限 (UTC, ISO 8601 形式)
1645+
*/
1646+
expired_at?: string | null;
16391647
/**
16401648
* Metadata
16411649
*
@@ -4751,7 +4759,7 @@ export type CreatePaymentFlowData = {
47514759

47524760
export type CreatePaymentFlowErrors = {
47534761
/**
4754-
* Missing Payment Method<br>Detached Payment Method Not Usable<br>Payment Method Not Owned By Customer<br>Payment Method Type Not Allowed<br>Apple Pay Disabled In Livemode<br>Invalid Apple Pay Token<br>Unacceptable Brand On Apple Pay
4762+
* Missing Payment Method<br>Detached Payment Method Not Usable<br>Payment Method Not Owned By Customer<br>Payment Method Type Not Allowed<br>Extended Authorization Not Available<br>Apple Pay Disabled In Livemode<br>Invalid Apple Pay Token<br>Unacceptable Brand On Apple Pay
47554763
*/
47564764
400: ErrorResponse;
47574765
/**
@@ -4837,7 +4845,7 @@ export type CapturePaymentFlowData = {
48374845

48384846
export type CapturePaymentFlowErrors = {
48394847
/**
4840-
* Invalid Status
4848+
* Invalid Status<br>Payment Flow Expired
48414849
*/
48424850
400: ErrorResponse;
48434851
/**
@@ -4882,7 +4890,7 @@ export type ConfirmPaymentFlowData = {
48824890

48834891
export type ConfirmPaymentFlowErrors = {
48844892
/**
4885-
* 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<br>Apple Pay Disabled In Livemode<br>Invalid Apple Pay Token<br>Unacceptable Brand On Apple Pay
4893+
* 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<br>Extended Authorization Not Available<br>Apple Pay Disabled In Livemode<br>Invalid Apple Pay Token<br>Unacceptable Brand On Apple Pay
48864894
*/
48874895
400: ErrorResponse;
48884896
/**
@@ -5346,7 +5354,7 @@ export type CreateSetupFlowData = {
53465354

53475355
export type CreateSetupFlowErrors = {
53485356
/**
5349-
* Invalid Request
5357+
* Invalid Payment Method Types
53505358
*/
53515359
400: ErrorResponse;
53525360
/**

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@payjp/payjpv2",
3-
"version": "1.0.9",
3+
"version": "1.0.10",
44
"type": "module",
55
"main": "dist/index.cjs",
66
"module": "dist/index.mjs",

payjpv2.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import {
55
type Client,
66
} from "./client/client";
77

8-
const BINDINGS_VERSION = '1.0.9';
8+
const BINDINGS_VERSION = '1.0.10';
99
const DEFAULT_BASE_URL = "https://api.pay.jp";
1010

1111
export interface ClientConfig {

0 commit comments

Comments
 (0)