0.2.7 • Published 10 months ago

sendrefunds-client v0.2.7

Weekly downloads
-
License
MIT
Repository
-
Last release
10 months ago

Sendrefunds Client

Doc API: https://app.swaggerhub.com/apis-docs/sendrefunds/ManagedSales/1.8.2

Usage

import { SendrefundsClient } from "sendrefunds-client";

const client = new SendrefundsClient({
  uri: "...",
  authorizationBearer: "xxx",
  isProduction: true | false
});

Methods

  • businessCheck
  • getBusinessToken
  • getBusinessStatus
  • createAccessToken
  • createAccessTokenFromExtId
  • createOrder
  • createPayment
  • getOrder
  • generateFrontUrl
  • getOrderList
  • getPayment
  • getPaymentOrder
  • getOrderPayments
  • getDocuments
  • createRefunds
  • getBusinessInformation

Test

Env

File .env

TEST_AUTHORIZATION_BEARER=...
TEST_SR_VALID_BUSINESS_ID=43341091700028
TEST_SR_VALID_REGISTRED_BUSINESS_ID=43341091700028

Run on API

TEST_SR=1 yarn test
0.2.7

10 months ago

0.2.6

1 year ago

0.2.3

2 years ago

0.2.2

2 years ago

0.2.5

1 year ago

0.2.4

2 years ago

0.2.1

2 years ago

0.2.0

2 years ago

0.1.8

2 years ago

0.1.7

3 years ago

0.1.4

3 years ago

0.1.3

3 years ago

0.1.6

3 years ago

0.1.5

3 years ago

0.1.2

3 years ago

0.1.1

3 years ago

0.1.0

3 years ago

0.0.4

3 years ago

0.0.3

3 years ago

0.0.2

3 years ago

0.0.1

3 years ago

0.0.0

3 years ago