Payments

Estimate transfer batch

Validates an exact-wallet transfer batch request and estimates transaction chunking and fees.

post/v1/payments/transfer-batches/estimate

Headers

x-project-idstring

Selects the active project for this request. Required for session/dashboard callers. Ignored when authenticating with an API key, whose scope is fixed to the key's project.

Example:prj_example

Selects the active project for this request. Required for session/dashboard callers. Ignored when authenticating with an API key, whose scope is fixed to the key's project.

Request body

projectIdstring

Project identifier for the transfer batch context.

externalIdstring

Caller-provided batch correlation ID. Not used as an idempotency key.

sourceCustodyWalletIdstring required

Exact SDP Wallet ID (id from GET /v1/wallets).

tokenstring required

Token to transfer. Pass SOL for the native token, a well-known token symbol (e.g. USDC) resolved to the configured cluster's mint, or a base58 SPL mint address. Custom tokens must be specified by their on-chain mint.

Example request

{
  "projectId": "prj_example",
  "externalId": "payroll_2026_06_30",
  "sourceCustodyWalletId": "cwlt_example",
  "token": "SOL",
  "recipients": [
    {
      "externalId": "payroll_row_001",
      "counterpartyId": "cpty_example",
      "counterpartyAccountId": "cpa_example",
      "amount": "25.00"
    }
  ],
  "options": {
    "maxRecipientsPerTransaction": 20,
    "priorityFee": "auto",
    "preflight": true
  }
}

Response

Transfer batch estimate

Example response

{
  "data": {
    "estimate": {
      "estimatedFees": {
        "networkFeeLamports": "5000",
        "priorityFeeLamports": "0",
        "tokenAccountRentLamports": "0",
        "sponsored": true
      }
    }
  },
  "meta": {
    "requestId": "req_example",
    "timestamp": "2025-01-01T00:00:00.000Z"
  }
}

Changes

Changed in 2 of the 12 revisions of this API.16

    • added the new required request property

      new-required-request-property

    • removed the request property

      request-property-removed

    • added the new SERVICE_UNAVAILABLE enum value to the / response property for the response status

      response-property-enum-value-added

    • added the new SERVICE_UNAVAILABLE enum value to the / response property for the response status

      response-property-enum-value-added

    • added the new SERVICE_UNAVAILABLE enum value to the / response property for the response status

      response-property-enum-value-added

    • added the new SERVICE_UNAVAILABLE enum value to the / response property for the response status

      response-property-enum-value-added

    • added the new SERVICE_UNAVAILABLE enum value to the / response property for the response status

      response-property-enum-value-added