action increase_create_a_card_dispute { label: "Create a Card Dispute" provider: increase method: POST path: "/card_disputes" encoding: json input: { type: "object" required: ["disputed_transaction_id", "explanation"] properties: { disputed_transaction_id: { type: "string" description: "The Transaction you wish to dispute. This Transaction must have a `source_type` of `card_settlement`." } explanation: { type: "string" description: "Why you are disputing this Transaction." } } } output: { type: "object" description: "If unauthorized activity occurs on a card, you can create a Card Dispute and we'll return the funds if appropriate." required: ["acceptance", "created_at", "disputed_transaction_id", "explanation", "id", "rejection", "status", "type"] properties: { acceptance: { type: "object" description: "If the Card Dispute's status is `accepted`, this will contain details of the successful dispute." required: ["accepted_at", "card_dispute_id", "transaction_id"] properties: { accepted_at: { type: "string" format: "date-time" description: "The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) date and time at which the Card Dispute was accepted." } card_dispute_id: { type: "string" description: "The identifier of the Card Dispute that was accepted." } transaction_id: { type: "string" description: "The identifier of the Transaction that was created to return the disputed funds to your account." } } } 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 Dispute was created." } disputed_transaction_id: { type: "string" description: "The identifier of the Transaction that was disputed." } explanation: { type: "string" description: "Why you disputed the Transaction in question." } id: { type: "string" description: "The Card Dispute identifier." } rejection: { type: "object" description: "If the Card Dispute's status is `rejected`, this will contain details of the unsuccessful dispute." required: ["card_dispute_id", "explanation", "rejected_at"] properties: { card_dispute_id: { type: "string" description: "The identifier of the Card Dispute that was rejected." } explanation: { type: "string" description: "Why the Card Dispute was rejected." } rejected_at: { type: "string" format: "date-time" description: "The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) date and time at which the Card Dispute was rejected." } } } status: { type: "string" description: "The results of the Dispute investigation." enum: ["pending_reviewing", "accepted", "rejected"] } type: { type: "string" description: "A constant representing the object's type. For this resource it will always be `card_dispute`." enum: ["card_dispute"] } } } }