payment_method_id is provided (a saved card), the charge is processed immediately. Otherwise, a Stripe client secret is returned for completing payment with a new card on the frontend.body amount_centsnumberrequiredbody payment_method_idstring1234curl -X POST https://api.v2.dealmachine.com/v1/mail/wallet/add-funds \ -H "Authorization: Bearer dm_sk_live_xxx" \ -H "Content-Type: application/json" \ -d '{"amount_cents": 10000, "payment_method_id": "pm_xxx"}'
1234567{ "data": { "payment_intent_id": "pi_xxx", "amount_cents": 10000, "succeeded": true } }