Debian Codegraph @

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