#Agathe
1 messages · Page 1 of 1 (latest)
curl --location --request POST 'https://api.stripe.com/v1/payment_links/plink_1ME9yqKSInWHmZEgEv985uTb'
--header 'Authorization: Basic **'
--header 'Content-Type: application/x-www-form-urlencoded'
--data-urlencode 'payment_method_types=[card]'
Hello,
I'm not really famillar with discord
i try mulitple way to place the array of payment method but without any success
Try this:
--header 'Authorization: Basic **' \
--header 'Content-Type: application/x-www-form-urlencoded' \
--data-urlencode 'payment_method_types[]=card'```
I think that should be the right format
Yeah, we show it in some calls but others don't demonstrate it. I will put feedback in about this, it might help for us to link to something on general curl syntax
It will be great to have some example especially in case of strange 🙂
Thanks a lot for your answer
Of course, glad I could help