Created
April 9, 2020 19:56
-
-
Save cjavilla-stripe/029b13463b0e839205bcdab95bb3dcd4 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"_meta": { | |
"template_version": 0 | |
}, | |
"fixtures": [ | |
{ | |
"name": "customer", | |
"path": "/v1/customers", | |
"method": "post", | |
"params": { | |
"description": "(created by Stripe CLI)", | |
"payment_method": "pm_card_authenticationRequired", | |
"invoice_settings": { | |
"default_payment_method": "pm_card_authenticationRequired" | |
} | |
} | |
}, | |
{ | |
"name": "invoiceitem", | |
"path": "/v1/invoiceitems", | |
"method": "post", | |
"params": { | |
"amount": 2000, | |
"currency": "usd", | |
"customer": "${customer:id}", | |
"description": "(created by Stripe CLI)" | |
} | |
}, | |
{ | |
"name": "invoice", | |
"path": "/v1/invoices", | |
"method": "post", | |
"params": { | |
"customer": "${customer:id}", | |
"description": "(created by Stripe CLI)" | |
} | |
}, | |
{ | |
"name": "invoice_pay", | |
"path": "/v1/invoices/${invoice:id}/pay", | |
"method": "post" | |
} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment