1.0.24 • Published 9 months ago

@trustshare/rest v1.0.24

Weekly downloads
-
License
ISC
Repository
-
Last release
9 months ago

📖 Documentation

See our in-depth documentation to learn how you can use the trustshare REST client to integrate with our platform.

🔧 Installation

To use the REST client on your back-end service, you can easily install our package from NPM:

# via npm:
npm install --save @trustshare/rest

# via yarn
yarn add @trustshare/rest

🚀 Quick start

To use our client, you will need to sign up or log in to the dashboard to acquire a private API key used to instantiate the REST client. You can use our handy getting started guide that describes setting up your organisation on the dashboard.

Once you have access to your organisation's private key, you can easily instantiate and start using the REST client. With all this out of the way, you can use the newly set up client to achieve tasks needed for integration such as creating a payment intent.

import rest from '@trustshare/rest';

const trustshare = rest('<YOUR_PRIVATE_API_KEY>');

const result = await trustshare.v1.createPaymentIntent({ ... });
1.0.24

9 months ago

1.0.23

11 months ago

1.0.22

11 months ago

1.0.21

12 months ago

1.0.20

12 months ago

1.0.19

1 year ago

1.0.18

1 year ago

1.0.17

1 year ago

1.0.16

1 year ago

1.0.15

1 year ago

1.0.14

1 year ago

1.0.13

1 year ago

1.0.11

1 year ago

1.0.12

1 year ago

1.0.9

1 year ago

1.0.8

1 year ago

1.0.7

1 year ago

1.0.6

1 year ago

1.0.5

1 year ago

1.0.4

1 year ago

1.0.10

1 year ago

1.0.2

1 year ago

1.0.1

1 year ago

1.0.0

2 years ago

1.0.3

1 year ago

0.0.18

2 years ago

0.0.15

2 years ago

0.0.17

2 years ago

0.0.10

2 years ago

0.0.11

2 years ago

0.0.12

2 years ago

0.0.13

2 years ago

0.0.14

2 years ago

0.0.9

2 years ago

0.0.8

2 years ago

0.0.6

2 years ago

0.0.5

2 years ago

0.0.4

2 years ago

0.0.1

2 years ago