stripe-js icon indicating copy to clipboard operation
stripe-js copied to clipboard

Update stripe.d.ts for updating the StripeError interface

Open hideokamoto-stripe opened this issue 10 months ago • 1 comments

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"
  }

hideokamoto-stripe avatar Apr 01 '24 07:04 hideokamoto-stripe

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[bot] avatar Apr 22 '24 04:04 stale[bot]

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

hideokamoto-stripe avatar May 14 '24 01:05 hideokamoto-stripe