Learn about our RFC process, Open RFC meetings & more.Join in the discussion! »

@revolut/checkout

1.0.2 • 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


© 2020 Revolut Ltd

Install

npm i @revolut/checkout

DownloadsWeekly Downloads

329

Version

1.0.2

License

Apache-2.0

Unpacked Size

19.1 kB

Total Files

15

Last publish

Collaborators

  • avatar
  • avatar
  • avatar