@notabene/javascript-sdk 1.24.0 → 1.27.0
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 +11 -2
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -39,6 +39,14 @@ yarn add @notabene/javascript-sdk
|
|
|
39
39
|
|
|
40
40
|
## Usage
|
|
41
41
|
|
|
42
|
+
### Authentication
|
|
43
|
+
|
|
44
|
+
Use the [customer token endpoint](https://devx.notabene.id/docs/customertoken) with your access token to receive a token with a customer's scope.
|
|
45
|
+
|
|
46
|
+
> ⚠️ **IMPORTANT** ⚠️
|
|
47
|
+
>
|
|
48
|
+
> When requesting the `customer token` you **must pass a unique `customerRef` per customer** for ownership proof reusability, otherwise you might encounter unwanted behavior.
|
|
49
|
+
|
|
42
50
|
Create a new Notabene instance:
|
|
43
51
|
|
|
44
52
|
```js
|
|
@@ -266,9 +274,10 @@ Possible fields customization support:
|
|
|
266
274
|
| ------------------------ | -------------- | ---------- | ------------------------------------------------------- |
|
|
267
275
|
| `counterparty` | -- | ☑️ | Counterparty VASP or Wallet (destination or originator) |
|
|
268
276
|
| `dateAndPlaceOfBirth` | ☑️ | -- | Recipient (or Sender) Date and Place of Birth |
|
|
269
|
-
| `geographicAddress` | ☑️ | ☑️
|
|
277
|
+
| `geographicAddress` | ☑️ | ☑️ | Recipient (or Sender) Address |
|
|
270
278
|
| `name` | ☑️ | -- | Recipient (or Sender) Name |
|
|
271
|
-
| `nationalIdentification` | ☑️ | --️
|
|
279
|
+
| `nationalIdentification` | ☑️ | --️ | Recipient (or Sender) National Identification |
|
|
280
|
+
| `country` | ☑️ | ☑️ | Recipient (or Sender) Country of Residence (for natural person) / Country of Registration (for legal person) |
|
|
272
281
|
|
|
273
282
|
**Field Options**
|
|
274
283
|
|
package/package.json
CHANGED