Submit ticket
PUT {{baseUrl}}/smart-transfers/:ticketId/submit
Submit Smart Transfer ticket - change status into ready for approval if auto approval is not turned on, or OPEN if auto approval is on
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 OK
{
"message": "<string>",
"data": {
"id": "<string>",
"type": "ASYNC",
"status": "PENDING_APPROVAL",
"createdByNetworkId": "<string>",
"createdByNetworkIdName": "<string>",
"createdAt": "<dateTime>",
"updatedAt": "<dateTime>",
"direction": "SEND",
"terms": [
{
"id": "<string>",
"ticketId": "<string>",
"asset": "<string>",
"amount": "<string>",
"fromNetworkId": "<string>",
"fromNetworkIdName": "<string>",
"toNetworkId": "<string>",
"toNetworkIdName": "<string>",
"txHash": "<string>",
"fbTxId": "<string>",
"txStatus": "failed",
"status": "FUNDING_FAILED",
"createdAt": "<dateTime>",
"updatedAt": "<dateTime>",
"amountUsd": "<string>"
},
{
"id": "<string>",
"ticketId": "<string>",
"asset": "<string>",
"amount": "<string>",
"fromNetworkId": "<string>",
"fromNetworkIdName": "<string>",
"toNetworkId": "<string>",
"toNetworkIdName": "<string>",
"txHash": "<string>",
"fbTxId": "<string>",
"txStatus": "pendingAmlScreening",
"status": "REJECTED",
"createdAt": "<dateTime>",
"updatedAt": "<dateTime>",
"amountUsd": &qu Curl curl -X PUT 'https://api.fireblocks.io/v1/smart-transfers/:ticketId/submit' -H 'Idempotency-Key: <string>' -H 'Content-Type: application/json' -H 'Accept: application/json' -d '{"expiresIn":"\u003cnumber\u003e"}' ENDPOINTS |