Interface: SnippeConfig
Defined in: providers/snippe/src/snippe.ts:36
Properties
| Property | Type | Description | Defined in |
|---|---|---|---|
apiKey | string | Snippe API key (snp_...). | providers/snippe/src/snippe.ts:38 |
baseUrl? | string | Base URL override. Defaults to https://api.snippe.sh. | providers/snippe/src/snippe.ts:42 |
cancelUrl? | string | Cancel URL for card payments. The customer is sent here if they abandon the checkout. | providers/snippe/src/snippe.ts:58 |
redirectUrl? | string | Default redirect URL for card payments. The customer is sent here after completing payment. Overridable per-payment via CreateOrderPayload.redirectUrl. | providers/snippe/src/snippe.ts:53 |
timeoutMs? | number | Request timeout in milliseconds (default: 30_000). | providers/snippe/src/snippe.ts:60 |
webhookSecret | string | HMAC-SHA256 signing key for webhook verification. | providers/snippe/src/snippe.ts:40 |
webhookUrl? | string | Default webhook URL applied to createOrder / disburse when the caller doesn't provide one. Provider callbacks POST here. | providers/snippe/src/snippe.ts:47 |