Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Stripe maximum data lengths

I'm using Stripe's simple 'Checkout', is there a specification detailing the max length of data accepted and returned, eg for the following data:

customer id description risk level address_line1 etc 
like image 337
Nick W Avatar asked Jul 11 '17 18:07

Nick W


People also ask

Is there a limit on stripe?

For most APIs, Stripe allows up to 100 read operations per second and 100 write operations per second in live mode, and 25 operations per second for each in test mode. For the Files API, Stripe allows up to 20 read operations per second and 20 write operations per second in both live mode and test mode.

Does stripe retry all failed charges?

Recurring chargesWhen payments fail, Stripe retries them using the Smart Retries feature. This automatically re-attempts payment when cards are declined according to your Dashboard settings.

What is metadata in stripe?

Metadata is useful for storing additional, structured information on an object. As an example, you could store your user's full name and corresponding unique identifier from your system on a Stripe Customer object.


1 Answers

max length of customer id is 255

max length of description is 350 (may change in future)

Copied from the doc,

You can safely assume object IDs we generate will never exceed 255 characters, but you should be able to handle IDs of up to that length. If for example you’re using MySQL, you should store IDs in a VARCHAR(255) COLLATE utf8_bin column (the COLLATE configuration ensures case-sensitivity in lookups).

The description field on customer endpoints has a maximum character length limit of 350 now

like image 157
Arun Raj Avatar answered Oct 02 '22 23:10

Arun Raj