@revolut/checkout
Advanced tools
Comparing version 1.0.0 to 1.0.1
@@ -9,4 +9,4 @@ "use strict"; | ||
* | ||
* @param token `public_id` from [create payment order](https://developer.revolut.com/docs/merchant-api/#api-api-order-object-create-payment-order) request on BE | ||
* @param mode BE environment | ||
* @param token `public_id` from [create payment order](https://developer.revolut.com/docs/merchant-api/#api-api-order-object-create-payment-order) API request | ||
* @param mode [API](https://developer.revolut.com/docs/merchant-api/#api) environment, default to `'prod'` | ||
* | ||
@@ -13,0 +13,0 @@ * @see [`RevolutCheckout.js` reference](https://developer.revolut.com/docs/merchant-api/#revolutcheckout-js-reference-revolutcheckout) |
@@ -7,4 +7,4 @@ import { MODE, URLS } from './constants'; | ||
* | ||
* @param token `public_id` from [create payment order](https://developer.revolut.com/docs/merchant-api/#api-api-order-object-create-payment-order) request on BE | ||
* @param mode BE environment | ||
* @param token `public_id` from [create payment order](https://developer.revolut.com/docs/merchant-api/#api-api-order-object-create-payment-order) API request | ||
* @param mode [API](https://developer.revolut.com/docs/merchant-api/#api) environment, default to `'prod'` | ||
* | ||
@@ -11,0 +11,0 @@ * @see [`RevolutCheckout.js` reference](https://developer.revolut.com/docs/merchant-api/#revolutcheckout-js-reference-revolutcheckout) |
{ | ||
"name": "@revolut/checkout", | ||
"version": "1.0.0", | ||
"version": "1.0.1", | ||
"description": "RevolutCheckout.js as npm module", | ||
@@ -5,0 +5,0 @@ "author": "John Grishin <hi@johngrish.in>", |
# [RevolutCheckout.js](https://developer.revolut.com/docs/merchant-api/#revolutcheckout-js-reference) | ||
[![](https://flat.badgen.net/npm/v/@revolut/checkout?cache=600)](https://www.npmjs.com/package/@revolut/checkout) [![](https://flat.badgen.net/bundlephobia/minzip/@revolut/checkout?cache=600)](https://bundlephobia.com/result?p=@revolut/checkout) | ||
[![](https://flat.badgen.net/npm/v/@revolut/checkout)](https://www.npmjs.com/package/@revolut/checkout) [![](https://flat.badgen.net/bundlephobia/minzip/@revolut/checkout)](https://bundlephobia.com/result?p=@revolut/checkout) | ||
@@ -19,2 +19,7 @@ ## Install | ||
#### Params | ||
- `token: string` — `public_id` from [create payment order](https://developer.revolut.com/docs/merchant-api/#api-api-order-object-create-payment-order) API request | ||
- <code>mode?: '<a href="https://business.revolut.com">prod</a>' | '<a href="https://sandbox-business.revolut.com">sandbox</a>'</code> — [API](https://developer.revolut.com/docs/merchant-api/#api) environment, default to `'prod'` | ||
```js | ||
@@ -53,3 +58,10 @@ import RevolutCheckout from '@revolut/checkout' | ||
## Docs | ||
- [RevolutCheckout.js reference](https://developer.revolut.com/docs/merchant-api/#revolutcheckout-js-reference) | ||
- [API](https://developer.revolut.com/docs/merchant-api/#api) | ||
- [Integration examples](https://developer.revolut.com/docs/merchant-api/#integration-examples) | ||
- [Plugins](https://developer.revolut.com/docs/merchant-api/#plugins) | ||
--- | ||
© 2020 Revolut Ltd |
@@ -6,4 +6,4 @@ import { RevolutCheckoutInstance, Mode } from './types'; | ||
* | ||
* @param token `public_id` from [create payment order](https://developer.revolut.com/docs/merchant-api/#api-api-order-object-create-payment-order) request on BE | ||
* @param mode BE environment | ||
* @param token `public_id` from [create payment order](https://developer.revolut.com/docs/merchant-api/#api-api-order-object-create-payment-order) API request | ||
* @param mode [API](https://developer.revolut.com/docs/merchant-api/#api) environment, default to `'prod'` | ||
* | ||
@@ -10,0 +10,0 @@ * @see [`RevolutCheckout.js` reference](https://developer.revolut.com/docs/merchant-api/#revolutcheckout-js-reference-revolutcheckout) |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
19003
66