payluk-escrow-inline-checkout · License: MIT · Peer dependency:
react >= 17 (only for the React entry point).
Entry points
| Import path | Exports |
|---|---|
payluk-escrow-inline-checkout | initEscrowCheckout, pay, EscrowCheckoutError, and all core types. |
payluk-escrow-inline-checkout/react | useEscrowCheckout, EscrowCheckoutButton, EscrowCheckoutButtonProps. |
Functions
Types
React types
Error class
Defaults
| Setting | Default value |
|---|---|
| Widget script URL | https://checkout.payluk.ng/escrow-checkout.min.js |
| Global name | EscrowCheckout |
crossOrigin | anonymous |
| Live API base | https://live.payluk.ng |
| Staging API base | https://staging.live.payluk.ng |
The SDK selects the live or staging base automatically based on your
publishable key. The widget script URL and global name can be overridden via
scriptUrlOverride and globalName in InitConfig
for advanced/self-hosted setups.