> ## 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.

# Responder no Portal Pickup – API Travel Rule via e-mail

> Responda ao VASP do cliente numa transferência Travel Rule via e-mail, a partir da ligação de pickup, com anexos opcionais. Didit.

Responder no prompt da API do Pickup Portal
Copiar o prompt para a área de transferência

<pre>
  \`Write back to the customer VASP of an EMAIL-rail Travel Rule transfer from the pickup link.

  Endpoint:
  POST [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.

  Request body (JSON, or multipart/form-data with files): the same fields as the transaction's messages endpoint (kind, body, requested\_documents, reply\_to, files). Attachments must be PDF, PNG, JPEG or WebP.

  Failure modes:

  * 400 - invalid body, a file type that is not accepted, 100 messages reached, or reply\_to is not a message of this transfer.
  * 404 - unknown token.
  * 410 - the pickup link expired or the transfer is closed.

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

Colar em


## OpenAPI

````yaml pt/openapi-25.json POST /v3/travel-rule/pickup/{token}/messages/
openapi: 3.0.0
info:
  version: 3.0.0
  title: Didit Verification API
  description: API de Verificação de identidade. Autentique-se com o cabeçalho x-api-key.
servers:
  - url: https://verification.didit.me
security: []
tags: []
paths:
  /v3/travel-rule/pickup/{token}/messages/:
    post:
      tags:
        - Travel Rule
      summary: Responder no portal de recolha
      description: >-
        Público, não autenticado. O VASP de contraparte responde numa
        transferência através da via EMAIL. Tem o mesmo corpo que as mensagens
        da transação; os anexos têm de ser PDF, PNG, JPEG ou WebP. O token é a
        autenticação.
      operationId: createTravelRulePickupMessage
      parameters:
        - name: token
          in: path
          required: true
          schema:
            type: string
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/TravelRuleMessageCreateRequest'
            example:
              kind: MESSAGE
              body: Attached is the proof of address of the wallet holder.
          multipart/form-data:
            schema:
              $ref: '#/components/schemas/TravelRuleMessageCreateRequest'
      responses:
        '201':
          description: A mensagem armazenada.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/TravelRuleMessage'
        '400':
          description: >-
            Corpo inválido, um tipo ou tamanho de ficheiro não aceite, mais de
            100 mensagens na transferência ou um `reply_to` que não seja uma
            mensagem desta transferência.
          content:
            application/json:
              schema:
                type: object
              example:
                requested_documents:
                  - Name at least one document the counterparty should send.
        '404':
          description: Token desconhecido.
        '410':
          description: A ligação de recolha expirou ou a transferência está fechada.
      security:
        - {}
      x-codeSamples:
        - lang: curl
          label: curl
          source: >-
            curl -X POST
            https://verification.didit.me/v3/travel-rule/pickup/{token}/messages/
            \
              -H 'Content-Type: application/json' \
              -d '{"kind": "MESSAGE", "body": "Attached is the proof of address of the wallet holder."}'
components:
  schemas:
    TravelRuleMessageCreateRequest:
      type: object
      description: Envie como JSON, ou como multipart/form-data com os anexos em `files`.
      properties:
        kind:
          type: string
          enum:
            - MESSAGE
            - DOCUMENT_REQUEST
          default: MESSAGE
        body:
          type: string
          maxLength: 5000
          description: >-
            Obrigatório para uma MESSAGE, a menos que um ficheiro esteja
            anexado.
        requested_documents:
          type: array
          items:
            type: string
            maxLength: 255
          maxItems: 10
          description: >-
            Obrigatório (pelo menos um) para um DOCUMENT_REQUEST, e só é
            permitido nesse caso.
        reply_to:
          type: string
          format: uuid
          nullable: true
          description: >-
            Uma mensagem da mesma transferência. Uma resposta que inclua um
            documento satisfaz o pedido de documento a que responde.
        files:
          type: array
          items:
            type: string
            format: binary
          maxItems: 5
          description: Apenas multipart. Até 5 ficheiros de 10 MB cada.
    TravelRuleMessage:
      type: object
      properties:
        id:
          type: string
          format: uuid
        kind:
          type: string
          enum:
            - MESSAGE
            - DOCUMENT_REQUEST
        direction:
          type: string
          enum:
            - INBOUND
            - OUTBOUND
          description: >-
            `OUTBOUND` é o que o próprio lado do leitor enviou. No portal de
            recolha, a direção é definida a partir do lado da contraparte.
        author:
          type: string
          description: >-
            Quem o escreveu do seu próprio lado: o e-mail de um utilizador da
            consola ou uma etiqueta de chave de API, ou o nome do outro VASP.
        body:
          type: string
        requested_documents:
          type: array
          items:
            type: string
          description: O que um DOCUMENT_REQUEST solicita, pelas palavras do requerente.
        reply_to:
          type: string
          format: uuid
          nullable: true
        fulfilled_at:
          type: string
          format: date-time
          nullable: true
          description: >-
            Definido num DOCUMENT_REQUEST assim que uma resposta ao mesmo
            incluir um documento.
        attachment:
          $ref: '#/components/schemas/TravelRuleMessageAttachment'
        created_at:
          type: string
          format: date-time
    TravelRuleMessageAttachment:
      type: object
      nullable: true
      description: >-
        O documento anexado a uma mensagem, armazenado como qualquer outro
        documento de transação.
      properties:
        uuid:
          type: string
          format: uuid
        label:
          type: string
          nullable: true
        note:
          type: string
          nullable: true
        uploaded_by:
          type: string
          nullable: true
          description: >-
            Quem o anexou. No portal de recolha, um ficheiro enviado por si
            mostra o nome do seu VASP, nunca a pessoa ou a chave de API
            associada.
        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 de transferência com limite temporal.
              original_filename:
                type: string
              file_size:
                type: integer

````

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