action velopayments_get_source_account_v2 { label: "Get Source Account" description: "Get details about given source account." provider: velopayments method: GET path: "/v2/sourceAccounts/{sourceAccountId}" encoding: json input: { type: "object" properties: { sourceAccountId: { type: "string" format: "uuid" } } required: ["sourceAccountId"] additionalProperties: false } output: { 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" } } } }