#riptired
1 messages · Page 1 of 1 (latest)
Hi! Can you share the request ID (req_xxx)? Here's how you can find it: https://support.stripe.com/questions/finding-the-id-for-an-api-request
Find help and support for Stripe. Our support center provides answers on all types of situations, including account information, charges and refunds, and subscriptions information. Get your questions answered and find international support for Stripe.
OK, your request should be something like
restrictions: {
minimum_amount: 1000,
minimum_amount_currency: "USD"
}
data = {
'coupon': 'TkIoaBXX',
'customer' : 'CUSTOMERCODE',
'max_redemptions': '1',
'restrictions': {
"minimum_amount": 10000,
"minimum_amount_currency": "USD",
},
}
response = requests.post(
'https://api.stripe.com/v1/promotion_codes',
data=data,
auth=('APIKEY', ''),
)
still doesn't work
this is my cURL
Request ID?
req_05WZl7L3yxEX13
It's the same request, did you save the file?