action velopayments_get_source_accounts_v2 { label: "Get list of source accounts" description: "List source accounts." provider: velopayments method: GET path: "/v2/sourceAccounts" encoding: json input: { type: "object" properties: { fundingAccountId: { type: "string" format: "uuid" } page: { type: "integer" format: "int32" } pageSize: { type: "integer" format: "int32" } payorId: { type: "string" format: "uuid" } physicalAccountId: { type: "string" format: "uuid" } physicalAccountName: { type: "string" } sort: { type: "string" } } additionalProperties: false } output: { type: "object" description: "List Source Accounts Response Object" properties: { content: { type: "array" items: { type: "object" required: ["accountType", "balanceVisible", "fundingRef", "id", "physicalAccountName", "pooled", "railsId"] properties: { accountType: { type: "string" } autoTopUpConfig: { type: "object" required: ["enabled"] properties: { enabled: { type: "boolean" description: "Is auto top-up enabled? automatically trigger funding to top-up the source account balance when the balance falls below the configured minimum level." } minBalance: { type: "integer" format: "int64" description: "When the payor balance falls below this level then auto top-up will be triggered. Note - This is in minor units." } targetBalance: { type: "integer" format: "int64" description: "When the payor balance falls below the min balance then auto top-up will request funds bring the balance to this level. Note - this is in minor units." } } } balance: { type: "integer" format: "int64" description: "Decimal implied" } balanceVisible: { type: "boolean" } currency: { type: "string" } customerId: { type: "string" } fundingAccountId: { type: "string" format: "uuid" } fundingRef: { type: "string" } id: { type: "string" format: "uuid" description: "Source Account Id" } name: { type: "string" } notifications: { type: "object" properties: { minimumBalance: { type: "integer" } } } payorId: { type: "string" format: "uuid" } physicalAccountId: { type: "string" format: "uuid" } physicalAccountName: { type: "string" } pooled: { type: "boolean" } railsId: { type: "string" } } } } links: { type: "array" items: { properties: { href: { type: "string" } rel: { type: "string" } } } } page: { properties: { numberOfElements: { type: "integer" } page: { type: "integer" } pageSize: { type: "integer" } totalElements: { type: "integer" } totalPages: { type: "integer" } } } } } }