input: Write a python function to make a payment using the Stripe API.
  assert make_payment("tok_xxx", 500)['amount'] == 500
  assert make_payment("tok_yyy", 1000)['currency'] == "usd"
  assert make_payment("tok_zzz", 1500)['description'] == "example charge"
output: import stripe
  
  stripe.api_key = "your_stripe_secret_key"
  
  def make_payment(token, amount):
      try:
          charge = stripe.Charge.create(
              amount=amount,
              currency="usd",
              description="example charge",
              source=token,
          )
          return charge
      except stripe.error.StripeError as e:
          return {"error": str(e)}