---
title: "Create payout"
method: POST
path: "/payouts"
tags: ["Payouts"]
---

# Create payout

`POST /payouts`

Creates a payout to transfer funds from a paid order to the seller.
Requires the order to not yet be released. The destination is either a `wallet_id` or a `bankaccount_id`.

## Request body

- object
  - `order_id` integer, required — ID of the order to pay out.
  - `type` 'WALLET' | 'ACCOUNT' | 'BANKWIRE', required — Payout method type.
  - `wallet_id` integer — Destination wallet ID. Required when `type` is `WALLET`.
  - `bankaccount_id` integer — Destination bank account ID. Required for `ACCOUNT` type.
  - `bankwire_ref` string — Custom reference for bank wire payouts.
  - `azupay_id` string — AzuPay destination ID. Required for AzuPay payouts.
  - `azupay_type` string — AzuPay account type.
  - `azupay_bsb` string — AzuPay BSB number (Australian bank routing number).
  - `azupay_account` string — AzuPay bank account number.

## Response `200`

Payout created

- Payout
  - `id` integer
  - `self` string
  - `reference` string, nullable
  - `type` string — Payout method type (e.g. `WALLET`, `ACCOUNT`, `BANKWIRE`).
  - `status` 'CREATED' | 'CONFIRMED' | 'DENIED' | 'CANCELLED'
  - `provider` object, nullable
  - `created_at` string, date-time, nullable
  - `confirmed_at` string, date-time, nullable
  - `denied_at` string, date-time, nullable
  - `connections` Connections — Hypermedia links to related resources.

## Other responses

- `422` — Validation error

## Changes

- **2026-03-11** `ff825f6602c8` — 4 info
  - added the new optional request property `azupay_account`
  - added the new optional request property `azupay_bsb`
  - added the new optional request property `azupay_id`
  - added the new optional request property `azupay_type`

[Change history](https://skmtc.dev/truust-io/apis/truust-api/changes/payouts/post.md)

---

[API](https://skmtc.dev/truust-io/apis/truust-api.md) · [All operations](https://skmtc.dev/truust-io/apis/truust-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/truust-io/truust-api/revisions/cc81e28726b9/schema)
