Debian Codegraph @

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