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 cancel support for topups #485

Merged
merged 1 commit into from
Aug 3, 2018

Conversation

foresthu-stripe
Copy link
Contributor

Add support for the new cancel topup endpoint

r? @remi-stripe || @ob-stripe
cc @stripe/api-libraries @miguel-stripe @kenneth-stripe @kimberly-stripe


cancel: stripeMethod({
method: 'POST',
path: '{topupId}/cancel',
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The test seem to confirm it works but other files have a leading / in the path.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hm, we seem to be a little inconsistent on this right now — looking through other examples in the library, it seems that both work.

@remi-stripe
Copy link
Contributor

Added a minor comment though it seems to work. Re-assigning to @brandur-stripe to double check and then release!

@brandur-stripe
Copy link
Contributor

LGTM.

@brandur-stripe brandur-stripe merged commit fb1576f into master Aug 3, 2018
@brandur-stripe brandur-stripe deleted the foresthu-topup-add-cancel-support branch August 3, 2018 17:50
@brandur-stripe
Copy link
Contributor

Released as 6.7.0.

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.

4 participants