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

Update stripe.d.ts for updating the StripeError interface #588

Merged
merged 2 commits into from
May 14, 2024

Conversation

hideokamoto-stripe
Copy link
Contributor

adding the request_log_url type on the StripeError

Summary & motivation

Added the request_log_url type in the StripeError interface.
https://docs.stripe.com/api/errors#errors-request_log_url

e.g.:

{
    code: "resource_missing",
    doc_url: "https://stripe.com/docs/error-codes/resource-missing",
    message: "No such payment_intent: 'pi_xxxxxxxxx'",
    param: "intent",
    request_log_url: "https://dashboard.stripe.com/test/logs/req_xxxxxxxx?t=1711953549",
    type: "invalid_request_error"
  }

Copy link

stale bot commented Apr 22, 2024

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the stale label Apr 22, 2024
@stale stale bot closed this May 1, 2024
@stale stale bot removed the stale label May 1, 2024
@fruchtose-stripe fruchtose-stripe merged commit 27cc158 into master May 14, 2024
3 checks passed
@fruchtose-stripe fruchtose-stripe deleted the hideokamoto-stripe-patch-1 branch May 14, 2024 00:33
@hideokamoto-stripe
Copy link
Contributor Author

Thank you for merging!
@winnie-stripe and @fruchtose-stripe

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants