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 support for /v1/topups endpoints #440

Merged
merged 1 commit into from
Feb 21, 2018
Merged

Conversation

jkakar-stripe
Copy link
Contributor

@jkakar-stripe jkakar-stripe commented Feb 16, 2018

This add standard retrieve, create and update client support for the new /v1/topups endpoint.

r? @apakulov-stripe @ccontinanza-stripe @chellman-stripe @kenneth-stripe @miguel-stripe
r? @stripe/api-libraries

@jkakar-stripe jkakar-stripe changed the title [wip] Add support for /v1/topups endpoints Add support for /v1/topups endpoints Feb 16, 2018
Copy link

@miguel-stripe miguel-stripe left a comment

Choose a reason for hiding this comment

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

👍

lib/Topup.php Outdated
* @property mixed $source
* @property string $statement_descriptor
* @property string $status
* @property string $balance_transaction
Copy link
Contributor

Choose a reason for hiding this comment

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

Mind alphabetizing this list (although keep $id and $object on top) and confirming that you went over it and looks correct? It looks okay to me, but I happened to notice that $description is still marked as undocumented so maybe we don't intend to expose that right away? Thanks!

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Hmm, I've updated the properties to reflect what should be exposed. I'm not sure I understand what you mean by $description being undocumented? All the fields listed now are public and should be known to users of the client.

Copy link
Contributor

Choose a reason for hiding this comment

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

Thanks!

If you check the API resource in the server-side implementation, it still seems that description is marked as undocumented:

undocumented :description

Maybe just an oversight?

Copy link
Contributor

Choose a reason for hiding this comment

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

Just to close the loop here, it looks like description is now an officially documented property.

@apakulov-stripe
Copy link

r? @stripe/api-libraries

@brandur-stripe
Copy link
Contributor

LGTM.

@brandur-stripe brandur-stripe merged commit be9eeb6 into master Feb 21, 2018
@brandur-stripe brandur-stripe deleted the jkakar/topup-client branch February 21, 2018 19:38
@brandur-stripe
Copy link
Contributor

Released as 6.2.0.

@EatonZ
Copy link

EatonZ commented Feb 22, 2018

What is a topup? Nothing in the API docs about it besides a few event types.

@remi-stripe
Copy link
Contributor

@EatonZ It's not documented yet and we just planned the feature in the libraries for now.

@EatonZ
Copy link

EatonZ commented Apr 28, 2018

@remi-stripe Just a heads up the documentation is still missing.

@remi-stripe
Copy link
Contributor

@EatonZ This is totally expected. This feature is not public for now and only available in private beta for specific users. It will be released in the next few months.

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.

7 participants