-
Notifications
You must be signed in to change notification settings - Fork 848
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
Conversation
There was a problem hiding this 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 |
There was a problem hiding this comment.
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!
There was a problem hiding this comment.
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.
There was a problem hiding this comment.
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?
There was a problem hiding this comment.
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.
d78923a
to
7c07bfc
Compare
r? @stripe/api-libraries |
LGTM. |
Released as 6.2.0. |
What is a topup? Nothing in the API docs about it besides a few event types. |
@EatonZ It's not documented yet and we just planned the feature in the libraries for now. |
@remi-stripe Just a heads up the documentation is still missing. |
@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. |
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