Skip to content

Finance Payout Specification

Access payout specifications in the Amili system. Payout specifications define how collected funds are disbursed to creditors, including bank account details, payout frequency, and minimum amounts.

Finance Payout Specification endpoints

See Creditor for accessing the creditors that receive payouts.

Example Request

Below is an example of retrieving payout specifications.

URL: GET /finance--payout-specifications

Headers:

x-api-key: {your_access_token}
Content-Type: application/json

Request Body: None (GET request)

Response Code: 200 OK

Response Body:

json
{
  "_status": "OK",
  "_id": "payout_spec_123456",
  "creditor": "cred_789012",
  "account": "acc_345678",
  "bank_account": {
    "account_number": "1234567890",
    "clearing_number": "1234",
    "bank_name": "Example Bank AB",
    "iban": "SE1234567890123456789012",
    "swift": "EXAMPLESWIFT"
  },
  "payout_frequency": "weekly",
  "payout_day": "friday",
  "minimum_payout_amount": 1000.0,
  "currency": "SEK",
  "is_active": true,
  "_created": "2024-01-01T00:00:00Z",
  "_updated": "2024-01-01T00:00:00Z"
}

Parameters

Response Properties

PropertyTypeRequiredDescription
_idstringYesUnique identifier for the payout specification
_createdstringYesCreation timestamp
_updatedstringYesLast update timestamp
_statusstringYesRequest status (e.g. "OK")*
creditorstringYesCreditor ID
accountstringYesAccount ID
bank_accountobjectYesBank account details
payout_frequencystringYesPayout frequency (e.g. "weekly")*
payout_daystringYesPayout day (e.g. "friday")*
minimum_payout_amountnumberYesMinimum amount required for payout
currencystringYesCurrency code (currently only "SEK" supported)
is_activebooleanYesWhether specification is active

Bank Account Properties

PropertyTypeRequiredDescription
account_numberstringYesBank account number
clearing_numberstringYesBank clearing number
bank_namestringYesName of the bank
ibanstringYesIBAN number
swiftstringYesSWIFT/BIC code

*) For complete list of values and details, please see Finance Payout Specification