From 4b2307a65ae8cb506a6edf9059b14c4b181c1aeb Mon Sep 17 00:00:00 2001 From: yejia-stripe <90646909+yejia-stripe@users.noreply.github.com> Date: Fri, 9 Sep 2022 10:00:01 -0400 Subject: [PATCH] API Updates (#1543) Codegen for openapi v190 --- OPENAPI_VERSION | 2 +- issuing_card.go | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/OPENAPI_VERSION b/OPENAPI_VERSION index ffd0a4e351..3bdc7ecadb 100644 --- a/OPENAPI_VERSION +++ b/OPENAPI_VERSION @@ -1 +1 @@ -v189 \ No newline at end of file +v190 \ No newline at end of file diff --git a/issuing_card.go b/issuing_card.go index 83b98abf0c..24004dcfc8 100644 --- a/issuing_card.go +++ b/issuing_card.go @@ -161,6 +161,8 @@ type IssuingCardShippingParams struct { Name *string `form:"name"` // Phone number of the recipient of the shipment. PhoneNumber *string `form:"phone_number"` + // Whether a signature is required for card delivery. + RequireSignature *bool `form:"require_signature"` // Shipment service. Service *string `form:"service"` // Packaging options. @@ -239,6 +241,8 @@ type IssuingCardShipping struct { Name string `json:"name"` // The phone number of the receiver of the bulk shipment. This phone number will be provided to the shipping company, who might use it to contact the receiver in case of delivery issues. PhoneNumber string `json:"phone_number"` + // Whether a signature is required for card delivery. This feature is only supported for US users. Standard shipping service does not support signature on delivery. The default value for standard shipping service is false and for express and priority services is true. + RequireSignature bool `json:"require_signature"` // Shipment service, such as `standard` or `express`. Service IssuingCardShippingService `json:"service"` // The delivery status of the card.