@spritz-finance/api-client 0.3.0 → 0.3.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 +20 -23
- package/dist/spritz-api-client.d.ts +164 -101
- package/dist/spritz-api-client.js +31 -19
- package/dist/spritz-api-client.mjs +40 -28
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -735,34 +735,31 @@ const onrampPayment = await client.onrampPayment.create({
|
|
|
735
735
|
### Retrieve all onramp payments for an account
|
|
736
736
|
|
|
737
737
|
```typescript
|
|
738
|
-
const payments = await client.onrampPayment.list()
|
|
738
|
+
const payments = await client.onrampPayment.list()[
|
|
739
|
+
// Example response
|
|
739
740
|
|
|
740
|
-
// Example response
|
|
741
|
-
|
|
742
|
-
[
|
|
743
741
|
{
|
|
744
|
-
|
|
745
|
-
|
|
746
|
-
|
|
747
|
-
|
|
748
|
-
|
|
749
|
-
|
|
750
|
-
|
|
751
|
-
|
|
752
|
-
|
|
753
|
-
|
|
754
|
-
|
|
755
|
-
|
|
756
|
-
|
|
742
|
+
id: '653fab35ad263e5ae8b0e605',
|
|
743
|
+
amount: 100,
|
|
744
|
+
feeAmount: 1.5,
|
|
745
|
+
depositInstructions: {
|
|
746
|
+
amount: 101.5,
|
|
747
|
+
currency: 'USD',
|
|
748
|
+
bankName: 'Bank of Nowhere',
|
|
749
|
+
bankAddress: '1800 North Pole St., Orlando, FL 32801',
|
|
750
|
+
bankBeneficiaryName: 'Bridge Ventures Inc',
|
|
751
|
+
bankRoutingNumber: '123456789',
|
|
752
|
+
bankAccountNumber: '11223344556677',
|
|
753
|
+
paymentMethod: 'WIRE',
|
|
754
|
+
depositMessage: 'BVI72D90851F051F4189',
|
|
757
755
|
},
|
|
758
|
-
|
|
759
|
-
|
|
760
|
-
|
|
761
|
-
|
|
762
|
-
|
|
756
|
+
network: 'ethereum',
|
|
757
|
+
token: 'USDC',
|
|
758
|
+
address: '0xbb76483e33e01315438d8f6cf1aee9c9b85f433b',
|
|
759
|
+
status: 'AWAITING_FUNDS',
|
|
760
|
+
createdAt: '2023-10-30T13:10:13.521Z',
|
|
763
761
|
}
|
|
764
762
|
]
|
|
765
|
-
|
|
766
763
|
```
|
|
767
764
|
|
|
768
765
|
## Webhooks
|