Initial Node.js SDK v1.0.0

This commit is contained in:
garfieldheron
2026-02-19 12:07:39 -05:00
commit 6c252b7495
24 changed files with 1837 additions and 0 deletions

21
dist/client.d.ts vendored Normal file
View File

@@ -0,0 +1,21 @@
import { FetcherPayConfig } from './types';
import { PaymentsClient } from './api/payments';
import { LedgerClient } from './api/ledger';
import { PaymentMethodsClient } from './api/payment-methods';
import { WebhooksClient } from './api/webhooks';
/**
* Main FetcherPay client
*/
export declare class FetcherPay {
private http;
payments: PaymentsClient;
ledger: LedgerClient;
paymentMethods: PaymentMethodsClient;
webhooks: WebhooksClient;
constructor(config: FetcherPayConfig);
/**
* Verify webhook signature
*/
verifyWebhookSignature(payload: string, signature: string, secret: string): boolean;
}
export default FetcherPay;