-
Notifications
You must be signed in to change notification settings - Fork 5
Add expand to PixKey resource #92
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
base: master
Are you sure you want to change the base?
Conversation
c006fce to
c9ed3c9
Compare
| "5155165527080960", | ||
| payer_id="012.345.678-90", | ||
| end_to_end_id=starkinfra.endtoendid.create("20018183"), | ||
| expand=[], #Options are "keyStatistics", "ownerStatistics" |
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.
Tirar o comentário
| self.status = status | ||
| self.tax_id = tax_id | ||
| self.description = description | ||
| self.expand = expand |
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.
O expand deveria ir na query string, da uma olhada como que é feito pra cartão no SDK
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.
Funcionou desse jeito?
|
|
||
|
|
||
| def get(id, payer_id, end_to_end_id=None, user=None): | ||
| def get(id, payer_id, end_to_end_id=None, user=None, expand=None): |
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.
Fazer igual pro brcode payment
| ) | ||
| self.assertIn("statistics", str(pix_key)) | ||
| self.assertIn("owner_statistics", str(pix_key)) | ||
| print(pix_key) |
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.
Testar para o brcode tmb né
No description provided.