#dom_________
1 messages · Page 1 of 1 (latest)
Hello! Right now we don't have a specific trigger/command that would test that - you'll need to go through the steps yourself of adding a bank account payment method to a customer and then detach it
{
"_meta": {
"template_version": 0
},
"fixtures": [
{
"name": "customer",
"path": "/v1/customers",
"method": "post",
"params": {
"description": "(created by Stripe CLI)"
}
},
{
"name": "payment_method_detach",
"path": "/v1/payment_methods/pm_1NxYfPAgvxDs8mMHjGi0IOqt/detach",
"method": "post",
"params": {
"customer": "${customer:id}"
}
}
]
}
is something like this not possible to use with triggers command?
Yes that's possible, but you'd have to first have the right payment method attached to the customer
It's really much easier to just make the API calls yourself w/o going through the CLI
It gives you way more control over the requests you're making