All Stripe objects (including child objects) can now be created, updated, and deleted as allowed by the Stripe API.
Create
Parent Objects: Add data as a child to the specified Firebase reference. Once the response is received from Stripe the child reference will be updated with the full object.
Child Objects: Add data as a child to the specified Firebase reference. Once the response is received from Stripe the child reference is removed and the parent object is updated.
Update
Parent Objects: Update allowed properties on a child of the specified Firebase reference. Once the response is received from Stripe the child reference will be updated with the full object.
Child Objects: Add data (including the Stripe object id) as a child to the specified Firebase reference. Once the response is received from Stripe the child reference is removed and the parent object is updated.
Delete
Parent Objects: Remove a child of the specified Firebase reference.
Child Objects: Add the Stripe object id and a deleted property which should be set to true as a child to the specified Firebase reference. Once the response is received from Stripe the child reference is removed and the parent object is updated.