Debian Codegraph @

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