stone-payments / go-stone-openbank

A Go library to connect with Stone Open Banking API
https://docs.openbank.stone.com.br/
GNU General Public License v3.0
31 stars 12 forks source link

Feature/list keys pix #39

Closed gmarcial closed 2 years ago

gmarcial commented 2 years ago

Description:

The endpoints of PIX key utilize of idempotency key to making idempotent requests.

In the project, other endpoints were utilizing the same behavior, I took this opportunity to refactor and encapsulate this in the creation of a request.


Issue:

List keys pix


Evidence:

I tested the listing of the pix keys and other endpoints affected with the refactoring of the idempotency key.

evidence

Note:

The name of property referent to PIX key status of it is different, in the docs is key_status, but in response is status.

Beyond other data that are not in the documentation, but I only followed the documentation.

more-data

gmarcial commented 2 years ago

When you can, you can do analyze this PR?

Thanks

@Streppel @guilhermebr