@trustshare/api
TypeScript icon, indicating that this package has built-in type declarations

1.0.22 • Public • Published




API Client
Simple borderless payments infrastructure for marketplaces.
Embedded fintech done right - whether that's escrow, credit, banking or payments.
Design your payment flow with our borderless API.

Home | Documentation | Dashboard

📖 Documentation

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

🔧 Installation

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

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

# via yarn
yarn add @trustshare/api

🚀 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 API 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 API 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 sdk from '@trustshare/api';

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

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

Readme

Keywords

none

Package Sidebar

Install

npm i @trustshare/api

Weekly Downloads

14

Version

1.0.22

License

ISC

Unpacked Size

1.95 MB

Total Files

17

Last publish

Collaborators

  • f5io
  • badrequest400
  • srsholmes
  • trustshare-bot