Level 104
File > Import > Raw Text > {paste curl code above}
Then set the necessary variables in Postman for PLATFORM_SECRET_KEY, CONNECTED_STRIPE_ACCOUNT_ID and, if necessary CHARGE_ID
1 like
Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.
Hey guys,
How would I write this in POSTMAN?
curl https://api.stripe.com/v1/charges/{{CHARGE_ID}}/refunds \
-u {{PLATFORM_SECRET_KEY}}: \
-H "Stripe-Account: {{CONNECTED_STRIPE_ACCOUNT_ID}}" \
-d amount=1000
File > Import > Raw Text > {paste curl code above}
Then set the necessary variables in Postman for PLATFORM_SECRET_KEY, CONNECTED_STRIPE_ACCOUNT_ID and, if necessary CHARGE_ID
Please or to participate in this conversation.