Skip to main content
POST
Create a transfer
Moves AVAILABLE balance from one participant or group to up to 100 recipients in a single zero-sum, atomic transaction. If any leg fails (such as insufficient balance or an inactive entity), the entire transfer rolls back.
  • Eligibility: The program, source, and every recipient must be ACTIVE. Sending value to the source itself returns 422 self_transfer_not_allowed.
  • Lots: On LOT-mode assets, source lots are consumed oldest-first and each recipient receives a new lot whose created_at is the transfer time, with no expiration or maturity date.
  • Idempotency: Pass idempotency_key to retry safely (409 idempotency_conflict if reused with different parameters).
For usage patterns and examples, see the Transfers guide.

Authorizations

Authorization
string
header
default:sk_...
required

Send your API key as Authorization: Bearer <key>.

Headers

Idempotency-Key
string

Unique key (1-255 printable ASCII characters) to make retries safe. Repeating the same request with the same key returns the original result; reusing the key with different fields returns 409 idempotency_conflict. When the body also accepts idempotency_key, supply either or both with the same value.

Maximum string length: 255

Body

application/json

Transfer details with source and recipients

Moves an amount of an asset from one participant or group to one or more recipients.

asset_id
string<uuid>
required

Asset being transferred

Example:

"a3bb189e-8bf9-4c8b-9be0-6b5d2f4e7a02"

description
string
required

Human-readable explanation of the transfer's purpose

Required string length: 1 - 500
Example:

"Monthly bonus distribution"

program_id
string<uuid>
required

Program this transfer belongs to

Example:

"8f14e45f-ceea-4e70-9df8-2a7d1b3c9f01"

recipients
object[]
required

List of transfer recipients (1 to 100)

Required array length: 1 - 100 elements
idempotency_key
string

Your key for this transfer. You can send it in the Idempotency-Key header instead; when both are sent they must match.

Example:

"txn_abc123"

source_external_id
string

Source participant's external ID (mutually exclusive with source_group_id and source_participant_id)

Example:

"user_123"

source_group_id
string<uuid>

Source group UUID (mutually exclusive with source_external_id and source_participant_id)

Example:

"0b9e7d3c-5a41-4f68-a2c7-81e4d6b3f907"

source_participant_id
string<uuid>

Source participant UUID (mutually exclusive with source_external_id and source_group_id)

Example:

"f7a8b9c0-1d2e-4f3a-b4c5-d6e7f8a9b006"

Response

Transfer completed with journal entry ID

The result of a transfer: the journal entry that recorded it and the total amount moved.

asset_id
string<uuid>

Asset that was transferred

Example:

"a3bb189e-8bf9-4c8b-9be0-6b5d2f4e7a02"

journal_entry_id
string<uuid>

Journal entry created for this transfer (use for audit trails)

Example:

"657a0312-1aaa-4ba7-842b-edfbb39edf14"

recipient_count
integer

Number of recipients in this transfer

Example:

5

source_id
string<uuid>

Scrip's id for the source participant or group

Example:

"f7a8b9c0-1d2e-4f3a-b4c5-d6e7f8a9b006"

total_amount
string

Sum of all recipient amounts

Example:

"500.00"