CreateCryptoPaymentTokenResult:
    | { cryptoPaymentToken: string; error?: undefined }
    | { cryptoPaymentToken?: undefined; error: StripeError<OnrampError> }

Result of creating a crypto payment token for the currently selected payment method.

Type declaration

  • { cryptoPaymentToken: string; error?: undefined }
    • cryptoPaymentToken: string

      The crypto payment token ID.

    • Optionalerror?: undefined
  • { cryptoPaymentToken?: undefined; error: StripeError<OnrampError> }
    • OptionalcryptoPaymentToken?: undefined
    • error: StripeError<OnrampError>

      Present if token creation failed with an error.