Using BasisTheory to handle card data

I’m building a checkout using React, where the checkout form uses BasisTheory Web SDK & securely stores customers card data against a token.

The issue is this would require me to call the payment API via a backend proxy request containing the customers card information or could I generate a token in a specific format using their tokenization & pass it to Squareup?

Basically how can I generate a source_id on the back-end, which I could then pass to squareup’s web API?

Thanks!

At this time the ability to generate a source_id on the backend isn’t currently available. You have to use our front end SDK to first generate the source_id to pass to the backend to send to the Payments API. :slightly_smiling_face: