Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add missing verify with micro-deposits next action #1562

Merged
merged 3 commits into from
Jan 20, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 5 additions & 3 deletions paymentintent.go
Original file line number Diff line number Diff line change
Expand Up @@ -78,9 +78,11 @@ type PaymentIntentNextActionType string

// List of values that PaymentIntentNextActionType can take
const (
PaymentIntentNextActionTypeAlipayHandleRedirect PaymentIntentNextActionType = "alipay_handle_redirect"
PaymentIntentNextActionTypeOXXODisplayDetails PaymentIntentNextActionType = "oxxo_display_details"
PaymentIntentNextActionTypeRedirectToURL PaymentIntentNextActionType = "redirect_to_url"
PaymentIntentNextActionTypeAlipayHandleRedirect PaymentIntentNextActionType = "alipay_handle_redirect"
PaymentIntentNextActionTypeOXXODisplayDetails PaymentIntentNextActionType = "oxxo_display_details"
PaymentIntentNextActionTypeRedirectToURL PaymentIntentNextActionType = "redirect_to_url"
PaymentIntentNextActionTypeUseStripeSDK PaymentIntentNextActionType = "use_stripe_sdk"
PaymentIntentNextActionTypeVerifyWithMicrodeposits PaymentIntentNextActionType = "verify_with_microdeposits"
)

// The type of the microdeposit sent to the customer. Used to distinguish between different verification methods.
Expand Down
6 changes: 5 additions & 1 deletion setupintent.go
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,11 @@ type SetupIntentNextActionType string

// List of values that SetupIntentNextActionType can take
const (
SetupIntentNextActionTypeRedirectToURL SetupIntentNextActionType = "redirect_to_url"
SetupIntentNextActionTypeRedirectToURL SetupIntentNextActionType = "redirect_to_url"
SetupIntentNextActionTypeUseStripeSDK SetupIntentNextActionType = "use_stripe_sdk"
SetupIntentNextActionTypeAlipayHandleRedirect SetupIntentNextActionType = "alipay_handle_redirect"
SetupIntentNextActionTypeOXXODisplayDetails SetupIntentNextActionType = "oxxo_display_details"
SetupIntentNextActionTypeVerifyWithMicrodeposits SetupIntentNextActionType = "verify_with_microdeposits"
)

// The type of the microdeposit sent to the customer. Used to distinguish between different verification methods.
Expand Down
1 change: 1 addition & 0 deletions source.go
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ type SourceReceiverRefundAttributesMethod string
const (
SourceReceiverRefundAttributesMethodEmail SourceReceiverRefundAttributesMethod = "email"
SourceReceiverRefundAttributesMethodManual SourceReceiverRefundAttributesMethod = "manual"
SourceReceiverRefundAttributesMethodNone SourceReceiverRefundAttributesMethod = "none"
)

// Type of refund attribute status, one of `missing`, `requested`, or `available`.
Expand Down