Payouts#

A Payout object is created when you send funds to a bank account. Payouts disburse collected payments to landlords and property managers.

The Payout object#

AttributeTypeDescription
idstringUnique identifier with po_ prefix
objectstringAlways "payout"
amountintegerPayout amount in smallest currency unit
currencystringISO 4217 currency code
statusenumpending, in_transit, paid, failed, canceled
destinationstringBank Account ID
arrival_datetimestampExpected arrival date
descriptionstringPayout description
methodenumstandard or instant
failure_codestringFailure reason code
failure_messagestringHuman-readable failure message
metadatahashKey-value pairs
createdtimestampTime at which the object was created
{
  "id": "po_xyz789",
  "object": "payout",
  "amount": 1150000,
  "currency": "gbp",
  "status": "paid",
  "destination": "ba_abc123",
  "arrival_date": 1706572800,
  "description": "January 2025 rent disbursement",
  "method": "standard",
  "metadata": {
    "landlord_id": "ll_789",
    "period": "2025-01"
  },
  "created": 1706140800
}

Create a Payout#

POST /v1/payouts

ParameterTypeRequiredDescription
amountintegerYesAmount in smallest currency unit
currencystringYesISO 4217 currency code
destinationstringYesBank Account ID
descriptionstringNoPayout description
methodstringNostandard (default) or instant
metadatahashNoKey-value pairs
curl https://api.casapay.com/v1/payouts \
  -H "Authorization: Bearer sk_test_4eC39HqLyjWDarjtT1zdp7dc" \
  -H "Content-Type: application/json" \
  -d '{
    "amount": 1150000,
    "currency": "gbp",
    "destination": "ba_abc123",
    "description": "January 2025 rent disbursement"
  }'

Retrieve a Payout#

GET /v1/payouts/:id

curl https://api.casapay.com/v1/payouts/po_xyz789 \
  -H "Authorization: Bearer sk_test_4eC39HqLyjWDarjtT1zdp7dc"

List Payouts#

GET /v1/payouts

ParameterTypeDescription
statusstringFilter by status
destinationstringFilter by bank account
arrival_date[gte]timestampArrival on or after
arrival_date[lte]timestampArrival on or before
limitintegerNumber of objects (1–100)
curl "https://api.casapay.com/v1/payouts?status=paid&limit=10" \
  -H "Authorization: Bearer sk_test_4eC39HqLyjWDarjtT1zdp7dc"