interface PrimerCheckoutData {
  payment?: PrimerCheckoutDataPayment;
  additionalInfo?: PrimerCheckoutAdditionalInfo;
}

interface PrimerCheckoutDataPayment {
  id?: string;
  orderId?: string;
  paymentFailureReason?: PrimerPaymentErrorCode;
}

enum PrimerPaymentErrorCode {
  FAILED = "payment-failed",
  CANCELLED_BY_CUSTOMER = "cancelled-by-customer",
}