Payment using token - Vault APIs

 Hi,

 

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?

https://developer.moneris.com/Documentation/NA/E-Commerce%20Solutions/Hosted%20Solutions/~/~/link.aspx?_id=F7132403C57F4AB2A0BB625BB79F64BC&_z=z#purchasewithvault

 

I have also used hosted page for vault: https://developer.moneris.com/Documentation/NA/E-Commerce%20Solutions/Hosted%20Solutions/Hosted%20Vault 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.

 

Regards,