---
title: "Get payments by member ID"
method: GET
path: "/payment/member/{memberId}"
tags: ["payment"]
---

# Get payments by member ID

`GET /payment/member/{memberId}`

Retrieve all payment transactions for a specific member

## Path parameters

- `memberId` string, required

## Query parameters

- `limit` number
- `offset` number

## Response `200`

Payments retrieved successfully

- PaymentResponseDto[]
  - `paymentId` number, required — Payment ID
  - `refNo` string, required — Reference number (exactly 20 characters)
  - `status` 'pending' | 'processing' | 'success' | 'failed' | 'cancelled', required — Payment status
  - `amount` number, required — Amount
  - `currency` string, required — Currency
  - `transactionType` string, required — Transaction type
  - `ipay88TransId` string — iPay88 Transaction ID
  - `ipay88AuthCode` string — iPay88 Authorization Code
  - `ipay88Status` string — iPay88 Status Code
  - `errorDescription` string — Error description if failed
  - `tokenId` string — Token ID for future payments
  - `cardDetails` CardDetailsDto
    - `last4` string, required — Last 4 digits of card
    - `cardType` string, required — Card type
    - `cardHolderName` string, required — Card holder name
    - `expiryMonth` string, required — Expiry month
    - `expiryYear` string, required — Expiry year
    - `issuingBank` string, required — Card issuing bank
    - `issuingCountry` string, required — Card issuing country
  - `memberId` string — Member ID
  - `walletId` string — Wallet ID
  - `remark` string — Remark
  - `createdAt` string, date-time, required — Created timestamp
  - `updatedAt` string, date-time, required — Updated timestamp
  - `completedAt` string, date-time — Completed timestamp
  - `redirectUrl` string — Redirect URL for initial payment (if no token)
  - `formData` object — Form data for payment page submission (if no token)
  - `epkey` string — Gkash epkey for recurring payments
  - `gkashStatus` string — Gkash status
  - `gkashTransId` string — Gkash transaction ID (POID)
  - `gkashPaymentType` string — Gkash payment type

---

[API](https://skmtc.dev/tonewow/apis/tonewow-database-api.md) · [All operations](https://skmtc.dev/tonewow/apis/tonewow-database-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/tonewow/tonewow-database-api/revisions/f36472974ad4/schema)
