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)
Body
PARAM
Key | Datatype | Required | Description |
HEADERS
Key | Datatype | Required | Description |
Idempotency-Key
|
string | A 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-Type
|
string | ||
Accept
|
string |
RESPONSES
status Created
{
"message": "<string>",
"data": {
"id": "<string>",
"ticketId": "<string>",
"asset": "<string>",
"amount": "<string>",
"fromNetworkId": "<string>",
"fromNetworkIdName": "<string>",
"toNetworkId": "<string>",
"toNetworkIdName": "<string>",
"txHash": "<string>",
"fbTxId": "<string>",
"txStatus": "pendingAmlScreening",
"status": "FUNDED",
"createdAt": "<dateTime>",
"updatedAt": "<dateTime>",
"amountUsd": "<string>"
}
} |
ENDPOINTS