#pelf-CLI

1 messages · Page 1 of 1 (latest)

scenic orchid
pearl sorrel
#

Thanks. How do I know what the real object looks like? Is there a full blown sample somewhere?

#

Or alternatively, is there a way to do the equivalent of expand: ['charges.data.balance_transaction'] when generating from the CLI?

scenic orchid
#

Thanks. How do I know what the real object looks like? Is there a full blown sample somewhere?
What do you mean by "real object"? If you want to use the Stripe CLI, you could create a new fixture to create a new SetupIntent + PaymentIntent with the options you need, and it should generate a payment_intent.succeeded event.
Otherwise you could directly create a SetupIntent + PaymentIntent in test mode with the API, and it should also generate a payment_intent.succeeded event.

pearl sorrel
#

Ok. I'll play around with the fixtures, maybe that is enough for my needs. Thanks for the help.

#

One more thing while I have you. When trying to charge customers via ACSS, after I create the PaymentIntent and receive the payment_intent.suceeded webhook, I should still receive a charge.succeeded later on, correct?