Logo
Fireblocks API Documentation

Create payment flow configuration

POST {{baseUrl}}/payments/workflow_config

Generate a new configuration ID to be used for initiating executions in subsequent phases. This configuration should include the operations you intend to incorporate into the workflow, such as TRANSFER, CONVERT, and DISBURSE, in addition to your pre-screening preferences, which are disabled by default.

 

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





Curl
curl -X POST 'https://api.fireblocks.io/v1/payments/workflow_config' -H 'Idempotency-Key: <string>' -H 'Content-Type: application/json' -H 'Accept: application/json' -d '{"configName":"\u003cstring\u003e","configOperations":[{"type":"CONVERSION","params":{"destAssetId":"\u003cstring\u003e","amount":"\u003cstring\u003e","accountId":"\u003cstring\u003e","srcAssetId":"\u003cstring\u003e","slippageBasisPoints":"\u003cinteger\u003e"}},{"type":"CONVERSION","params":{"destAssetId":"\u003cstring\u003e","amount":"\u003cstring\u003e","accountId":"\u003cstring\u003e","srcAssetId":"\u003cstring\u003e","slippageBasisPoints":"\u003cinteger\u003e"}}],"preScreening":{"enabled":"\u003cboolean\u003e"},"externalCorrelationData":{"ipsum_48":"\u003cstring\u003e","tempor_6":"\u003cstring\u003e"}}'

ENDPOINTS