Skip to main content
POST
/
payments
/
workflow_config
Create payment flow configuration
curl --request POST \
  --url https://api.fireblocks.io/v1/payments/workflow_config \
  --header 'Content-Type: application/json' \
  --data '
{
  "configName": "<string>",
  "configOperations": [
    {
      "type": "CONVERSION",
      "params": {
        "destAssetId": "<string>",
        "amount": "<string>",
        "accountId": "<string>",
        "srcAssetId": "<string>",
        "slippageBasisPoints": 5000
      }
    }
  ],
  "externalCorrelationData": {}
}
'
{
  "configId": "<string>",
  "configName": "<string>",
  "status": "PENDING",
  "createdAt": 123,
  "configOperations": [
    {
      "operationId": "<string>",
      "type": "CONVERSION",
      "params": {
        "destAssetId": "<string>",
        "amount": "<string>",
        "accountId": "<string>",
        "srcAssetId": "<string>",
        "slippageBasisPoints": 5000
      },
      "status": "PENDING",
      "validationFailure": {
        "reason": "ACCOUNT_NOT_FOUND",
        "data": {}
      }
    }
  ],
  "preScreening": {
    "enabled": true
  },
  "externalCorrelationData": {}
}

Documentation Index

Fetch the complete documentation index at: https://fireblocks-43c4b3ee-chore-add-cli.mintlify.app/llms.txt

Use this file to discover all available pages before exploring further.

Headers

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.

Body

application/json
configName
string
required
configOperations
object[]
required
preScreening
object
externalCorrelationData

Response

Configuration is being generated

configId
string
required
configName
string
required
status
enum<string>
required
Available options:
PENDING,
VALIDATION_IN_PROGRESS,
VALIDATION_FAILED,
READY_FOR_EXECUTION
createdAt
number
required
configOperations
object[]
required
preScreening
object
externalCorrelationData