Doc API: https://app.swaggerhub.com/apis-docs/sendrefunds/ManagedSales/1.8.2
import { SendrefundsClient } from "sendrefunds-client";
const client = new SendrefundsClient({
uri: "...",
authorizationBearer: "xxx",
isProduction: true | false
});
- businessCheck
- getBusinessToken
- getBusinessStatus
- createAccessToken
- createAccessTokenFromExtId
- createOrder
- createPayment
- getOrder
- generateFrontUrl
- getOrderList
- getPayment
- getPaymentOrder
- getOrderPayments
- getDocuments
- createRefunds
- getBusinessInformation
File .env
TEST_AUTHORIZATION_BEARER=...
TEST_SR_VALID_BUSINESS_ID=43341091700028
TEST_SR_VALID_REGISTRED_BUSINESS_ID=43341091700028
TEST_SR=1 yarn test