I am trying to do a simple function to retrieve Stripe balance on an hourly basis. The Zapier integration doesn’t have this feature, so I am using a combination of Zapier Schedule and Zapier Webhook.
According to stripe, the command is simple:
curl https://api.stripe.com/v1/balance \ -u sk_test_your_key:
I am successfully querying and authenticating with stripe, but the Zapier error is:
Results list {"object": "balance", "available": l{"amount": 0, "currency": "usd", "source_types": {"card": 0}}], is malformed. A results list must hold children that are objects like l{key: value}]. We found "object" though.
Obviously, I can see that the nested values amount, currency, and source_types are causing it fits.
How do I overcome this error?