JSON body in custom actions not working

I am trying to do server-side API calls, you can make requests as connected accounts using the special header Stripe-Account with the stripe API. but putting it in as a header isun’t working.

{“stripeAccount”: “{{CONNECTED_ACCOUNT_ID}}”} is the JSON but the magic text is making it = lease enter a valid JSON body.

Here is the stripe doc, Making API calls for connected accounts | Stripe Documentation.

Does anyone know a way to make this call its an essential for the app to work.

I have done it, the issue was there was a space before the acc_
note to self check and double check

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.