@revolut/checkout
TypeScript icon, indicating that this package has built-in type declarations

1.1.18 • Public • Published

RevolutCheckout.js

Install

npm install @revolut/checkout
yarn add @revolut/checkout

Usage

RevolutCheckout

Params

import RevolutCheckout from '@revolut/checkout'

RevolutCheckout('TOKEN_XXX', 'prod').then((instance) => {
  // Work with instance:

  // instance.payWithPopup()
  // instance.createCardField()
  // ...
})

For more information read our official documentation.

TypeScript support

Following types are availble for import:

import {
  ValidationErrorType,
  ValidationError,
  RevolutCheckoutErrorType,
  RevolutCheckoutError,
  FieldStatus,
  FieldClasses,
  FieldStyles,
  RevolutCheckoutCardField,
  RevolutCheckoutInstance,
} from '@revolut/checkout'

Docs


© 2023 Revolut Ltd

Package Sidebar

Install

npm i @revolut/checkout

Weekly Downloads

3,063

Version

1.1.18

License

Apache-2.0

Unpacked Size

53.4 kB

Total Files

36

Last publish

Collaborators

  • atsikov-revo
  • aleksei.protasov
  • danieleb
  • nihgwu
  • andrewbents