payment
GKash payment webview redirect page
Returns an HTML page that automatically submits payment form to GKash. Designed for Flutter mobile apps to load in a webview. The page will auto-redirect to GKash payment page.
**Usage in Flutter:**
```dart
// Create payment first via POST /payment/gkash/create
// Then load this URL in webview:
WebView(
initialUrl: 'https://your-api.com/payment/gkash/webview?refNo=YOUR_REF_NO',
)
```
**Query Parameters:**
- refNo (required): Payment reference number from create payment response
- OR provide all payment parameters to create payment on-the-fly
get/payment/gkash/webview
Query parameters
refNostring
Example:16twtopup34567890123
Payment reference number (if payment already created, exactly 20 characters)
transactionTypestring
Example:SUBSCRIPTION
Transaction type (if creating new payment)
amountstring
Example:100.00
Payment amount (if creating new payment)
currencystring required
prodDescstring required
userNamestring required
userEmailstring required
userContactstring required
recurringTypestring required
memberIDstring required
returnUrlstring required
callbackUrlstring required
v_billemailstring
Example:billing@example.com
Billing email override (if creating new payment). If not provided, userEmail will be used.
v_billphonestring
Example:+60123456789
Billing phone override (if creating new payment). If not provided, userContact will be used.
Response
HTML page that auto-submits to GKash payment form
Changes
No recorded changes to this endpoint across all 1 revision of this API.