Skip to main content
The Payout module exposes a service you can resolve from the Medusa container to read and write records directly, without going through a workflow. Use it inside custom services, subscribers, or scheduled jobs.

Generated methods

Each data model gets a standard set of auto-generated methods. For Payout: The same set exists for PayoutAccount and Onboarding (e.g. retrievePayoutAccount, listPayoutAccounts, updateOnboardings).

Provider-integrated methods

These overrides call the configured provider as part of the operation. Prefer them over the raw generated creates.
Prefer workflows for anything that touches the provider or links records. The generated updatePayouts / updatePayoutAccounts write status directly and do not call the provider.