Skip to content

Commit

Permalink
fixture (#1099)
Browse files Browse the repository at this point in the history
  • Loading branch information
karlr-stripe committed Jul 26, 2023
1 parent a2a9670 commit e776ffe
Showing 1 changed file with 5 additions and 16 deletions.
21 changes: 5 additions & 16 deletions pkg/fixtures/triggers/payment_intent.requires_action.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,28 +4,17 @@
"template_version": 0
},
"fixtures": [
{
"name": "customer",
"path": "/v1/customers",
"method": "post",
"params": {
"description": "(created by Stripe CLI)"
}
},
{
"name": "payment_intent",
"path": "/v1/payment_intents",
"method": "post",
"params": {
"amount": 20000,
"currency": "jpy",
"customer": "${customer:id}",
"amount": 2000,
"currency": "usd",
"confirm": "true",
"description": "(created by Stripe CLI)",
"payment_method_types[]": "customer_balance",
"payment_method_data[type]": "customer_balance",
"payment_method_options[customer_balance][funding_type]": "bank_transfer",
"payment_method_options[customer_balance][bank_transfer][type]": "jp_bank_account",
"confirm": "true"
"payment_method": "pm_card_authenticationRequired",
"payment_method_types": ["card"]
}
}
]
Expand Down

0 comments on commit e776ffe

Please sign in to comment.