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

# 列出取件消息 API - Travel Rule 邮件通道

> 通过交易对手 VASP 一侧的取件链接，读取 Didit 邮件通道 Travel Rule 转账的消息。

列出提货消息 API 提示词
将提示词复制到剪贴板

<pre>
  \`Read the messages of an EMAIL-rail Travel Rule transfer as the counterparty VASP sees them.

  Endpoint:
  GET [https://verification.didit.me/v3/travel-rule/pickup/\{token}/messages/](https://verification.didit.me/v3/travel-rule/pickup/\{token}/messages/)

  Authentication:
  None - the one-time pickup link token is the credential.

  What to read from the response:

  * A plain array, oldest first, from the counterparty's side: what the customer sent has direction INBOUND and its author is the customer's VASP name.

  Failure modes:

  * 404 - unknown token.
  * 410 - the pickup link expired or the transfer is closed.

  Full guide: /transaction-monitoring/travel-rule#messages-and-document-requests.\`
</pre>

粘贴到


## OpenAPI

````yaml zh/openapi-25.json GET /v3/travel-rule/pickup/{token}/messages/
openapi: 3.0.0
info:
  version: 3.0.0
  title: Didit Verification API
  description: 身份证件验证 API。使用 x-api-key 请求头进行身份验证。
servers:
  - url: https://verification.didit.me
security: []
tags: []
paths:
  /v3/travel-rule/pickup/{token}/messages/:
    get:
      tags:
        - Travel Rule
      summary: 列出自提消息
      description: >-
        公开，无需身份验证。交易对手 VASP 读取的 EMAIL-rail 传输消息：客户发送的内容为 `INBOUND`，并带有客户 VASP
        名称的签名。token 即作为身份验证。
      operationId: listTravelRulePickupMessages
      parameters:
        - name: token
          in: path
          required: true
          schema:
            type: string
      responses:
        '200':
          description: 来自交易对手方的消息，按时间从旧到新排序。
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/TravelRuleMessage'
        '404':
          description: 未知的 token。
        '410':
          description: 提取链接已过期或转账已关闭。
      security:
        - {}
      x-codeSamples:
        - lang: curl
          label: curl
          source: >-
            curl
            https://verification.didit.me/v3/travel-rule/pickup/{token}/messages/
components:
  schemas:
    TravelRuleMessage:
      type: object
      properties:
        id:
          type: string
          format: uuid
        kind:
          type: string
          enum:
            - MESSAGE
            - DOCUMENT_REQUEST
        direction:
          type: string
          enum:
            - INBOUND
            - OUTBOUND
          description: '`OUTBOUND` 是读取方自身发送的内容。在 pickup 门户中，方向是来自交易对手一方。'
        author:
          type: string
          description: 在其所属方写入该内容的主体：控制台用户的邮箱、API 密钥标签，或对方 VASP 的名称。
        body:
          type: string
        requested_documents:
          type: array
          items:
            type: string
          description: DOCUMENT_REQUEST 所请求的内容，以请求者的措辞描述。
        reply_to:
          type: string
          format: uuid
          nullable: true
        fulfilled_at:
          type: string
          format: date-time
          nullable: true
          description: 一旦对 DOCUMENT_REQUEST 的回复携带了证件，便会在该请求上设置。
        attachment:
          $ref: '#/components/schemas/TravelRuleMessageAttachment'
        created_at:
          type: string
          format: date-time
    TravelRuleMessageAttachment:
      type: object
      nullable: true
      description: 附加到消息的证件，像任何其他交易证件一样存储。
      properties:
        uuid:
          type: string
          format: uuid
        label:
          type: string
          nullable: true
        note:
          type: string
          nullable: true
        uploaded_by:
          type: string
          nullable: true
          description: 附加该文件的主体。在提取门户中，您发送的文件会显示您的 VASP 名称，绝不会显示其背后的个人或 API 密钥。
        created_at:
          type: string
          format: date-time
        files:
          type: array
          items:
            type: object
            properties:
              uuid:
                type: string
                format: uuid
              file_url:
                type: string
                nullable: true
                description: 有时限的下载 URL。
              original_filename:
                type: string
              file_size:
                type: integer

````

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