Skip to main content

Documentation Index

Fetch the complete documentation index at: https://primer.io/docs/llms.txt

Use this file to discover all available pages before exploring further.

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",
}