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

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

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

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

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 card.getToken on xendit-node client library.

This issue is request for it.

const x = new require('xendit-node')({ secretKey: 'xnd_development_P4qDfOss0OCpl8RtKrROHjaQYNCk9dN5lSfk+R1l9Wbe+rSiCwZ3jw==' });

const { Card } = x;
const cardSpecificOptions = {};
const card = new Card(cardSpecificOptions);

const resp = await card.getToken({ chargeID: '605c05d3f81fa60011b2fa4e' });
console.log(resp);
@luminto17 luminto17 added the enhancement New feature or request label Dec 28, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants