@hypawave/sdk 0.1.1 → 0.1.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 +11 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -333,6 +333,17 @@ const settings = await pp.getSettings();
|
|
|
333
333
|
// settings.btc_usd_price
|
|
334
334
|
```
|
|
335
335
|
|
|
336
|
+
### Other Methods
|
|
337
|
+
|
|
338
|
+
Additional methods available — see types for full signatures, or [openapi.json](https://hypawave.com/.well-known/openapi.json) for the complete API reference.
|
|
339
|
+
|
|
340
|
+
- `listInvoices(params?)` — list invoices with filters and pagination
|
|
341
|
+
- `getPayerReceipt(invoiceId, accessToken)` — receipt fetch using a payer access token (no API key needed)
|
|
342
|
+
- `getUploadUrl(params)` — signed URL for encrypted file upload (creator side)
|
|
343
|
+
- `storeFile(params)` — register an uploaded file against an invoice
|
|
344
|
+
- `storeFileKey(params)` — register a file's encryption key against an invoice
|
|
345
|
+
- `request(path, options)` — low-level escape hatch for direct API calls
|
|
346
|
+
|
|
336
347
|
## Error Handling
|
|
337
348
|
|
|
338
349
|
All API errors throw `HypawaveAPIError` with structured fields:
|
package/package.json
CHANGED