Define funding source

PUT {{baseUrl}}/smart-transfers/:ticketId/terms/:termId/fund

Set funding source for ticket term (in case of ASYNC tickets, this will execute transfer immediately)

Request Body

{"asset"=>"<string>", "amount"=>"<string>", "networkConnectionId"=>"<string>", "srcId"=>"<string>", "srcType"=>"<string>", "fee"=>"<string>", "feeLevel"=>"<string>", "note"=>"<string>"}

HEADERS

KeyDatatypeRequiredDescription
Idempotency-KeystringA unique identifier for the request. If the request is sent multiple times with the same idempotency key, the server will return the same response as the first request. The idempotency key is valid for 24 hours.
Content-Typestring
Acceptstring

RESPONSES

status: Created

{&quot;message&quot;:&quot;\u003cstring\u003e&quot;,&quot;data&quot;:{&quot;id&quot;:&quot;\u003cstring\u003e&quot;,&quot;ticketId&quot;:&quot;\u003cstring\u003e&quot;,&quot;asset&quot;:&quot;\u003cstring\u003e&quot;,&quot;amount&quot;:&quot;\u003cstring\u003e&quot;,&quot;fromNetworkId&quot;:&quot;\u003cstring\u003e&quot;,&quot;fromNetworkIdName&quot;:&quot;\u003cstring\u003e&quot;,&quot;toNetworkId&quot;:&quot;\u003cstring\u003e&quot;,&quot;toNetworkIdName&quot;:&quot;\u003cstring\u003e&quot;,&quot;txHash&quot;:&quot;\u003cstring\u003e&quot;,&quot;fbTxId&quot;:&quot;\u003cstring\u003e&quot;,&quot;txStatus&quot;:&quot;pendingAmlScreening&quot;,&quot;status&quot;:&quot;FUNDED&quot;,&quot;createdAt&quot;:&quot;\u003cdateTime\u003e&quot;,&quot;updatedAt&quot;:&quot;\u003cdateTime\u003e&quot;,&quot;amountUsd&quot;:&quot;\u003cstring\u003e&quot;}}