CreateCryptoPaymentTokenResult:
    | { cryptoPaymentToken: string; error?: undefined }
    | { cryptoPaymentToken?: undefined; error: CryptoOnrampError }

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: CryptoOnrampError }
    • OptionalcryptoPaymentToken?: undefined
    • error: CryptoOnrampError

      Present if token creation failed with an error.