---
title: "Search payments (admin, cross-customer)"
method: GET
path: "/v1/admin/payment"
tags: ["Payment"]
---

# Search payments (admin, cross-customer)

`GET /v1/admin/payment`

## Query parameters

- `customerId` string
- `ids` string
- `externalIds` string
- `statuses` string
- `scheduledAt` string
- `createdAt` string
- `updatedAt` string
- `startedAt` string
- `completedAt` string
- `pageSize` integer
- `direction` union
  - 'asc'
  - 'desc'
- `cursorId` string

## Response `200`

Default Response

- object
  - `items` object[], required
    - `id` string, required
    - `customerId` string, required
    - `externalId` string
    - `status` union, required
      - 'scheduled'
      - 'processing'
      - 'succeeded'
      - 'failed'
      - 'stopped'
      - 'deleted'
    - `creator` object, required
      - `type` 'bill', required
      - `id` string, required
    - `scheduledAt` string, date, required
    - `legs` object[], required
      - `id` string, required
      - `type` union, required
        - 'debitAch'
        - 'creditAch'
        - 'emailSingleUseCard'
        - 'advanceCash'
      - `status` union, required
        - 'pending'
        - 'processing'
        - 'succeeded'
        - 'failed'
      - `source` object, required
      - `target` object, required
      - `fees` object
        - `value` string, required — Decimal number string
        - `currencyCode` string, required
      - `integration` union
        - object
          - `type` 'cfxDeposit', required
          - `id` string
          - `organizationId` string, required
          - `depositRequestId` string
        - object
          - `type` 'cfxWithdrawal', required
          - `id` string, required
          - `organizationId` string, required
        - object
          - `type` 'cardShare', required
          - `id` string, required
          - `cardSpendLimitRuleId` string
          - `cardShareId` string
        - object
          - `type` 'cashAdvance', required
          - `id` string, required
      - `integrationError` union
        - object
          - `type` union, required
            - 'cfxDeposit'
            - 'cfxWithdrawal'
          - `code` string, required
          - `message` string, required
          - `details` object
        - object
          - `type` union, required
            - 'cardShare'
            - 'cashAdvance'
          - `code` string, required
          - `message` string, required
          - `errorCode` string
          - `details` object
      - `startedAt` string, date-time
      - `completedAt` string, date-time
    - `createdAt` string, date-time, required
    - `updatedAt` string, date-time, required
    - `startedAt` string, date-time
    - `completedAt` string, date-time
  - `hasNext` boolean, required

## Other responses

- `400` — Default Response
- `401` — The access to this resource has been denied
- `403` — The access to this resource is forbidden
- `default` — Catch-all error response for any unexpected internal errors

---

[API](https://skmtc.dev/funneldash/apis/surface-admin-api.md) · [All operations](https://skmtc.dev/funneldash/apis/surface-admin-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/funneldash/surface-admin-api/revisions/0dc20381c4a7/schema)
