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

[NEW API] Cards Get Token #126

Open
nahwinrajan opened this issue Mar 29, 2021 · 1 comment
Open

[NEW API] Cards Get Token #126

nahwinrajan opened this issue Mar 29, 2021 · 1 comment

Comments

@nahwinrajan
Copy link

In regards with cards new API and documentation update we will need new method of \Xendit\Cards::getToken on xendit-php client library.

This issue is request for it.

<?php

  use Xendit\Xendit;
  require 'vendor/autoload.php';

  Xendit::setApiKey('xnd_development_P4qDfOss0OCpl8RtKrROHjaQYNCk9dN5lSfk+R1l9Wbe+rSiCwZ3jw==');

  $id = '605c05d3f81fa60011b2fa4e';
  $getToken = \Xendit\Cards::getToken($id);
  var_dump($getToken);

?>
@farhanbashir06
Copy link

call to undefined function gettoken() ???

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants