payment

Remove GKash token for a member

Remove the GKash token (epkey) for a member to disable recurring payments. This endpoint: - Sets epkey to NULL for all successful GKash payments for the member - Prevents future recurring payments from being initiated - getToken() will return hasToken: false after removal - initiateRecurringPayment() will fail with "No successful GKash payment with epkey found"

**Use Cases:**
- Disable auto-recurring payments for a member
- Allow member to opt-out of recurring payments
- Remove saved payment method

**To Re-enable:**
- Member needs to make a new GKash payment
- New payment will generate a new epkey
- Recurring payments can then be initiated again

**Note:**
- This only removes the epkey from payment records
- Historical payment data is preserved
- The epkey cannot be recovered after removal
delete/payment/gkash/token

Query parameters

memberIDstring required
Example:TWE-123456

Member ID to remove token for

documentIDstring
Example:871215435364

Document ID (IC number) of the member

Response

Token removed successfully

successboolean required

Success status

messagestring required

Response message

dataobject required

Token removal data

Example response

{
  "success": true,
  "message": "GKash token removed successfully",
  "data": {
    "memberID": "TWE-123456",
    "tokensRemoved": 3,
    "message": "All GKash tokens have been removed. Recurring payments are now disabled."
  }
}

Changes

No recorded changes to this endpoint across all 1 revision of this API.