Stripe API <> Creating Customer Profile

New Member
1 0 0

I'm trying to solve an issue for when Shopify purchases reach Stripe, to also create a customer profile tied to the recorded events via the API. 


At this moment, Stripe will create a payment record and payment intent record, but no Customer profile which should be tied to the payment. This is particularly critical in recurring charges and utilizing the pm_xxxx token and cus_xxxx token. I tried using a Python script to attach a pm token to a customer profile but now I see that I can't utilize a token more than once. What would be my best workaround to create customer profiles which are tied to the payment event recorded as Shopify payment data is sen through? I have Zapier as well if this has any possible solutions.


I'm hoping to be able to create customer profiles in Stripe and tie the payment events to the customer profile using the API