Payment using token - Vault APIs



I managed to get a token (dataKey) and now I want to use that one to make payment. It seems I have to use Vault. I am using Javascript framework for my server. Is there any API endpoint for the vault so I can pass the token with the amount and other required field and be able to charge using the token?


I have also used hosted page for vault: and I receive a token and transactionKey with it. Now, where can I use this token?

Above documentation does not give me an example of how to use the token for Javascript. Any endpoint will do for me.

Appreciate your answers in advance.