We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
id
When replying to resource deletion requests, stripe-mock returns an empty string for the id attribute:
$ curl -X DELETE http://localhost:12111/v1/customers/cus_123 -H "Authorization: Bearer sk_test_123" { "deleted": true, "id": "" }
The live API sends back the ID of the deleted resource:
$ curl -X DELETE https://api.stripe.com/v1/customers/cus_... -u $STRIPE_SECRET_KEY: { "id": "cus_...", "deleted": true }
The text was updated successfully, but these errors were encountered:
Ah, yep. That's definitely a problem. Thanks for opening.
Sorry, something went wrong.
Update OpenAPI
fdd89a3
Updates the bundled OpenAPI spec, with the most important piece being that we now have fixtures that include deleted objects with real IDs. Fixes #56.
Successfully merging a pull request may close this issue.
When replying to resource deletion requests, stripe-mock returns an empty string for the
id
attribute:The live API sends back the ID of the deleted resource:
The text was updated successfully, but these errors were encountered: