Payouts
Payouts represent transfers from Straddle to customer bank accounts. Create payouts to handle disbursements, process refunds, or manage marketplace settlements. Use payouts to send money quickly and securely with the most cost-effective rail automatically selected.
Lookup a payout
Update a payout
Hold a payout
Release a payout
Cancel a payout
Get a payout by id.
ModelsExpand Collapse
class PayoutV1 { data, meta, response_type }
data: { id, amount, config, 20 more}
config: { auto_hold, auto_hold_message, sandbox_outcome}
external_id: String
Unique identifier for the payout in your database. This value must be unique across all payouts.
payment_date: Date
The desired date on which the payment should be occur. For payouts, this means the date you want the funds to be sent from your bank account.
Details about the current status of the payout.
status_history: Array[{ changed_at, message, reason, 3 more}]
History of the status changes for the payout.
reason: :insufficient_funds | :closed_bank_account | :invalid_bank_account | 24 more
A machine-readable identifier for the specific status, useful for programmatic handling.
effective_at: Time
The actual date on which the payment occurred. For payouts, this is the date the funds were sent from your bank account.
metadata: Hash[Symbol, String]
Up to 20 additional user-defined key-value pairs. Useful for storing additional information about the payout in a structured format.
processed_at: Time
The time the payout was processed by Straddle and originated to the payment rail.
response_type: :object | :array | :error | :none
Indicates the structure of the returned content.
- "object" means the
datafield contains a single JSON object. - "array" means the
datafield contains an array of objects. - "error" means the
datafield contains an error object with details of the issue. - "none" means no data is returned.
class PayoutUnmaskResponse { data, meta, response_type }
data: { id, amount, config, 20 more}
config: { auto_hold, auto_hold_message, sandbox_outcome}
status_history: Array[{ changed_at, message, reason, 3 more}]
Status history.
reason: :insufficient_funds | :closed_bank_account | :invalid_bank_account | 24 more
A machine-readable identifier for the specific status, useful for programmatic handling.
response_type: :object | :array | :error | :none
Indicates the structure of the returned content.
- "object" means the
datafield contains a single JSON object. - "array" means the
datafield contains an array of objects. - "error" means the
datafield contains an error object with details of the issue. - "none" means no data is returned.