0.2.7 • Published 3 months ago

sendrefunds-client v0.2.7

Weekly downloads
-
License
MIT
Repository
-
Last release
3 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

3 months ago

0.2.6

8 months ago

0.2.3

11 months ago

0.2.2

12 months ago

0.2.5

8 months ago

0.2.4

11 months ago

0.2.1

1 year ago

0.2.0

1 year ago

0.1.8

1 year ago

0.1.7

2 years ago

0.1.4

2 years ago

0.1.3

2 years ago

0.1.6

2 years ago

0.1.5

2 years ago

0.1.2

2 years ago

0.1.1

2 years ago

0.1.0

2 years ago

0.0.4

2 years ago

0.0.3

2 years ago

0.0.2

2 years ago

0.0.1

2 years ago

0.0.0

2 years ago