---
title: "Set funding source and approval"
method: PUT
path: "/smart_transfers/{ticketId}/terms/{termId}/dvp/approve"
tags: ["Smart Transfer"]
---

# Set funding source and approval

`PUT /smart_transfers/{ticketId}/terms/{termId}/dvp/approve`

## Request

- Base URL: `https://api.fireblocks.io/v1`
- URL: `https://api.fireblocks.io/v1/smart_transfers/{ticketId}/terms/{termId}/dvp/approve`
- Auth: none declared
- TypeScript: <https://skmtc.dev/fireblocks/apis/fireblocks-api/docs/smart_transfers/:ticketId/terms/:termId/dvp/approve/put.ts> (a function with typed inputs; its response is checked against the schema)

Set funding source for ticket term and creating approving transaction for contract to transfer asset

## Path parameters

- `ticketId` string, required
- `termId` string, required

## Headers

- `Idempotency-Key` string

## Request body

- SmartTransferApproveTerm
  - `asset` string, required: Asset name
  - `amount` string, required: Amount
  - `srcId` string, required: Id of the vault that is used as the source of the asset.
  - `fee` string: Transaction fee
  - `feeLevel` 'LOW' | 'MEDIUM' | 'HIGH': Transaction fee level.
  - `note` string: Transaction note

## Response `201`

Creating approval transaction started

- SmartTransferTicketTermResponse
  - `message` string, nullable, required: Result message
  - `data` SmartTransferTicketTerm, nullable: Data object with result data
    - `id` string, required: Unique id of Smart Transfer ticket term
    - `ticketId` string, required: Unique id of Smart Transfer ticket
    - `asset` string, required: Asset name
    - `amount` string, required: Amount
    - `dvpSrcDstVaultId` string: Identifier of the source and destination vault for DVP execution
    - `amountUsd` string: Amount USD
    - `fromNetworkId` string, required: Identifier of the origination Network Profile
    - `fromNetworkIdName` string, required: Source network name
    - `toNetworkId` string, required: Identifier of the destination Network Profile
    - `toNetworkIdName` string, required: Destination network name
    - `txHash` string, nullable, required: Blockchain TX hash
    - `fbTxId` string, nullable, required: Fireblocks transaction ID. It is set when the funding transaction is created.
    - `txStatus` 'queued' | 'submitted' | 'pendingSignature' | 'pendingAuthorization' | 'broadcasting' | 'confirming' | 'pendingAmlScreening' | 'completed' | 'cancelled' | 'failed' | 'rejected' | 'blocked' | 'thirdPartyPendingManualApproval' | 'thirdPartyPending' | 'partiallyCompleted' | 'cancelling', nullable, required: Ticket term transaction status
    - `status` 'CREATED' | 'FUNDING' | 'FUNDING_FAILED' | 'FUNDED' | 'REJECTED', required: Ticket term status
    - `createdAt` string, date-time, required: Date and time when the term is created.
    - `updatedAt` string, date-time, required: Date and time of last term update.

## Other responses

- `403`: Unauthorized
- `404`: Not found
- `422`: Bad Request

---

[API](https://skmtc.dev/fireblocks/apis/fireblocks-api.md) - [All operations](https://skmtc.dev/fireblocks/apis/fireblocks-api/llms.txt) - [OpenAPI document](https://skmtc.dev/fireblocks/apis/fireblocks-api/revisions/4eba9965659a?raw)
