DevelopersPayment GatewaySDK Setup Options
SDK Setup Options
Supported options for KPG.setup.
| Field | Type | Required | Description |
|---|---|---|---|
| publicKey | string | Yes | Maker Checker integration public key. |
| amount | number|string | Yes | Amount in minor units. |
| hash | string | Yes | SHA-512 hash generated server-side. |
| reference | string | Yes | Unique merchant transaction reference. |
| description | string | Yes | Transaction description. |
| callback | string | Yes | Callback function name or callback URL. |
| mode | string | Yes | test, live, or live-sandbox. Default is live. |
| string | No | Customer email. Recommended. | |
| phone | string | No | Customer phone number. Required for some channels. |
| firstname | string | No | Customer first name. |
| lastname | string | No | Customer last name. |
| enableFrame | boolean | No | Open checkout in an iframe when supported. |
| showSuccessPage | number | No | Show SDK success page after payment. |