action increase_update_a_card { label: "Update a Card" provider: increase method: PATCH path: "/cards/{card_id}" encoding: json input: { type: "object" properties: { billing_address: { type: "object" description: "The card's updated billing address." required: ["city", "line1", "postal_code", "state"] properties: { city: { type: "string" description: "The city of the billing address." } line1: { type: "string" description: "The first line of the billing address." } line2: { type: "string" description: "The second line of the billing address." } postal_code: { type: "string" description: "The postal code of the billing address." } state: { type: "string" description: "The US state of the billing address." } } } card_id: { type: "string" description: "The card identifier." } description: { type: "string" description: "The description you choose to give the card." } digital_wallet: { type: "object" description: "The contact information used in the two-factor steps for digital wallet card creation. At least one field must be present to complete the digital wallet steps." properties: { card_profile_id: { type: "string" description: "The card profile assigned to this digital card. Card profiles may also be assigned at the program level." } email: { type: "string" description: "An email address that can be used to verify the cardholder via one-time passcode over email." } phone: { type: "string" description: "A phone number that can be used to verify the cardholder via one-time passcode over SMS." } } } status: { type: "string" description: "The status to update the Card with." enum: ["active", "disabled", "canceled"] } } required: ["card_id"] additionalProperties: false } output: { type: "object" description: "Cards are commercial credit cards. They'll immediately work for online purchases after you create them. All cards maintain a credit limit of 100% of the Account’s available balance at the time of transaction. Funds are deducted from the Account upon transaction settlement." required: ["account_id", "billing_address", "created_at", "description", "digital_wallet", "expiration_month", "expiration_year", "id", "last4", "status", "type"] properties: { account_id: { type: "string" description: "The identifier for the account this card belongs to." } billing_address: { type: "object" description: "The Card's billing address." required: ["city", "line1", "line2", "postal_code", "state"] properties: { city: { type: "string" description: "The city of the billing address." } line1: { type: "string" description: "The first line of the billing address." } line2: { type: "string" description: "The second line of the billing address." } postal_code: { type: "string" description: "The postal code of the billing address." } state: { type: "string" description: "The US state of the billing address." } } } created_at: { type: "string" format: "date-time" description: "The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) date and time at which the Card was created." } description: { type: "string" description: "The card's description for display purposes." } digital_wallet: { type: "object" description: "The contact information used in the two-factor steps for digital wallet card creation. At least one field must be present to complete the digital wallet steps." required: ["card_profile_id", "email", "phone"] properties: { card_profile_id: { type: "string" description: "The card profile assigned to this digital card. Card profiles may also be assigned at the program level." } email: { type: "string" description: "An email address that can be used to verify the cardholder via one-time passcode over email." } phone: { type: "string" description: "A phone number that can be used to verify the cardholder via one-time passcode over SMS." } } } expiration_month: { type: "integer" description: "The month the card expires in M format (e.g., August is 8)." } expiration_year: { type: "integer" description: "The year the card expires in YYYY format (e.g., 2025)." } id: { type: "string" description: "The card identifier." } last4: { type: "string" description: "The last 4 digits of the Card's Primary Account Number." } status: { type: "string" description: "This indicates if payments can be made with the card." enum: ["active", "disabled", "canceled"] } type: { type: "string" description: "A constant representing the object's type. For this resource it will always be `card`." enum: ["card"] } } } }