Members endpoint - how to pass stripe_customer_id?


Does anyone have an example of the json for creating a new Ghost user (or updating an existing one) that includes their existing stripe customer id? I tried passing it as stripe_customer_id, but no success. I’m sure I’m missing something minor on formatting, but it’s eluding me, and my usual trick of using the admin panel and seeing how it interacts with the endpoint doesn’t work here, because the admin panel doesn’t do this.

For the moment, I’ve worked around this by using the CSV upload functionality to get the customer ID into Ghost, but this is surely not the most efficient of options.