Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

[SDK][NEW API] Cards Get Token #31

Open
nahwinrajan opened this issue Mar 29, 2021 · 0 comments
Open

[SDK][NEW API] Cards Get Token #31

nahwinrajan opened this issue Mar 29, 2021 · 0 comments
Labels
enhancement New feature or request

Comments

@nahwinrajan
Copy link

In regards with cards new API and documentation update we will need new method of CreditCard.get_token on xendit-python client library.

This issue is request for it.

from xendit import Xendit

api_key = "xnd_development_P4qDfOss0OCpl8RtKrROHjaQYNCk9dN5lSfk+R1l9Wbe+rSiCwZ3jw=="
xendit_instance = Xendit(api_key=api_key)
CreditCard = xendit_instance.CreditCard

token = CreditCard.get_token(
    credit_card_token_id="605c05d3f81fa60011b2fa4e",
)
print(token)
@luminto17 luminto17 added the enhancement New feature or request label Dec 28, 2021
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants