Debian Codegraph @

stripe/params/issuing/_cardholder_update_params.py

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