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

# List payments

> List the organization's payments, newest first.



## OpenAPI

````yaml /openapi.json get /api/v1/payments/manage/intents/
openapi: 3.0.3
info:
  title: goChameleon Merchant API
  version: 1.0.0
  description: Create hosted USDC payments on Arc and check their status.
servers:
  - url: https://sandbox-api.gochameleon.xyz
    description: Sandbox — test keys
  - url: https://api.gochameleon.xyz
    description: Production — live keys
security:
  - merchantKey: []
paths:
  /api/v1/payments/manage/intents/:
    get:
      tags:
        - Payments
      summary: List payments
      description: List the organization's payments, newest first.
      operationId: manage_intents_list
      parameters:
        - name: limit
          in: query
          schema:
            type: integer
            minimum: 1
            maximum: 100
            default: 20
        - name: offset
          in: query
          schema:
            type: integer
            minimum: 0
            default: 0
        - name: status
          in: query
          description: One status or comma-separated statuses, e.g. confirmed,underpaid
          schema:
            type: string
        - name: chain
          in: query
          schema:
            type: string
        - name: asset
          in: query
          schema:
            type: string
        - name: reference
          in: query
          schema:
            type: string
        - name: source_type
          in: query
          schema:
            type: string
        - name: source_id
          in: query
          schema:
            type: string
        - name: since
          in: query
          schema:
            type: string
        - name: until
          in: query
          schema:
            type: string
        - name: ordering
          in: query
          schema:
            type: string
            enum:
              - date_added
              - '-date_added'
              - amount
              - '-amount'
              - confirmed_at
              - '-confirmed_at'
              - expires_at
              - '-expires_at'
      responses:
        '200':
          description: Paginated payments, newest first by default
          content:
            application/json:
              schema:
                type: object
                properties:
                  count:
                    type: integer
                  next:
                    type: string
                    nullable: true
                  previous:
                    type: string
                    nullable: true
                  results:
                    type: array
                    items:
                      $ref: '#/components/schemas/MerchantPaymentIntent'
        '400':
          description: Invalid request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/APIError'
        '401':
          description: Missing or invalid API key
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/APIError'
        '403':
          description: Access denied
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/APIError'
        '429':
          description: Rate limit exceeded
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/APIError'
      security:
        - merchantKey: []
components:
  schemas:
    MerchantPaymentIntent:
      type: object
      description: 'The merchant''s view: everything public, plus their own fields.'
      properties:
        support_email:
          type: string
          readOnly: true
        fee_bps:
          type: integer
          maximum: 9223372036854776000
          minimum: 0
          format: int64
        fee_amount:
          type: integer
          maximum: 9223372036854776000
          minimum: 0
          format: int64
        id:
          type: string
          readOnly: true
        status:
          $ref: '#/components/schemas/StatusEnum'
        amount:
          type: integer
          maximum: 9223372036854776000
          minimum: -9223372036854776000
          format: int64
          description: Exact amount the buyer sends, in base units.
        amount_display:
          type: string
          readOnly: true
        listed_amount:
          type: integer
          maximum: 9223372036854776000
          minimum: -9223372036854776000
          format: int64
          description: Advertised price, in base units.
        amount_nonce:
          type: integer
          maximum: 9223372036854776000
          minimum: -9223372036854776000
          format: int64
          description: >-
            Always 0. Payments are distinguished by the on-chain memo, not by a
            fractional surcharge.
        credited_amount:
          type: integer
          maximum: 9223372036854776000
          minimum: -9223372036854776000
          format: int64
        asset:
          type: string
          maxLength: 16
        chain:
          type: string
          maxLength: 32
        chain_id:
          type: integer
          readOnly: true
          nullable: true
        pay_to_address:
          type: string
          description: Snapshot of the wallet address, so the intent stays self-describing.
          maxLength: 128
        tx_hash:
          type: string
          readOnly: true
          nullable: true
        explorer_url:
          type: string
          readOnly: true
          nullable: true
        payer_address:
          type: string
          maxLength: 128
        block_number:
          type: integer
          maximum: 9223372036854776000
          minimum: -9223372036854776000
          format: int64
          nullable: true
        settlement_path:
          oneOf:
            - $ref: '#/components/schemas/SettlementPathEnum'
            - $ref: '#/components/schemas/BlankEnum'
        reference:
          type: string
          description: The merchant's own order id.
          maxLength: 64
        metadata: {}
        origin:
          type: string
          maxLength: 255
        source_type:
          type: string
          maxLength: 64
        source_id:
          type: string
          maxLength: 64
        button:
          type: string
          readOnly: true
          nullable: true
        last_error:
          type: string
          maxLength: 255
        expires_at:
          type: string
          format: date-time
        confirmed_at:
          type: string
          format: date-time
          nullable: true
        date_added:
          type: string
          format: date-time
          readOnly: true
        date_last_modified:
          type: string
          format: date-time
          readOnly: true
      required:
        - amount
        - amount_display
        - button
        - chain
        - chain_id
        - date_added
        - date_last_modified
        - expires_at
        - explorer_url
        - id
        - listed_amount
        - pay_to_address
        - support_email
        - tx_hash
    APIError:
      type: object
      properties:
        code:
          type: string
        message:
          type: string
        details:
          nullable: true
        request_id:
          type: string
          nullable: true
    StatusEnum:
      enum:
        - pending
        - submitted
        - confirmed
        - underpaid
        - failed
        - expired
      type: string
      description: |-
        * `pending` - PENDING
        * `submitted` - SUBMITTED
        * `confirmed` - CONFIRMED
        * `underpaid` - UNDERPAID
        * `failed` - FAILED
        * `expired` - EXPIRED
    SettlementPathEnum:
      enum:
        - erc20
        - native
        - mixed
      type: string
      description: |-
        * `erc20` - ERC20
        * `native` - NATIVE
        * `mixed` - MIXED
    BlankEnum:
      enum:
        - ''
  securitySchemes:
    merchantKey:
      type: http
      scheme: bearer
      bearerFormat: Organization API key
      description: Use gck_test_ keys on sandbox and gck_live_ keys on production.

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.