Payouts
Individual payment records within fulfillments — data model, status lifecycle, REST API, and PHP data access.
Last updated: October 28, 2026
A payout is a single line item representing the amount owed to one collaborator within a fulfillment batch. Each payout records the currency, value, and payment status for one collaborator’s share of a fulfillment run. To have Siren send payouts for you, see Set Up Automatic Payouts.
The payout object
| Field | REST name | PHP getter | Type | Description |
|---|---|---|---|---|
| ID | id | getId() | integer | Unique identifier |
| Value | value | getValue() | integer | Amount owed at the currency’s stored scale (hundredths for money, whole units for points and store credit) |
| Currency | currency | getCurrency() | string | Currency code (e.g., USD) |
| Status | status | getStatus() | string | Current status: unpaid, processing, paid, or failed |
| Collaborator | collaboratorId | getCollaboratorId() | integer | ID of the collaborator receiving this payout |
| Fulfillment | fulfillmentId | getFulfillmentId() | integer | ID of the parent fulfillment batch |
| Date paid | datePaid | getPaidDate() | datetime or null | When the payout was marked as paid |
| Failure reason | failureReason | getFailureReason() | string or null | Why an automatic payout failed. Null when a collaborator reads their own payout through /payouts |
| Date failed | dateFailed | getFailedDate() | datetime or null | When an automatic payout last failed |
| Waiting reason | waitingReason | getWaitingReason() | string or null | Siren Cloud only. Why an unpaid automatic payout waits on its collaborator: stripe_account_missing, paypal_email_missing, or stripe_account_incomplete, for a connected Stripe account that can’t take transfers until its onboarding is finished. Null when it isn’t waiting. Collaborators can read their own. On WordPress, this field is coming in the next Siren plugin update |
| Date waiting | dateWaiting | getWaitingDate() | datetime or null | When the collaborator’s wait began. Null when it isn’t waiting |
| Created | dateCreated | getCreatedDate() | datetime | When the record was created |
| Modified | dateModified | getModifiedDate() | datetime | When the record was last modified |
A payout carries no field naming the method that paid it. The method is set per currency, as Autofulfillers describes.
Status lifecycle
| Status | Description |
|---|---|
unpaid | The payout has been created but payment has not yet been made. The datePaid timestamp is null. On Siren Cloud, an automatic payout whose collaborator hasn’t connected Stripe, hasn’t finished Stripe’s onboarding, or hasn’t added a PayPal email stays unpaid with a waitingReason, and Siren sends it once they do. On WordPress, that payout is failed, and payouts that wait are coming in the next Siren plugin update. |
processing | An automatic payout method (Stripe Connect, PayPal Payouts, or store credit) is sending it. |
paid | The payout has been marked as paid, by you or by an automatic payout that succeeded, and the datePaid timestamp is set. Can be set back to unpaid if needed. |
failed | An automatic payout failed, or a paid Stripe payout’s transfer was reversed in full. failureReason says why. Retrying it, or marking it paid, moves it on. |
POST /payouts/waiting-preview shows which payouts a fulfillment would leave waiting before you generate it. On WordPress, this route is coming in the next Siren plugin update.
Accessing payout data
# List payouts for a collaborator
curl -X GET "https://your-site.com/wp-json/siren/v1/payouts?collaboratorId=42&fields=id,value,currency,status,datePaid" \
-H "Authorization: Bearer YOUR_TOKEN"
# List payouts in a fulfillment with collaborator details
curl -X GET "https://your-site.com/wp-json/siren/v1/payouts?fulfillmentId=12&fields=id,value,status,collaboratorName,collaboratorEmail" \
-H "Authorization: Bearer YOUR_TOKEN" use Siren\Fulfillments\Core\Datastores\Payout\Interfaces\PayoutDatastore;
class PayoutReport
{
protected PayoutDatastore $payouts;
public function __construct(PayoutDatastore $payouts)
{
$this->payouts = $payouts;
}
public function getPayoutsForCollaborator(int $collaboratorId): array
{
return $this->payouts->andWhere([
['column' => 'collaboratorId', 'operator' => '=', 'value' => $collaboratorId]
]);
}
public function getPayoutsForFulfillment(int $fulfillmentId): array
{
return $this->payouts->andWhere([
['column' => 'fulfillmentId', 'operator' => '=', 'value' => $fulfillmentId]
]);
}
} use Siren\Fulfillments\Core\Facades\Payouts;
// Get all payouts for a specific collaborator
$payouts = Payouts::andWhere([
['column' => 'collaboratorId', 'operator' => '=', 'value' => $collaboratorId]
]);
// Get all payouts within a specific fulfillment
$payouts = Payouts::andWhere([
['column' => 'fulfillmentId', 'operator' => '=', 'value' => $fulfillmentId]
]);
$payout = Payouts::find(55); Siren is built on an event-driven architecture. Fulfillments and payouts are normally created by the fulfillment generation pipeline in response to admin actions. If you find yourself creating these records manually, consider whether you should be triggering the generation process instead, which ensures obligations are correctly resolved and all downstream events fire.
PHP domain methods
The payout datastore supports all shared methods documented in the introduction. It does not have additional domain-specific methods beyond standard CRUD.
Querying payouts by status and fulfillment
A common pattern is finding all unpaid payouts for a given fulfillment, or calculating the total value of a fulfillment’s payouts.
use Siren\Fulfillments\Core\Facades\Payouts;
// Find unpaid payouts in a fulfillment
$unpaid = Payouts::andWhere([
['column' => 'fulfillmentId', 'operator' => '=', 'value' => $fulfillmentId],
['column' => 'status', 'operator' => '!=', 'value' => 'paid']
]);
// Calculate total payout value for a fulfillment
$payouts = Payouts::andWhere([
['column' => 'fulfillmentId', 'operator' => '=', 'value' => $fulfillmentId]
]);
$total = array_sum(array_map(fn($p) => $p->getValue(), $payouts));
Extended fields (REST only)
| Field | Type | Description |
|---|---|---|
collaboratorName | string | Display name of the collaborator |
collaboratorEmail | string | Email address of the collaborator |
Relationships
Each payout belongs to a single collaborator through collaboratorId. When payouts are exported to CSV, the export endpoint resolves the collaborator’s name and email for inclusion in the output.
Each payout belongs to a fulfillment batch through fulfillmentId. The fulfillment’s extended fields (payoutCount, totalValue, etc.) are computed aggregates over its child payouts.
Payouts connect back to obligations indirectly. The generation process that creates payouts also links each source obligation to its payout via the obligation’s payoutId field.
REST endpoints
See the individual endpoint pages in the sidebar for full request and response details, or browse the all REST endpoints reference.