Stripe Refund

Stripe Refund with amount, status, reason, and linked charge/payment intent.

Report an issue
stripe

Install

$ npx shadcn@latest add @open-types/stripe-refund

Dependencies

Source

import type { StripeMetadata } from "./stripe-shared";

export type StripeRefundStatus = "succeeded" | "pending" | "failed" | "canceled";

export interface StripeRefund {
  id: string;
  object: "refund";
  amount: number;
  charge: string | null;
  currency: string;
  payment_intent: string | null;
  reason: string | null;
  status: StripeRefundStatus;
  metadata: StripeMetadata;
  created: number;
}
import type { StripeMetadata } from "./stripe-shared";

export type StripeRefundStatus = "succeeded" | "pending" | "failed" | "canceled";

export interface StripeRefund {
  id: string;
  object: "refund";
  amount: number;
  charge: string | null;
  currency: string;
  payment_intent: string | null;
  reason: string | null;
  status: StripeRefundStatus;
  metadata: StripeMetadata;
  created: number;
}