Generate source_id without using Web Payment SDK

I am working on a system where I cannot integrate the Web Payment SDK on the client side.
Do I have any way to generate the source_id using the credit_card_info via API?
Or something else where I do not need to integrate the SDK and can generate the source_id?

At this time the ability to generate a source_id with a server side API call isn’t currently available. You will have to use one of our client side SDKs to generate the source_id. :slightly_smiling_face:

Thanks Brian! Does square provide any webhook from which i can open the Payment SDK in modal and return me the source_id as a response?

No, we don’t currently have any webhooks that will deliver a source_id. :slightly_smiling_face:

hmm. Okay - thank you Brian!