Debian Codegraph @

stripe/params/issuing/_cardholder_create_params.py

raw
1 # -*- coding: utf-8 -*-
2 # File generated from our OpenAPI spec
3 from stripe._request_options import RequestOptions
4 from typing import Dict, List
5 from typing_extensions import Literal, NotRequired, TypedDict
6
7
8 class CardholderCreateParams(RequestOptions):
9 billing: "CardholderCreateParamsBilling"
10 """
11 The cardholder's billing address.
12 """
13 company: NotRequired["CardholderCreateParamsCompany"]
14 """
15 Additional information about a `company` cardholder.
16 """
17 email: NotRequired[str]
18 """
19 The cardholder's email address.
20 """
21 expand: NotRequired[List[str]]
22 """
23 Specifies which fields in the response should be expanded.
24 """
25 individual: NotRequired["CardholderCreateParamsIndividual"]
26 """
27 Additional information about an `individual` cardholder.
28 """
29 metadata: NotRequired[Dict[str, str]]
30 """
31 Set of [key-value pairs](https://docs.stripe.com/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`.
32 """
33 name: str
34 """
35 The cardholder's name. This will be printed on cards issued to them. The maximum length of this field is 24 characters. This field cannot contain any special characters or numbers.
36 """
37 phone_number: NotRequired[str]
38 """
39 The cardholder's phone number. This will be transformed to [E.164](https://en.wikipedia.org/wiki/E.164) if it is not provided in that format already. This is required for all cardholders who will be creating EU cards. See the [3D Secure documentation](https://docs.stripe.com/issuing/3d-secure#when-is-3d-secure-applied) for more details.
40 """
41 preferred_locales: NotRequired[List[Literal["de", "en", "es", "fr", "it"]]]
42 """
43 The cardholder's preferred locales (languages), ordered by preference. Locales can be `de`, `en`, `es`, `fr`, or `it`.
44 This changes the language of the [3D Secure flow](https://docs.stripe.com/issuing/3d-secure) and one-time password messages sent to the cardholder.
45 """
46 spending_controls: NotRequired["CardholderCreateParamsSpendingControls"]
47 """
48 Rules that control spending across this cardholder's cards. Refer to our [documentation](https://docs.stripe.com/issuing/controls/spending-controls) for more details.
49 """
50 status: NotRequired[Literal["active", "inactive"]]
51 """
52 Specifies whether to permit authorizations on this cardholder's cards. Defaults to `active`.
53 """
54 type: NotRequired[Literal["company", "individual"]]
55 """
56 One of `individual` or `company`. See [Choose a cardholder type](https://docs.stripe.com/issuing/other/choose-cardholder) for more details.
57 """
58
59
60 class CardholderCreateParamsBilling(TypedDict):
61 address: "CardholderCreateParamsBillingAddress"
62 """
63 The cardholder's billing address.
64 """
65
66
67 class CardholderCreateParamsBillingAddress(TypedDict):
68 city: str
69 """
70 City, district, suburb, town, or village.
71 """
72 country: str
73 """
74 Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
75 """
76 line1: str
77 """
78 Address line 1, such as the street, PO Box, or company name.
79 """
80 line2: NotRequired[str]
81 """
82 Address line 2, such as the apartment, suite, unit, or building.
83 """
84 postal_code: str
85 """
86 ZIP or postal code.
87 """
88 state: NotRequired[str]
89 """
90 State, county, province, or region ([ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2)).
91 """
92
93
94 class CardholderCreateParamsCompany(TypedDict):
95 tax_id: NotRequired[str]
96 """
97 The entity's business ID number.
98 """
99
100
101 class CardholderCreateParamsIndividual(TypedDict):
102 card_issuing: NotRequired["CardholderCreateParamsIndividualCardIssuing"]
103 """
104 Information related to the card_issuing program for this cardholder.
105 """
106 dob: NotRequired["CardholderCreateParamsIndividualDob"]
107 """
108 The date of birth of this cardholder. Cardholders must be older than 13 years old.
109 """
110 first_name: NotRequired[str]
111 """
112 The first name of this cardholder. Required before activating Cards. This field cannot contain any numbers, special characters (except periods, commas, hyphens, spaces and apostrophes) or non-latin letters.
113 """
114 last_name: NotRequired[str]
115 """
116 The last name of this cardholder. Required before activating Cards. This field cannot contain any numbers, special characters (except periods, commas, hyphens, spaces and apostrophes) or non-latin letters.
117 """
118 verification: NotRequired["CardholderCreateParamsIndividualVerification"]
119 """
120 Government-issued ID document for this cardholder.
121 """
122
123
124 class CardholderCreateParamsIndividualCardIssuing(TypedDict):
125 user_terms_acceptance: NotRequired[
126 "CardholderCreateParamsIndividualCardIssuingUserTermsAcceptance"
127 ]
128 """
129 Information about cardholder acceptance of Celtic [Authorized User Terms](https://stripe.com/docs/issuing/cards#accept-authorized-user-terms). Required for cards backed by a Celtic program.
130 """
131
132
133 class CardholderCreateParamsIndividualCardIssuingUserTermsAcceptance(
134 TypedDict
135 ):
136 date: NotRequired[int]
137 """
138 The Unix timestamp marking when the cardholder accepted the Authorized User Terms. Required for Celtic Spend Card users.
139 """
140 ip: NotRequired[str]
141 """
142 The IP address from which the cardholder accepted the Authorized User Terms. Required for Celtic Spend Card users.
143 """
144 user_agent: NotRequired["Literal['']|str"]
145 """
146 The user agent of the browser from which the cardholder accepted the Authorized User Terms.
147 """
148
149
150 class CardholderCreateParamsIndividualDob(TypedDict):
151 day: int
152 """
153 The day of birth, between 1 and 31.
154 """
155 month: int
156 """
157 The month of birth, between 1 and 12.
158 """
159 year: int
160 """
161 The four-digit year of birth.
162 """
163
164
165 class CardholderCreateParamsIndividualVerification(TypedDict):
166 document: NotRequired[
167 "CardholderCreateParamsIndividualVerificationDocument"
168 ]
169 """
170 An identifying document, either a passport or local ID card.
171 """
172
173
174 class CardholderCreateParamsIndividualVerificationDocument(TypedDict):
175 back: NotRequired[str]
176 """
177 The back of an ID returned by a [file upload](https://api.stripe.com#create_file) with a `purpose` value of `identity_document`.
178 """
179 front: NotRequired[str]
180 """
181 The front of an ID returned by a [file upload](https://api.stripe.com#create_file) with a `purpose` value of `identity_document`.
182 """
183
184
185 class CardholderCreateParamsSpendingControls(TypedDict):
186 allowed_categories: NotRequired[
187 List[
188 Literal[
189 "ac_refrigeration_repair",
190 "accounting_bookkeeping_services",
191 "advertising_services",
192 "agricultural_cooperative",
193 "airlines_air_carriers",
194 "airports_flying_fields",
195 "ambulance_services",
196 "amusement_parks_carnivals",
197 "antique_reproductions",
198 "antique_shops",
199 "aquariums",
200 "architectural_surveying_services",
201 "art_dealers_and_galleries",
202 "artists_supply_and_craft_shops",
203 "auto_and_home_supply_stores",
204 "auto_body_repair_shops",
205 "auto_paint_shops",
206 "auto_service_shops",
207 "automated_cash_disburse",
208 "automated_fuel_dispensers",
209 "automobile_associations",
210 "automotive_parts_and_accessories_stores",
211 "automotive_tire_stores",
212 "bail_and_bond_payments",
213 "bakeries",
214 "bands_orchestras",
215 "barber_and_beauty_shops",
216 "betting_casino_gambling",
217 "bicycle_shops",
218 "billiard_pool_establishments",
219 "boat_dealers",
220 "boat_rentals_and_leases",
221 "book_stores",
222 "books_periodicals_and_newspapers",
223 "bowling_alleys",
224 "bus_lines",
225 "business_secretarial_schools",
226 "buying_shopping_services",
227 "cable_satellite_and_other_pay_television_and_radio",
228 "camera_and_photographic_supply_stores",
229 "candy_nut_and_confectionery_stores",
230 "car_and_truck_dealers_new_used",
231 "car_and_truck_dealers_used_only",
232 "car_rental_agencies",
233 "car_washes",
234 "carpentry_services",
235 "carpet_upholstery_cleaning",
236 "caterers",
237 "charitable_and_social_service_organizations_fundraising",
238 "chemicals_and_allied_products",
239 "child_care_services",
240 "childrens_and_infants_wear_stores",
241 "chiropodists_podiatrists",
242 "chiropractors",
243 "cigar_stores_and_stands",
244 "civic_social_fraternal_associations",
245 "cleaning_and_maintenance",
246 "clothing_rental",
247 "colleges_universities",
248 "commercial_equipment",
249 "commercial_footwear",
250 "commercial_photography_art_and_graphics",
251 "commuter_transport_and_ferries",
252 "computer_network_services",
253 "computer_programming",
254 "computer_repair",
255 "computer_software_stores",
256 "computers_peripherals_and_software",
257 "concrete_work_services",
258 "construction_materials",
259 "consulting_public_relations",
260 "correspondence_schools",
261 "cosmetic_stores",
262 "counseling_services",
263 "country_clubs",
264 "courier_services",
265 "court_costs",
266 "credit_reporting_agencies",
267 "cruise_lines",
268 "dairy_products_stores",
269 "dance_hall_studios_schools",
270 "dating_escort_services",
271 "dentists_orthodontists",
272 "department_stores",
273 "detective_agencies",
274 "digital_goods_applications",
275 "digital_goods_games",
276 "digital_goods_large_volume",
277 "digital_goods_media",
278 "direct_marketing_catalog_merchant",
279 "direct_marketing_combination_catalog_and_retail_merchant",
280 "direct_marketing_inbound_telemarketing",
281 "direct_marketing_insurance_services",
282 "direct_marketing_other",
283 "direct_marketing_outbound_telemarketing",
284 "direct_marketing_subscription",
285 "direct_marketing_travel",
286 "discount_stores",
287 "doctors",
288 "door_to_door_sales",
289 "drapery_window_covering_and_upholstery_stores",
290 "drinking_places",
291 "drug_stores_and_pharmacies",
292 "drugs_drug_proprietaries_and_druggist_sundries",
293 "dry_cleaners",
294 "durable_goods",
295 "duty_free_stores",
296 "eating_places_restaurants",
297 "educational_services",
298 "electric_razor_stores",
299 "electric_vehicle_charging",
300 "electrical_parts_and_equipment",
301 "electrical_services",
302 "electronics_repair_shops",
303 "electronics_stores",
304 "elementary_secondary_schools",
305 "emergency_services_gcas_visa_use_only",
306 "employment_temp_agencies",
307 "equipment_rental",
308 "exterminating_services",
309 "family_clothing_stores",
310 "fast_food_restaurants",
311 "financial_institutions",
312 "fines_government_administrative_entities",
313 "fireplace_fireplace_screens_and_accessories_stores",
314 "floor_covering_stores",
315 "florists",
316 "florists_supplies_nursery_stock_and_flowers",
317 "freezer_and_locker_meat_provisioners",
318 "fuel_dealers_non_automotive",
319 "funeral_services_crematories",
320 "furniture_home_furnishings_and_equipment_stores_except_appliances",
321 "furniture_repair_refinishing",
322 "furriers_and_fur_shops",
323 "general_services",
324 "gift_card_novelty_and_souvenir_shops",
325 "glass_paint_and_wallpaper_stores",
326 "glassware_crystal_stores",
327 "golf_courses_public",
328 "government_licensed_horse_dog_racing_us_region_only",
329 "government_licensed_online_casions_online_gambling_us_region_only",
330 "government_owned_lotteries_non_us_region",
331 "government_owned_lotteries_us_region_only",
332 "government_services",
333 "grocery_stores_supermarkets",
334 "hardware_equipment_and_supplies",
335 "hardware_stores",
336 "health_and_beauty_spas",
337 "hearing_aids_sales_and_supplies",
338 "heating_plumbing_a_c",
339 "hobby_toy_and_game_shops",
340 "home_supply_warehouse_stores",
341 "hospitals",
342 "hotels_motels_and_resorts",
343 "household_appliance_stores",
344 "industrial_supplies",
345 "information_retrieval_services",
346 "insurance_default",
347 "insurance_underwriting_premiums",
348 "intra_company_purchases",
349 "jewelry_stores_watches_clocks_and_silverware_stores",
350 "landscaping_services",
351 "laundries",
352 "laundry_cleaning_services",
353 "legal_services_attorneys",
354 "luggage_and_leather_goods_stores",
355 "lumber_building_materials_stores",
356 "manual_cash_disburse",
357 "marinas_service_and_supplies",
358 "marketplaces",
359 "masonry_stonework_and_plaster",
360 "massage_parlors",
361 "medical_and_dental_labs",
362 "medical_dental_ophthalmic_and_hospital_equipment_and_supplies",
363 "medical_services",
364 "membership_organizations",
365 "mens_and_boys_clothing_and_accessories_stores",
366 "mens_womens_clothing_stores",
367 "metal_service_centers",
368 "miscellaneous",
369 "miscellaneous_apparel_and_accessory_shops",
370 "miscellaneous_auto_dealers",
371 "miscellaneous_business_services",
372 "miscellaneous_food_stores",
373 "miscellaneous_general_merchandise",
374 "miscellaneous_general_services",
375 "miscellaneous_home_furnishing_specialty_stores",
376 "miscellaneous_publishing_and_printing",
377 "miscellaneous_recreation_services",
378 "miscellaneous_repair_shops",
379 "miscellaneous_specialty_retail",
380 "mobile_home_dealers",
381 "motion_picture_theaters",
382 "motor_freight_carriers_and_trucking",
383 "motor_homes_dealers",
384 "motor_vehicle_supplies_and_new_parts",
385 "motorcycle_shops_and_dealers",
386 "motorcycle_shops_dealers",
387 "music_stores_musical_instruments_pianos_and_sheet_music",
388 "news_dealers_and_newsstands",
389 "non_fi_money_orders",
390 "non_fi_stored_value_card_purchase_load",
391 "nondurable_goods",
392 "nurseries_lawn_and_garden_supply_stores",
393 "nursing_personal_care",
394 "office_and_commercial_furniture",
395 "opticians_eyeglasses",
396 "optometrists_ophthalmologist",
397 "orthopedic_goods_prosthetic_devices",
398 "osteopaths",
399 "package_stores_beer_wine_and_liquor",
400 "paints_varnishes_and_supplies",
401 "parking_lots_garages",
402 "passenger_railways",
403 "pawn_shops",
404 "pet_shops_pet_food_and_supplies",
405 "petroleum_and_petroleum_products",
406 "photo_developing",
407 "photographic_photocopy_microfilm_equipment_and_supplies",
408 "photographic_studios",
409 "picture_video_production",
410 "piece_goods_notions_and_other_dry_goods",
411 "plumbing_heating_equipment_and_supplies",
412 "political_organizations",
413 "postal_services_government_only",
414 "precious_stones_and_metals_watches_and_jewelry",
415 "professional_services",
416 "public_warehousing_and_storage",
417 "quick_copy_repro_and_blueprint",
418 "railroads",
419 "real_estate_agents_and_managers_rentals",
420 "record_stores",
421 "recreational_vehicle_rentals",
422 "religious_goods_stores",
423 "religious_organizations",
424 "roofing_siding_sheet_metal",
425 "secretarial_support_services",
426 "security_brokers_dealers",
427 "service_stations",
428 "sewing_needlework_fabric_and_piece_goods_stores",
429 "shoe_repair_hat_cleaning",
430 "shoe_stores",
431 "small_appliance_repair",
432 "snowmobile_dealers",
433 "special_trade_services",
434 "specialty_cleaning",
435 "sporting_goods_stores",
436 "sporting_recreation_camps",
437 "sports_and_riding_apparel_stores",
438 "sports_clubs_fields",
439 "stamp_and_coin_stores",
440 "stationary_office_supplies_printing_and_writing_paper",
441 "stationery_stores_office_and_school_supply_stores",
442 "swimming_pools_sales",
443 "t_ui_travel_germany",
444 "tailors_alterations",
445 "tax_payments_government_agencies",
446 "tax_preparation_services",
447 "taxicabs_limousines",
448 "telecommunication_equipment_and_telephone_sales",
449 "telecommunication_services",
450 "telegraph_services",
451 "tent_and_awning_shops",
452 "testing_laboratories",
453 "theatrical_ticket_agencies",
454 "timeshares",
455 "tire_retreading_and_repair",
456 "tolls_bridge_fees",
457 "tourist_attractions_and_exhibits",
458 "towing_services",
459 "trailer_parks_campgrounds",
460 "transportation_services",
461 "travel_agencies_tour_operators",
462 "truck_stop_iteration",
463 "truck_utility_trailer_rentals",
464 "typesetting_plate_making_and_related_services",
465 "typewriter_stores",
466 "u_s_federal_government_agencies_or_departments",
467 "uniforms_commercial_clothing",
468 "used_merchandise_and_secondhand_stores",
469 "utilities",
470 "variety_stores",
471 "veterinary_services",
472 "video_amusement_game_supplies",
473 "video_game_arcades",
474 "video_tape_rental_stores",
475 "vocational_trade_schools",
476 "watch_jewelry_repair",
477 "welding_repair",
478 "wholesale_clubs",
479 "wig_and_toupee_stores",
480 "wires_money_orders",
481 "womens_accessory_and_specialty_shops",
482 "womens_ready_to_wear_stores",
483 "wrecking_and_salvage_yards",
484 ]
485 ]
486 ]
487 """
488 Array of strings containing [categories](https://docs.stripe.com/api#issuing_authorization_object-merchant_data-category) of authorizations to allow. All other categories will be blocked. Cannot be set with `blocked_categories`.
489 """
490 allowed_merchant_countries: NotRequired[List[str]]
491 """
492 Array of strings containing representing countries from which authorizations will be allowed. Authorizations from merchants in all other countries will be declined. Country codes should be ISO 3166 alpha-2 country codes (e.g. `US`). Cannot be set with `blocked_merchant_countries`. Provide an empty value to unset this control.
493 """
494 blocked_categories: NotRequired[
495 List[
496 Literal[
497 "ac_refrigeration_repair",
498 "accounting_bookkeeping_services",
499 "advertising_services",
500 "agricultural_cooperative",
501 "airlines_air_carriers",
502 "airports_flying_fields",
503 "ambulance_services",
504 "amusement_parks_carnivals",
505 "antique_reproductions",
506 "antique_shops",
507 "aquariums",
508 "architectural_surveying_services",
509 "art_dealers_and_galleries",
510 "artists_supply_and_craft_shops",
511 "auto_and_home_supply_stores",
512 "auto_body_repair_shops",
513 "auto_paint_shops",
514 "auto_service_shops",
515 "automated_cash_disburse",
516 "automated_fuel_dispensers",
517 "automobile_associations",
518 "automotive_parts_and_accessories_stores",
519 "automotive_tire_stores",
520 "bail_and_bond_payments",
521 "bakeries",
522 "bands_orchestras",
523 "barber_and_beauty_shops",
524 "betting_casino_gambling",
525 "bicycle_shops",
526 "billiard_pool_establishments",
527 "boat_dealers",
528 "boat_rentals_and_leases",
529 "book_stores",
530 "books_periodicals_and_newspapers",
531 "bowling_alleys",
532 "bus_lines",
533 "business_secretarial_schools",
534 "buying_shopping_services",
535 "cable_satellite_and_other_pay_television_and_radio",
536 "camera_and_photographic_supply_stores",
537 "candy_nut_and_confectionery_stores",
538 "car_and_truck_dealers_new_used",
539 "car_and_truck_dealers_used_only",
540 "car_rental_agencies",
541 "car_washes",
542 "carpentry_services",
543 "carpet_upholstery_cleaning",
544 "caterers",
545 "charitable_and_social_service_organizations_fundraising",
546 "chemicals_and_allied_products",
547 "child_care_services",
548 "childrens_and_infants_wear_stores",
549 "chiropodists_podiatrists",
550 "chiropractors",
551 "cigar_stores_and_stands",
552 "civic_social_fraternal_associations",
553 "cleaning_and_maintenance",
554 "clothing_rental",
555 "colleges_universities",
556 "commercial_equipment",
557 "commercial_footwear",
558 "commercial_photography_art_and_graphics",
559 "commuter_transport_and_ferries",
560 "computer_network_services",
561 "computer_programming",
562 "computer_repair",
563 "computer_software_stores",
564 "computers_peripherals_and_software",
565 "concrete_work_services",
566 "construction_materials",
567 "consulting_public_relations",
568 "correspondence_schools",
569 "cosmetic_stores",
570 "counseling_services",
571 "country_clubs",
572 "courier_services",
573 "court_costs",
574 "credit_reporting_agencies",
575 "cruise_lines",
576 "dairy_products_stores",
577 "dance_hall_studios_schools",
578 "dating_escort_services",
579 "dentists_orthodontists",
580 "department_stores",
581 "detective_agencies",
582 "digital_goods_applications",
583 "digital_goods_games",
584 "digital_goods_large_volume",
585 "digital_goods_media",
586 "direct_marketing_catalog_merchant",
587 "direct_marketing_combination_catalog_and_retail_merchant",
588 "direct_marketing_inbound_telemarketing",
589 "direct_marketing_insurance_services",
590 "direct_marketing_other",
591 "direct_marketing_outbound_telemarketing",
592 "direct_marketing_subscription",
593 "direct_marketing_travel",
594 "discount_stores",
595 "doctors",
596 "door_to_door_sales",
597 "drapery_window_covering_and_upholstery_stores",
598 "drinking_places",
599 "drug_stores_and_pharmacies",
600 "drugs_drug_proprietaries_and_druggist_sundries",
601 "dry_cleaners",
602 "durable_goods",
603 "duty_free_stores",
604 "eating_places_restaurants",
605 "educational_services",
606 "electric_razor_stores",
607 "electric_vehicle_charging",
608 "electrical_parts_and_equipment",
609 "electrical_services",
610 "electronics_repair_shops",
611 "electronics_stores",
612 "elementary_secondary_schools",
613 "emergency_services_gcas_visa_use_only",
614 "employment_temp_agencies",
615 "equipment_rental",
616 "exterminating_services",
617 "family_clothing_stores",
618 "fast_food_restaurants",
619 "financial_institutions",
620 "fines_government_administrative_entities",
621 "fireplace_fireplace_screens_and_accessories_stores",
622 "floor_covering_stores",
623 "florists",
624 "florists_supplies_nursery_stock_and_flowers",
625 "freezer_and_locker_meat_provisioners",
626 "fuel_dealers_non_automotive",
627 "funeral_services_crematories",
628 "furniture_home_furnishings_and_equipment_stores_except_appliances",
629 "furniture_repair_refinishing",
630 "furriers_and_fur_shops",
631 "general_services",
632 "gift_card_novelty_and_souvenir_shops",
633 "glass_paint_and_wallpaper_stores",
634 "glassware_crystal_stores",
635 "golf_courses_public",
636 "government_licensed_horse_dog_racing_us_region_only",
637 "government_licensed_online_casions_online_gambling_us_region_only",
638 "government_owned_lotteries_non_us_region",
639 "government_owned_lotteries_us_region_only",
640 "government_services",
641 "grocery_stores_supermarkets",
642 "hardware_equipment_and_supplies",
643 "hardware_stores",
644 "health_and_beauty_spas",
645 "hearing_aids_sales_and_supplies",
646 "heating_plumbing_a_c",
647 "hobby_toy_and_game_shops",
648 "home_supply_warehouse_stores",
649 "hospitals",
650 "hotels_motels_and_resorts",
651 "household_appliance_stores",
652 "industrial_supplies",
653 "information_retrieval_services",
654 "insurance_default",
655 "insurance_underwriting_premiums",
656 "intra_company_purchases",
657 "jewelry_stores_watches_clocks_and_silverware_stores",
658 "landscaping_services",
659 "laundries",
660 "laundry_cleaning_services",
661 "legal_services_attorneys",
662 "luggage_and_leather_goods_stores",
663 "lumber_building_materials_stores",
664 "manual_cash_disburse",
665 "marinas_service_and_supplies",
666 "marketplaces",
667 "masonry_stonework_and_plaster",
668 "massage_parlors",
669 "medical_and_dental_labs",
670 "medical_dental_ophthalmic_and_hospital_equipment_and_supplies",
671 "medical_services",
672 "membership_organizations",
673 "mens_and_boys_clothing_and_accessories_stores",
674 "mens_womens_clothing_stores",
675 "metal_service_centers",
676 "miscellaneous",
677 "miscellaneous_apparel_and_accessory_shops",
678 "miscellaneous_auto_dealers",
679 "miscellaneous_business_services",
680 "miscellaneous_food_stores",
681 "miscellaneous_general_merchandise",
682 "miscellaneous_general_services",
683 "miscellaneous_home_furnishing_specialty_stores",
684 "miscellaneous_publishing_and_printing",
685 "miscellaneous_recreation_services",
686 "miscellaneous_repair_shops",
687 "miscellaneous_specialty_retail",
688 "mobile_home_dealers",
689 "motion_picture_theaters",
690 "motor_freight_carriers_and_trucking",
691 "motor_homes_dealers",
692 "motor_vehicle_supplies_and_new_parts",
693 "motorcycle_shops_and_dealers",
694 "motorcycle_shops_dealers",
695 "music_stores_musical_instruments_pianos_and_sheet_music",
696 "news_dealers_and_newsstands",
697 "non_fi_money_orders",
698 "non_fi_stored_value_card_purchase_load",
699 "nondurable_goods",
700 "nurseries_lawn_and_garden_supply_stores",
701 "nursing_personal_care",
702 "office_and_commercial_furniture",
703 "opticians_eyeglasses",
704 "optometrists_ophthalmologist",
705 "orthopedic_goods_prosthetic_devices",
706 "osteopaths",
707 "package_stores_beer_wine_and_liquor",
708 "paints_varnishes_and_supplies",
709 "parking_lots_garages",
710 "passenger_railways",
711 "pawn_shops",
712 "pet_shops_pet_food_and_supplies",
713 "petroleum_and_petroleum_products",
714 "photo_developing",
715 "photographic_photocopy_microfilm_equipment_and_supplies",
716 "photographic_studios",
717 "picture_video_production",
718 "piece_goods_notions_and_other_dry_goods",
719 "plumbing_heating_equipment_and_supplies",
720 "political_organizations",
721 "postal_services_government_only",
722 "precious_stones_and_metals_watches_and_jewelry",
723 "professional_services",
724 "public_warehousing_and_storage",
725 "quick_copy_repro_and_blueprint",
726 "railroads",
727 "real_estate_agents_and_managers_rentals",
728 "record_stores",
729 "recreational_vehicle_rentals",
730 "religious_goods_stores",
731 "religious_organizations",
732 "roofing_siding_sheet_metal",
733 "secretarial_support_services",
734 "security_brokers_dealers",
735 "service_stations",
736 "sewing_needlework_fabric_and_piece_goods_stores",
737 "shoe_repair_hat_cleaning",
738 "shoe_stores",
739 "small_appliance_repair",
740 "snowmobile_dealers",
741 "special_trade_services",
742 "specialty_cleaning",
743 "sporting_goods_stores",
744 "sporting_recreation_camps",
745 "sports_and_riding_apparel_stores",
746 "sports_clubs_fields",
747 "stamp_and_coin_stores",
748 "stationary_office_supplies_printing_and_writing_paper",
749 "stationery_stores_office_and_school_supply_stores",
750 "swimming_pools_sales",
751 "t_ui_travel_germany",
752 "tailors_alterations",
753 "tax_payments_government_agencies",
754 "tax_preparation_services",
755 "taxicabs_limousines",
756 "telecommunication_equipment_and_telephone_sales",
757 "telecommunication_services",
758 "telegraph_services",
759 "tent_and_awning_shops",
760 "testing_laboratories",
761 "theatrical_ticket_agencies",
762 "timeshares",
763 "tire_retreading_and_repair",
764 "tolls_bridge_fees",
765 "tourist_attractions_and_exhibits",
766 "towing_services",
767 "trailer_parks_campgrounds",
768 "transportation_services",
769 "travel_agencies_tour_operators",
770 "truck_stop_iteration",
771 "truck_utility_trailer_rentals",
772 "typesetting_plate_making_and_related_services",
773 "typewriter_stores",
774 "u_s_federal_government_agencies_or_departments",
775 "uniforms_commercial_clothing",
776 "used_merchandise_and_secondhand_stores",
777 "utilities",
778 "variety_stores",
779 "veterinary_services",
780 "video_amusement_game_supplies",
781 "video_game_arcades",
782 "video_tape_rental_stores",
783 "vocational_trade_schools",
784 "watch_jewelry_repair",
785 "welding_repair",
786 "wholesale_clubs",
787 "wig_and_toupee_stores",
788 "wires_money_orders",
789 "womens_accessory_and_specialty_shops",
790 "womens_ready_to_wear_stores",
791 "wrecking_and_salvage_yards",
792 ]
793 ]
794 ]
795 """
796 Array of strings containing [categories](https://docs.stripe.com/api#issuing_authorization_object-merchant_data-category) of authorizations to decline. All other categories will be allowed. Cannot be set with `allowed_categories`.
797 """
798 blocked_merchant_countries: NotRequired[List[str]]
799 """
800 Array of strings containing representing countries from which authorizations will be declined. Country codes should be ISO 3166 alpha-2 country codes (e.g. `US`). Cannot be set with `allowed_merchant_countries`. Provide an empty value to unset this control.
801 """
802 spending_limits: NotRequired[
803 List["CardholderCreateParamsSpendingControlsSpendingLimit"]
804 ]
805 """
806 Limit spending with amount-based rules that apply across this cardholder's cards.
807 """
808 spending_limits_currency: NotRequired[str]
809 """
810 Currency of amounts within `spending_limits`. Defaults to your merchant country's currency.
811 """
812
813
814 class CardholderCreateParamsSpendingControlsSpendingLimit(TypedDict):
815 amount: int
816 """
817 Maximum amount allowed to spend per interval.
818 """
819 categories: NotRequired[
820 List[
821 Literal[
822 "ac_refrigeration_repair",
823 "accounting_bookkeeping_services",
824 "advertising_services",
825 "agricultural_cooperative",
826 "airlines_air_carriers",
827 "airports_flying_fields",
828 "ambulance_services",
829 "amusement_parks_carnivals",
830 "antique_reproductions",
831 "antique_shops",
832 "aquariums",
833 "architectural_surveying_services",
834 "art_dealers_and_galleries",
835 "artists_supply_and_craft_shops",
836 "auto_and_home_supply_stores",
837 "auto_body_repair_shops",
838 "auto_paint_shops",
839 "auto_service_shops",
840 "automated_cash_disburse",
841 "automated_fuel_dispensers",
842 "automobile_associations",
843 "automotive_parts_and_accessories_stores",
844 "automotive_tire_stores",
845 "bail_and_bond_payments",
846 "bakeries",
847 "bands_orchestras",
848 "barber_and_beauty_shops",
849 "betting_casino_gambling",
850 "bicycle_shops",
851 "billiard_pool_establishments",
852 "boat_dealers",
853 "boat_rentals_and_leases",
854 "book_stores",
855 "books_periodicals_and_newspapers",
856 "bowling_alleys",
857 "bus_lines",
858 "business_secretarial_schools",
859 "buying_shopping_services",
860 "cable_satellite_and_other_pay_television_and_radio",
861 "camera_and_photographic_supply_stores",
862 "candy_nut_and_confectionery_stores",
863 "car_and_truck_dealers_new_used",
864 "car_and_truck_dealers_used_only",
865 "car_rental_agencies",
866 "car_washes",
867 "carpentry_services",
868 "carpet_upholstery_cleaning",
869 "caterers",
870 "charitable_and_social_service_organizations_fundraising",
871 "chemicals_and_allied_products",
872 "child_care_services",
873 "childrens_and_infants_wear_stores",
874 "chiropodists_podiatrists",
875 "chiropractors",
876 "cigar_stores_and_stands",
877 "civic_social_fraternal_associations",
878 "cleaning_and_maintenance",
879 "clothing_rental",
880 "colleges_universities",
881 "commercial_equipment",
882 "commercial_footwear",
883 "commercial_photography_art_and_graphics",
884 "commuter_transport_and_ferries",
885 "computer_network_services",
886 "computer_programming",
887 "computer_repair",
888 "computer_software_stores",
889 "computers_peripherals_and_software",
890 "concrete_work_services",
891 "construction_materials",
892 "consulting_public_relations",
893 "correspondence_schools",
894 "cosmetic_stores",
895 "counseling_services",
896 "country_clubs",
897 "courier_services",
898 "court_costs",
899 "credit_reporting_agencies",
900 "cruise_lines",
901 "dairy_products_stores",
902 "dance_hall_studios_schools",
903 "dating_escort_services",
904 "dentists_orthodontists",
905 "department_stores",
906 "detective_agencies",
907 "digital_goods_applications",
908 "digital_goods_games",
909 "digital_goods_large_volume",
910 "digital_goods_media",
911 "direct_marketing_catalog_merchant",
912 "direct_marketing_combination_catalog_and_retail_merchant",
913 "direct_marketing_inbound_telemarketing",
914 "direct_marketing_insurance_services",
915 "direct_marketing_other",
916 "direct_marketing_outbound_telemarketing",
917 "direct_marketing_subscription",
918 "direct_marketing_travel",
919 "discount_stores",
920 "doctors",
921 "door_to_door_sales",
922 "drapery_window_covering_and_upholstery_stores",
923 "drinking_places",
924 "drug_stores_and_pharmacies",
925 "drugs_drug_proprietaries_and_druggist_sundries",
926 "dry_cleaners",
927 "durable_goods",
928 "duty_free_stores",
929 "eating_places_restaurants",
930 "educational_services",
931 "electric_razor_stores",
932 "electric_vehicle_charging",
933 "electrical_parts_and_equipment",
934 "electrical_services",
935 "electronics_repair_shops",
936 "electronics_stores",
937 "elementary_secondary_schools",
938 "emergency_services_gcas_visa_use_only",
939 "employment_temp_agencies",
940 "equipment_rental",
941 "exterminating_services",
942 "family_clothing_stores",
943 "fast_food_restaurants",
944 "financial_institutions",
945 "fines_government_administrative_entities",
946 "fireplace_fireplace_screens_and_accessories_stores",
947 "floor_covering_stores",
948 "florists",
949 "florists_supplies_nursery_stock_and_flowers",
950 "freezer_and_locker_meat_provisioners",
951 "fuel_dealers_non_automotive",
952 "funeral_services_crematories",
953 "furniture_home_furnishings_and_equipment_stores_except_appliances",
954 "furniture_repair_refinishing",
955 "furriers_and_fur_shops",
956 "general_services",
957 "gift_card_novelty_and_souvenir_shops",
958 "glass_paint_and_wallpaper_stores",
959 "glassware_crystal_stores",
960 "golf_courses_public",
961 "government_licensed_horse_dog_racing_us_region_only",
962 "government_licensed_online_casions_online_gambling_us_region_only",
963 "government_owned_lotteries_non_us_region",
964 "government_owned_lotteries_us_region_only",
965 "government_services",
966 "grocery_stores_supermarkets",
967 "hardware_equipment_and_supplies",
968 "hardware_stores",
969 "health_and_beauty_spas",
970 "hearing_aids_sales_and_supplies",
971 "heating_plumbing_a_c",
972 "hobby_toy_and_game_shops",
973 "home_supply_warehouse_stores",
974 "hospitals",
975 "hotels_motels_and_resorts",
976 "household_appliance_stores",
977 "industrial_supplies",
978 "information_retrieval_services",
979 "insurance_default",
980 "insurance_underwriting_premiums",
981 "intra_company_purchases",
982 "jewelry_stores_watches_clocks_and_silverware_stores",
983 "landscaping_services",
984 "laundries",
985 "laundry_cleaning_services",
986 "legal_services_attorneys",
987 "luggage_and_leather_goods_stores",
988 "lumber_building_materials_stores",
989 "manual_cash_disburse",
990 "marinas_service_and_supplies",
991 "marketplaces",
992 "masonry_stonework_and_plaster",
993 "massage_parlors",
994 "medical_and_dental_labs",
995 "medical_dental_ophthalmic_and_hospital_equipment_and_supplies",
996 "medical_services",
997 "membership_organizations",
998 "mens_and_boys_clothing_and_accessories_stores",
999 "mens_womens_clothing_stores",
1000 "metal_service_centers",
1001 "miscellaneous",
1002 "miscellaneous_apparel_and_accessory_shops",
1003 "miscellaneous_auto_dealers",
1004 "miscellaneous_business_services",
1005 "miscellaneous_food_stores",
1006 "miscellaneous_general_merchandise",
1007 "miscellaneous_general_services",
1008 "miscellaneous_home_furnishing_specialty_stores",
1009 "miscellaneous_publishing_and_printing",
1010 "miscellaneous_recreation_services",
1011 "miscellaneous_repair_shops",
1012 "miscellaneous_specialty_retail",
1013 "mobile_home_dealers",
1014 "motion_picture_theaters",
1015 "motor_freight_carriers_and_trucking",
1016 "motor_homes_dealers",
1017 "motor_vehicle_supplies_and_new_parts",
1018 "motorcycle_shops_and_dealers",
1019 "motorcycle_shops_dealers",
1020 "music_stores_musical_instruments_pianos_and_sheet_music",
1021 "news_dealers_and_newsstands",
1022 "non_fi_money_orders",
1023 "non_fi_stored_value_card_purchase_load",
1024 "nondurable_goods",
1025 "nurseries_lawn_and_garden_supply_stores",
1026 "nursing_personal_care",
1027 "office_and_commercial_furniture",
1028 "opticians_eyeglasses",
1029 "optometrists_ophthalmologist",
1030 "orthopedic_goods_prosthetic_devices",
1031 "osteopaths",
1032 "package_stores_beer_wine_and_liquor",
1033 "paints_varnishes_and_supplies",
1034 "parking_lots_garages",
1035 "passenger_railways",
1036 "pawn_shops",
1037 "pet_shops_pet_food_and_supplies",
1038 "petroleum_and_petroleum_products",
1039 "photo_developing",
1040 "photographic_photocopy_microfilm_equipment_and_supplies",
1041 "photographic_studios",
1042 "picture_video_production",
1043 "piece_goods_notions_and_other_dry_goods",
1044 "plumbing_heating_equipment_and_supplies",
1045 "political_organizations",
1046 "postal_services_government_only",
1047 "precious_stones_and_metals_watches_and_jewelry",
1048 "professional_services",
1049 "public_warehousing_and_storage",
1050 "quick_copy_repro_and_blueprint",
1051 "railroads",
1052 "real_estate_agents_and_managers_rentals",
1053 "record_stores",
1054 "recreational_vehicle_rentals",
1055 "religious_goods_stores",
1056 "religious_organizations",
1057 "roofing_siding_sheet_metal",
1058 "secretarial_support_services",
1059 "security_brokers_dealers",
1060 "service_stations",
1061 "sewing_needlework_fabric_and_piece_goods_stores",
1062 "shoe_repair_hat_cleaning",
1063 "shoe_stores",
1064 "small_appliance_repair",
1065 "snowmobile_dealers",
1066 "special_trade_services",
1067 "specialty_cleaning",
1068 "sporting_goods_stores",
1069 "sporting_recreation_camps",
1070 "sports_and_riding_apparel_stores",
1071 "sports_clubs_fields",
1072 "stamp_and_coin_stores",
1073 "stationary_office_supplies_printing_and_writing_paper",
1074 "stationery_stores_office_and_school_supply_stores",
1075 "swimming_pools_sales",
1076 "t_ui_travel_germany",
1077 "tailors_alterations",
1078 "tax_payments_government_agencies",
1079 "tax_preparation_services",
1080 "taxicabs_limousines",
1081 "telecommunication_equipment_and_telephone_sales",
1082 "telecommunication_services",
1083 "telegraph_services",
1084 "tent_and_awning_shops",
1085 "testing_laboratories",
1086 "theatrical_ticket_agencies",
1087 "timeshares",
1088 "tire_retreading_and_repair",
1089 "tolls_bridge_fees",
1090 "tourist_attractions_and_exhibits",
1091 "towing_services",
1092 "trailer_parks_campgrounds",
1093 "transportation_services",
1094 "travel_agencies_tour_operators",
1095 "truck_stop_iteration",
1096 "truck_utility_trailer_rentals",
1097 "typesetting_plate_making_and_related_services",
1098 "typewriter_stores",
1099 "u_s_federal_government_agencies_or_departments",
1100 "uniforms_commercial_clothing",
1101 "used_merchandise_and_secondhand_stores",
1102 "utilities",
1103 "variety_stores",
1104 "veterinary_services",
1105 "video_amusement_game_supplies",
1106 "video_game_arcades",
1107 "video_tape_rental_stores",
1108 "vocational_trade_schools",
1109 "watch_jewelry_repair",
1110 "welding_repair",
1111 "wholesale_clubs",
1112 "wig_and_toupee_stores",
1113 "wires_money_orders",
1114 "womens_accessory_and_specialty_shops",
1115 "womens_ready_to_wear_stores",
1116 "wrecking_and_salvage_yards",
1117 ]
1118 ]
1119 ]
1120 """
1121 Array of strings containing [categories](https://docs.stripe.com/api#issuing_authorization_object-merchant_data-category) this limit applies to. Omitting this field will apply the limit to all categories.
1122 """
1123 interval: Literal[
1124 "all_time", "daily", "monthly", "per_authorization", "weekly", "yearly"
1125 ]
1126 """
1127 Interval (or event) to which the amount applies.
1128 """