Skip to main content
POST
Create a payout run

Authorizations

Authorization
string
header
required

Bearer token authentication for agent-scoped endpoints. The token is the accessToken returned when redeeming a device code via POST /agents/device-codes/redeem. Agent credentials are user-scoped: all requests are automatically bound to the agent's associated customer and subject to the agent's policy.

Headers

Idempotency-Key
string
required

A unique identifier for the request, scoped to the agent. A retry with the same key and body returns the run the first request created; the same key with a different body is refused with 409.

Maximum string length: 255
Example:

"<uuid>"

Body

application/json
sourceAccountId
string
required

The customer's stablecoin Embedded Wallet that pays every row. It must hold an ACTIVE delegated key of this agent.

Example:

"InternalAccount:e85dcbd6-dced-4ec4-b756-3c3a9ea3d965"

rows
object[]
required

The people to pay. Each pays a CONTACT or an EXTERNAL_ACCOUNT: one of the customer's own ACTIVE external accounts on the platform. A GRID_CUSTOMER row is refused.

Required array length: 1 - 50 elements

Response

Payout run created, or the run this Idempotency-Key already created

A payout run an agent created. allOrNothing is always false, and scheduledAt is never set.

id
string
required

System-generated unique payout run identifier

Example:

"PayoutRun:019542f5-b3e7-1d02-0000-000000000001"

status
enum<string>
required

Status of a payout run.

Available options:
VALIDATING,
PENDING_APPROVAL,
SCHEDULED,
PROCESSING,
COMPLETED,
PARTIALLY_FAILED,
FAILED,
CANCELLED
source
object
required
allOrNothing
boolean
required
Example:

false

rowCounts
object
required
createdAt
string<date-time>
required
Example:

"2026-11-04T22:00:00Z"

updatedAt
string<date-time>
required
Example:

"2026-11-05T02:14:00Z"

agentId
string
required

The agent that created the run.

Example:

"Agent:019542f5-b3e7-1d02-0000-000000000042"

agentActionId
string
required

The run's PAYOUT_RUN agent action, which the customer approves or rejects when the run needs approval.

Example:

"AgentAction:019542f5-b3e7-1d02-0000-000000000099"

total
object
required

The sum of the rows' amounts, in the source account's currency. This is what leaves the wallet if every row is paid.

rowCount
integer
required

How many rows the run has.

Example:

12

scheduledAt
string<date-time>

When the run starts paying rows, if it was scheduled.

Example:

"2026-11-05T02:00:00Z"

finishedAt
string<date-time>

When the run reached COMPLETED, PARTIALLY_FAILED, FAILED or CANCELLED.

Example:

"2026-11-05T02:14:00Z"