Contractors

contractorOps.payouts.preview

Prepare a final Wise payment preview for an approved payout, including its exact named funding profile and balance IDs, recipient, fees, exchange rate, recipient amount, maximum debit and fundingAuthorization. Administrators can do this in Oatmilk or an authorized AI client. This can create or reuse a Wise recipient and create a quote, but does not create a transfer or move money. Show the preview and use its exact unedited fundingAuthorization and confirmation fields when sending or scheduling; never infer source IDs from currency or account names.

POST/api/v1/accounting/contractorOps.payouts.preview

Permissions

accounting:readaccounting:writeaccounting:admin

Who can call it

admin

Retries

Idempotency key required

MCP

accounting_contractor_ops_payouts_preview

Reaches outside Oatmilk

It emails people or calls another service.

Fields

  • idstring (ID)Required

    The record's ID.

  • idempotencyKeystringRequired

    Any unique text you generate once per intended change, so a retried request only happens once. Send it as the Idempotency-Key header instead if you prefer; if you send both they must match.

    8–200 characters

Example

curl https://app.getoatmilk.com/api/v1/accounting/contractorOps.payouts.preview \
  -H "Authorization: Bearer $OATMILK_API_KEY" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: $(uuidgen)" \
  -d '{
  "id": "9a8b7c6d-5e4f-4a3b-8c2d-1e0f9a8b7c6d"
}'
Response
{
  "data": { … }
}

Try it

Try it

Checks your input with this action’s real schema and answers like the API, with synthetic data. No key needed, and nothing changes.

POST/api/v1/accounting/contractorOps.payouts.preview
curl https://app.getoatmilk.com/api/v1/accounting/contractorOps.payouts.preview \
  -H "Authorization: Bearer $OATMILK_API_KEY" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: $(uuidgen)" \
  -d '{
  "id": "9a8b7c6d-5e4f-4a3b-8c2d-1e0f9a8b7c6d"
}'

More in Contractors.