Debian Codegraph @

stripe/params/issuing/_card_create_params.py

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