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

# Aceptar una transferencia



## OpenAPI

````yaml /public/tinapiv8.yaml post /v1/transfer/{action_id}/accept
openapi: 3.0.0
info:
  version: 2.4.2
  title: TINAPI
servers: []
security:
  - apiKeyAuth: []
  - apiTokenAuth: []
tags:
  - name: Action
    description: Endpoint related to actions (transactions) in TIN platform
  - name: Transfer
    description: Endpoint related to transfers in TIN platform
  - name: Token
    description: Endpoint related to token in TIN platform
paths:
  /v1/transfer/{action_id}/accept:
    post:
      tags:
        - Transfer
      summary: Aceptar una transferencia
      operationId: acceptP2Ptranfer
      parameters:
        - in: path
          name: action_id
          schema:
            type: string
          required: true
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/AcceptTransferRequest'
      responses:
        '100':
          description: You don't have permissions to access this method
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '102':
          description: Invalid labels
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '200':
          description: Successful Acceptance of a transfer
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CreateTransferResponse'
        '400':
          description: Transfer error message
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
components:
  schemas:
    AcceptTransferRequest:
      type: object
      properties:
        signer:
          $ref: '#/components/schemas/SignerObject'
        wallet:
          $ref: '#/components/schemas/WalletObject'
    ErrorResponse:
      properties:
        error:
          $ref: '#/components/schemas/GenericError'
    CreateTransferResponse:
      type: object
      properties:
        action_id:
          type: string
        source:
          type: string
        target:
          type: string
        symbol:
          type: string
        amount:
          type: string
        snapshot:
          $ref: '#/components/schemas/Snapshot'
        labels:
          type: object
          properties:
            tx_ref:
              type: string
            created:
              type: string
            type:
              type: string
            hash:
              type: string
            status:
              type: string
        error:
          $ref: '#/components/schemas/GenericError'
        _auth:
          $ref: '#/components/schemas/AuthMetadata'
    SignerObject:
      type: object
      properties:
        handle:
          type: string
    WalletObject:
      type: object
      properties:
        handle:
          type: string
        signer:
          type: array
          items:
            type: string
        default:
          type: string
        symbolDefaults:
          type: object
        labels:
          type: object
          properties:
            type:
              type: string
            channelSms:
              type: string
    GenericError:
      type: object
      properties:
        code:
          type: integer
        message:
          type: string
        details:
          type: object
    Snapshot:
      type: object
      properties:
        target:
          type: object
          properties:
            wallet:
              $ref: '#/components/schemas/SnapshotWalletObject'
            signer:
              $ref: '#/components/schemas/SnapshotSignerObject'
            network:
              $ref: '#/components/schemas/SnapshotNetworkObject'
        source:
          type: object
          properties:
            wallet:
              $ref: '#/components/schemas/SnapshotWalletObject'
            signer:
              $ref: '#/components/schemas/SnapshotSignerObject'
            network:
              $ref: '#/components/schemas/SnapshotNetworkObject'
        symbol:
          type: object
          properties:
            wallet:
              $ref: '#/components/schemas/SnapshotWalletObject'
            signer:
              $ref: '#/components/schemas/SnapshotSignerObject'
            network:
              $ref: '#/components/schemas/SnapshotNetworkObject'
    AuthMetadata:
      type: object
      properties:
        owner:
          type: string
        realm:
          type: string
        organization:
          type: string
        domain:
          type: string
    SnapshotWalletObject:
      type: object
      properties:
        labels:
          type: object
        handle:
          type: string
        signer:
          type: array
          items:
            type: string
        default:
          type: string
        symbolDefaults:
          type: object
    SnapshotSignerObject:
      type: object
      properties:
        handle:
          type: string
        labels:
          type: object
    SnapshotNetworkObject:
      type: object
      properties:
        handle:
          type: string
        labels:
          type: object
        default:
          type: string
  securitySchemes:
    apiKeyAuth:
      type: apiKey
      in: header
      name: x-api-key
    apiTokenAuth:
      type: oauth2
      flows:
        clientCredentials:
          tokenUrl: /oauth/token
          scopes:
            create_user_credentials: Grants access to create credentials for user
            create_domain_credentials: Grants access to create credentials for domain
            create_organization_credentials: Grants access to create credentials for bank
            create_all_credentials: Grants access to create credentials for all
            read_user_credentials: Grants access to read user credentials
            read_domain_credentials: Grants access to read domain credentials
            read_organization_credentials: Grants access to read bank credentials
            read_all_credentials: Grants access to read all credentials
            update_user_credentials: Grants access to update user credentials
            update_domain_credentials: Grants access to update domain credentials
            update_organization_credentials: Grants access to update bank credentials
            update_all_credentials: Grants access to update all credentials
            manage_user_credentials: Grants access to manage user credentials
            manage_domain_credentials: Grants access to manage domain credentials
            manage_organization_credentials: Grants access to manage bank credentials
            manage_all_credentials: Grants access to manage all credentials

````