Creates a budget for a given accountId
.
Created
Bad request
Unauthorised
Forbidden
Not found
Method not allowed
Unsupported media type
Too many requests
Internal server error
{- "parentId": "b489ea2c-0dd1-4fb1-b345-de5a596a5527",
- "name": "Team Party",
- "features": [
- "payments"
], - "currencies": [
- "USD"
], - "type": "shared",
- "status": "active",
- "boxId": "a43231c221",
- "personaId": "b489ea2c-0dd1-4fb1-b345-de5a596a5527"
}
{- "id": "b489ea2c-0dd1-4fb1-b345-de5a596a5527",
- "boxId": "string",
- "name": "Team Party",
- "accountId": "F50072",
- "parentId": "b489ea2c-0dd1-4fb1-b345-de5a596a5527",
- "feature": [
- {
- "id": "string",
- "budgetId": "b489ea2c-0dd1-4fb1-b345-de5a596a5527",
- "BudgetId": "b489ea2c-0dd1-4fb1-b345-de5a596a5527",
- "payments": true,
- "budgetCards": true,
- "peopleCards": true,
- "forwardDeposits": true,
- "createdAt": "2023-01-30T08:30:00Z",
- "updatedAt": "2023-01-30T08:30:00Z"
}
], - "currency": [
- {
- "id": "string",
- "boxCurrencyId": 0,
- "budgetId": "b489ea2c-0dd1-4fb1-b345-de5a596a5527",
- "BudgetId": "b489ea2c-0dd1-4fb1-b345-de5a596a5527",
- "currencyCode": "USD",
- "local": "unique",
- "international": "unique",
- "createdAt": "2021-01-30T08:30:00Z",
- "updatedAt": "2021-01-30T08:30:00Z"
}
], - "balance": [
- {
- "id": "string",
- "lastUpdatedSequentialId": 0,
- "currency": "USD",
- "currencyCode": "USD",
- "availableBalance": 10,
- "BudgetId": "b489ea2c-0dd1-4fb1-b345-de5a596a5527",
- "budgetId": "b489ea2c-0dd1-4fb1-b345-de5a596a5527",
- "ledgerBalance": 50,
- "pendingBalance": 40,
- "allocatedBalance": 10,
- "ledgerAndAllocatedBalance": 60,
- "activeCurrencyOnBudget": true,
- "createdAt": "2021-01-30T08:30:00Z",
- "updatedAt": "2021-01-30T08:30:00Z"
}
], - "totalBalance": [
- {
- "id": "string",
- "lastUpdatedSequentialId": 0,
- "currency": "USD",
- "currencyCode": "USD",
- "availableBalance": 10,
- "BudgetId": "b489ea2c-0dd1-4fb1-b345-de5a596a5527",
- "budgetId": "b489ea2c-0dd1-4fb1-b345-de5a596a5527",
- "ledgerBalance": 50,
- "pendingBalance": 40,
- "allocatedBalance": 10,
- "ledgerAndAllocatedBalance": 60,
- "activeCurrencyOnBudget": true,
- "createdAt": "2021-01-30T08:30:00Z",
- "updatedAt": "2021-01-30T08:30:00Z"
}
], - "children": [
- {
- "id": "string",
- "lastUpdatedSequentialId": 0,
- "currency": "USD",
- "currencyCode": "USD",
- "availableBalance": 10,
- "BudgetId": "b489ea2c-0dd1-4fb1-b345-de5a596a5527",
- "budgetId": "b489ea2c-0dd1-4fb1-b345-de5a596a5527",
- "ledgerBalance": 50,
- "pendingBalance": 40,
- "allocatedBalance": 10,
- "ledgerAndAllocatedBalance": 60,
- "activeCurrencyOnBudget": true,
- "createdAt": "2021-01-30T08:30:00Z",
- "updatedAt": "2021-01-30T08:30:00Z"
}
], - "details": [
- {
- "currency": "USD",
- "sortCode": "12-34-56",
- "accountNumber": "12345678",
- "ibans": [
- {
- "iban": "GB26SPPV23188497371875",
- "bic": "BARCGB22"
}
], - "accountName": "Equals Money",
- "bankName": "SPECTRUM PAYMENT SERVICES",
- "bankAddress": "Vintners Place, 68 Upper Thames St, London, EC4V 3BJ, United Kingdom",
- "balanceReference": "Balance reference"
}
], - "settlementDetails": {
- "currencyDetails": [
- {
- "currencyCode": "USD",
- "local": {
- "accountIdentifier": "31510604",
- "bankIdentifier": "10-00-00",
- "payeeName": "ACME",
- "bankName": "Brilliant Bank",
- "bankAddress": {
- "addressLine1": "41 Middle Street",
- "addressLine2": "string",
- "addressLine3": "string",
- "city": "Enfield",
- "postcode": "EN1 3JY",
- "country": "United Kingdom"
}
}, - "international": {
- "accountIdentifier": "31510604",
- "bankIdentifier": "10-00-00",
- "payeeName": "ACME",
- "bankName": "Brilliant Bank",
- "bankAddress": {
- "addressLine1": "41 Middle Street",
- "addressLine2": "string",
- "addressLine3": "string",
- "city": "Enfield",
- "postcode": "EN1 3JY",
- "country": "United Kingdom"
}
}
}
], - "balanceReference": "Balance reference"
}, - "individualBudgetHolder": { },
- "priority": 1,
- "level": 1,
- "type": "shared",
- "status": "active",
- "allowCurrencyAlignment": false,
- "createdAt": "2023-01-30T08:30:00Z",
- "updatedAt": "2023-01-30T08:30:00Z"
}