> ## Documentation Index
> Fetch the complete documentation index at: https://docs.singapay.id/llms.txt
> Use this file to discover all available pages before exploring further.

# List Transactions

> Retrieve a paginated list of bill transactions for the authenticated merchant. Supports filtering by transaction ID, customer ID, status, and date range.



## OpenAPI

````yaml https://biller-b2b.singapay.id/docs post /api/v1/list-bill-transaction
openapi: 3.0.0
info:
  title: B2B Biller API
  description: >-
    API documentation for the B2B Biller service. Provides endpoints for bill
    payments (postpaid/prepaid), transaction management, balance checking, and
    authentication.
  version: 1.0.0
servers:
  - url: https://sandbox-biller-b2b.singapay.id
    description: Sandbox
  - url: https://biller-b2b.singapay.id
    description: Production
security: []
tags:
  - name: Authentication
    description: OAuth2 token generation
  - name: General
    description: Bill transaction listing, detail, balance, and utilities
  - name: Postpaid V1
    description: Postpaid bill inquiry and payment (V1)
  - name: Prepaid V1
    description: Prepaid inquiry and payment — PLN Token, Pulsa, Paket Data (V1)
  - name: Postpaid V2
    description: Postpaid bill inquiry and payment (V2)
  - name: Prepaid V2
    description: Prepaid inquiry, payment, and game topup (V2)
paths:
  /api/v1/list-bill-transaction:
    post:
      tags:
        - General
      summary: List Transactions
      description: >-
        Retrieve a paginated list of bill transactions for the authenticated
        merchant. Supports filtering by transaction ID, customer ID, status, and
        date range.
      operationId: listBillTransaction
      parameters:
        - name: X-PARTNER-ID
          in: header
          description: Merchant API key
          required: true
          schema:
            type: string
        - name: Accept
          in: header
          required: true
          schema:
            type: string
            default: Application/json
      requestBody:
        required: true
        content:
          application/json:
            schema:
              required:
                - command
              properties:
                command:
                  type: string
                  enum:
                    - list-bill-transaction
                  example: list-bill-transaction
                data:
                  description: Optional filters
                  properties:
                    transaction_id:
                      description: Filter by transaction ID
                      type: string
                      nullable: true
                    customer_id:
                      description: Filter by customer ID
                      type: string
                      nullable: true
                    status:
                      description: Filter by status
                      type: string
                      enum:
                        - pending
                        - success
                        - refunded
                        - failed
                      nullable: true
                    start_date:
                      description: Start date (Y-m-d), required with end_date
                      type: string
                      format: date
                      example: '2025-06-01'
                      nullable: true
                    end_date:
                      description: End date (Y-m-d), required with start_date
                      type: string
                      format: date
                      example: '2025-06-01'
                      nullable: true
                    page:
                      description: Page number
                      type: string
                      example: '1'
                      nullable: true
                  type: object
                  nullable: true
              type: object
      responses:
        '200':
          description: Transaction list retrieved successfully
          content:
            application/json:
              schema:
                properties:
                  command:
                    type: string
                    example: list-bill-transaction
                  response_code:
                    type: string
                    example: '00'
                  response_text:
                    type: string
                    example: Operation completed successfully
                  data:
                    properties:
                      bill_transactions:
                        type: array
                        items:
                          $ref: '#/components/schemas/BillTransactionItem'
                      pagination:
                        $ref: '#/components/schemas/PaginationMeta'
                    type: object
                type: object
        '401':
          description: Unauthorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/UnauthorizedErrorResponse'
        '422':
          description: Validation error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ValidationErrorResponse'
      security:
        - bearerAuth: []
components:
  schemas:
    BillTransactionItem:
      description: Bill transaction summary item
      properties:
        transaction_id:
          type: string
          example: 01JXCQMCF879HYR72P4PJFBVRZ
        reference_number:
          type: string
          example: SPTKMSF2G30RJBL0096284584861749552869
        customer_id:
          type: string
          example: '082291501085'
        transaction_type:
          type: string
          enum:
            - postpaid
            - prepaid
          example: prepaid
        status:
          type: string
          enum:
            - pending
            - success
            - refunded
            - failed
          example: pending
        inquired_at:
          type: string
          format: date-time
          example: '2025-06-10 16:43:22'
          nullable: true
        paid_at:
          type: string
          format: date-time
          example: '2025-06-10 17:54:29'
          nullable: true
        net_price:
          type: string
          example: '32500'
        display_price:
          $ref: '#/components/schemas/DisplayPrice'
        other_info:
          type: object
          nullable: true
        created_at:
          type: string
          format: date-time
          example: '2025-06-10 10:54:29'
        product:
          properties:
            code:
              type: string
              example: SPTKMSF2G30
            name:
              type: string
              example: Telkomsel Data Flash 2GB 30hr
          type: object
      type: object
    PaginationMeta:
      description: Pagination metadata
      properties:
        current_page:
          type: integer
          example: 1
        last_page:
          type: integer
          example: 5
        per_page:
          type: integer
          example: 10
        total:
          type: integer
          example: 50
      type: object
    UnauthorizedErrorResponse:
      description: Unauthorized error response (HTTP 401)
      required:
        - status
        - success
        - error
      properties:
        status:
          type: integer
          example: 401
        success:
          type: boolean
          example: false
        error:
          properties:
            code:
              type: integer
              example: 401
            message:
              type: string
              example: Unauthorized merchant, please sign in
          type: object
      type: object
    ValidationErrorResponse:
      description: Validation error response (HTTP 422)
      required:
        - command
        - response_code
        - response_text
        - data
      properties:
        command:
          type: string
          example: detail-bill-transaction
        response_code:
          type: string
          example: '04'
        response_text:
          type: string
          example: Rejected Format Error
        data:
          description: Field-level error messages
          type: object
          example:
            data: The data field is required.
            data.transaction_id: The data.transaction id field is required.
          additionalProperties:
            type: string
      type: object
    DisplayPrice:
      description: Display price breakdown
      properties:
        amount:
          type: string
          example: '100000'
        price:
          type: string
          example: '102500'
      type: object
  securitySchemes:
    bearerAuth:
      type: http
      description: JWT Bearer token obtained from /api/v1.0/access-token/b2b
      bearerFormat: JWT
      scheme: bearer

````