#arvindkgs-max-charge

1 messages · Page 1 of 1 (latest)

covert girder
#

The amount value supports up to twelve digits for IDR (for example, a value of 999999999999 for a charge of 9,999,999,999.99 IDR), and up to eight digits for all other currencies (for example, a value of 99999999 for a charge of 999,999.99 USD)

#

I was wondering if this is sufficient for your use case? 🙂

#

Which currency are you working with?

lunar void
#

USD

#

When I create a new price with value 123456789, I get error "This value must be less than or equal to 99999999"

covert girder
#

May I ask how you are creating the price please?

lunar void
#

For example

  -d unit_amount=123456789 \
  -d currency=usd \
  -d "recurring[interval]"=month \
  -d product=prod_Kv2sUf2fLwYdF8
#

Response

  "error": {
    "message": "This value must be less than or equal to 99999999 (it currently is '123456789').",
    "param": "unit_amount",
    "type": "invalid_request_error"
  }
}
#

@covert girder are you there?

covert girder
#

Hello, sorry for the delay, I was checking on the code, the amount specific to the Price object is limited to $999999.99, I was wondering what are you selling?

lunar void
#

Well we have two modes of monthly recurring payments. One is variable (metered) and other is fixed. For the fixed price, we bill the customer with a single product, rather than a multiple

#

So the single price is set to the contract price with the customer for a SaaS based service

#

If it is a large customer the price may be more

#

Meaning we may end up having different prices for different customers

covert girder
#

I see, let me check if there are ways to bypass this limit

copper bridge
#

Hi @lunar void if you often need to make payment with amount larger than the current limit, please write in to Stripe support https://support.stripe.com/contact

lunar void
#

@copper bridge @covert girder Thank you