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

# 授权列表

> Lists the purchase instructions (spending authorizations) of the token's customer.



## OpenAPI

````yaml GET /agent/platform/authorizations
openapi: 3.1.0
info:
  title: Clink Agent Portal API
  description: >-
    Agent Portal APIs let an Agent platform read and manage one user's Clink
    account with a portal user token: payment methods, orders, refunds, purchase
    instructions, payment credentials, payment results, and settings.
  version: 1.0.0
servers:
  - url: https://uat-api.clinkbill.com
    description: Sandbox
security:
  - PortalToken: []
paths:
  /agent/platform/authorizations:
    get:
      summary: List authorizations
      description: >-
        Lists the purchase instructions (spending authorizations) of the token's
        customer.
      operationId: listAuthorizations
      parameters:
        - name: pageNum
          in: query
          required: false
          description: Page number, starting at 1.
          schema:
            type: integer
            format: int32
            minimum: 1
            example: 1
        - name: pageSize
          in: query
          required: false
          description: Page size.
          schema:
            type: integer
            format: int32
            example: 20
        - name: status
          in: query
          required: false
          description: Authorization status filter.
          schema:
            type: string
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                type: object
                properties:
                  code:
                    type: integer
                    format: int32
                    description: '`200` on success.'
                    example: 200
                  msg:
                    type: string
                    description: Result message.
                    example: Success
                  data:
                    $ref: '#/components/schemas/AuthorizationPage'
              example:
                code: 200
                msg: Success
                data:
                  total: 1
                  page_num: 1
                  page_size: 20
                  records:
                    - instruction_id: inst_...
                      client_reference_id: 0f1e2d3c-...
                      payment_instrument_id: pi_...
                      card_last_four: '4242'
                      card_type: VIRTUAL_CARD
                      card_scheme: VISA
                      title: Example authorization
                      description: Purchase authorization
                      total_amount_limit: 100
                      currency_code: USD
                      effective_until_time: '2026-02-01T00:00:00Z'
                      is_recurring: false
                      status: ACTIVE
                      agent_info: {}
                      mandates: []
                      usages: []
        '400':
          description: Invalid query parameters.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Missing, expired, or invalid portal token.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '403':
          description: >-
            Wrong token audience, missing scope, or a platform client token used
            instead of a portal token.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '429':
          description: Rate limit exceeded.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
components:
  schemas:
    AuthorizationPage:
      type: object
      properties:
        total:
          type: integer
          description: Number of records.
          example: 1
        page_num:
          type: integer
          description: Page number.
          example: 1
        page_size:
          type: integer
          description: Page size.
          example: 20
        records:
          type: array
          description: Instructions on this page.
          items:
            $ref: '#/components/schemas/Authorization'
    ErrorResponse:
      type: object
      description: Business errors use the standard envelope without `data`.
      properties:
        code:
          type: integer
          description: >-
            Numeric business error code. Judge an error by the HTTP status
            together with `code`, not by a string error code.
        msg:
          type: string
          description: Human-readable description.
    Authorization:
      type: object
      properties:
        instruction_id:
          type: string
          description: Instruction ID.
          example: inst_...
        client_reference_id:
          type: string
          description: >-
            The instruction's own reference. For instructions created through
            the portal, Clink generates a random value. It is not the create
            request's `request_id` and not the `client_reference_id` used for
            credentials and result reports; do not use it to reconcile a
            purchase.
          example: 0f1e2d3c-...
        payment_instrument_id:
          type: string
          description: Payment method the instruction uses.
          example: pi_...
        card_last_four:
          type: string
          description: Last four digits of the card.
          example: '4242'
        card_type:
          type: string
          description: Card type, for example `VIRTUAL_CARD`.
          example: VIRTUAL_CARD
        card_scheme:
          type: string
          description: Card scheme, for example `VISA`.
          example: VISA
        title:
          type: string
          description: Instruction title.
          example: Example authorization
        description:
          type: string
          description: Instruction description.
          example: Purchase authorization
        total_amount_limit:
          type: number
          description: Total amount limit of the instruction.
          example: 100
        currency_code:
          type: string
          description: Currency code.
          example: USD
        effective_until_time:
          type: string
          description: Last time the instruction can be used.
          format: date-time
          example: '2026-02-01T00:00:00Z'
        is_recurring:
          type: boolean
          description: Whether the instruction contains recurring mandates.
          example: false
        status:
          type: string
          description: >-
            Instruction status, for example `CREATED`, `PENDING`, or `ACTIVE`. A
            new instruction becomes `ACTIVE` only after the user approves it.
          example: ACTIVE
        agent_info:
          type: object
          description: Agent that created the instruction.
        mandates:
          type: array
          description: Mandates of the instruction.
          items:
            type: object
            description: Mandate.
        usages:
          type: array
          description: Raw usage records. Compute used and remaining amounts from them.
          items:
            type: object
            description: Usage record.
  securitySchemes:
    PortalToken:
      type: http
      scheme: bearer
      description: >-
        Portal user token from `POST /agent/cwallet/platform/portal/tokens`.
        Reads require `portal:read`; writes require `portal:write`.

````

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