kotanipay-sdk 1.0.1 → 1.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +4 -8
- package/package.json +1 -1
package/README.md
CHANGED
@@ -14,17 +14,17 @@ Official TypeScript/JavaScript SDK for the KotaniPay API. Simplify crypto-to-mob
|
|
14
14
|
## Installation
|
15
15
|
|
16
16
|
```bash
|
17
|
-
npm install
|
17
|
+
npm install kotanipay/sdk
|
18
18
|
```
|
19
19
|
|
20
20
|
```bash
|
21
|
-
yarn add
|
21
|
+
yarn add kotanipay/sdk
|
22
22
|
```
|
23
23
|
|
24
24
|
## Quick Start
|
25
25
|
|
26
26
|
```typescript
|
27
|
-
import { KotaniPayClient } from '
|
27
|
+
import { KotaniPayClient } from 'kotanipay/sdk';
|
28
28
|
|
29
29
|
// Initialize client
|
30
30
|
const client = new KotaniPayClient({
|
@@ -119,8 +119,7 @@ await client.integrator.create({
|
|
119
119
|
country_code: string
|
120
120
|
});
|
121
121
|
|
122
|
-
|
123
|
-
await client.integrator.getById(id);
|
122
|
+
|
124
123
|
```
|
125
124
|
|
126
125
|
### Authentication
|
@@ -156,9 +155,6 @@ await client.mobileMoney.createCustomer({
|
|
156
155
|
// Get all customers (requires auth)
|
157
156
|
await client.mobileMoney.getAllCustomers();
|
158
157
|
|
159
|
-
// Get customer by ID (requires auth)
|
160
|
-
await client.mobileMoney.getCustomerById(id);
|
161
|
-
```
|
162
158
|
|
163
159
|
## Supported Countries & Networks
|
164
160
|
|