curl --request GET \
--url https://api.joinslash.com/expense-report/reimbursement-sources \
--header 'X-API-Key: <api-key>'{
"data": [
{
"id": "<string>",
"userId": "<string>",
"latestStatus": "active",
"accountName": "<string>",
"type": "<string>",
"subtype": "<string>",
"institution": {
"id": "<string>",
"name": "<string>"
},
"metadata": {
"timestamp": "2023-11-07T05:31:56Z"
},
"lastSyncedAt": "<string>",
"lastStatusChangeAt": "<string>",
"officialAccountName": "<string>",
"accountOwnerName": "<string>",
"mask": "<string>",
"balance": {
"amount": {
"amount_cents": 123,
"currency": "USD"
},
"lastBalanceCheckDate": "<string>"
},
"latestBalanceCheck": {
"currentAmount": {
"amount_cents": 123,
"currency": "USD"
},
"availableAmount": {
"amount_cents": 123,
"currency": "USD"
},
"limitAmount": {
"amount_cents": 123,
"currency": "USD"
}
},
"error": {
"errorCode": "<string>",
"errorType": "<string>",
"actionMessage": "<string>",
"userActionCta": "<string>"
},
"institutionLogo": "<string>"
}
]
}Get connected bank accounts for a user that can be used as reimbursement payout destinations. Pass the userId query parameter to specify which user’s bank accounts to retrieve.
curl --request GET \
--url https://api.joinslash.com/expense-report/reimbursement-sources \
--header 'X-API-Key: <api-key>'{
"data": [
{
"id": "<string>",
"userId": "<string>",
"latestStatus": "active",
"accountName": "<string>",
"type": "<string>",
"subtype": "<string>",
"institution": {
"id": "<string>",
"name": "<string>"
},
"metadata": {
"timestamp": "2023-11-07T05:31:56Z"
},
"lastSyncedAt": "<string>",
"lastStatusChangeAt": "<string>",
"officialAccountName": "<string>",
"accountOwnerName": "<string>",
"mask": "<string>",
"balance": {
"amount": {
"amount_cents": 123,
"currency": "USD"
},
"lastBalanceCheckDate": "<string>"
},
"latestBalanceCheck": {
"currentAmount": {
"amount_cents": 123,
"currency": "USD"
},
"availableAmount": {
"amount_cents": 123,
"currency": "USD"
},
"limitAmount": {
"amount_cents": 123,
"currency": "USD"
}
},
"error": {
"errorCode": "<string>",
"errorType": "<string>",
"actionMessage": "<string>",
"userActionCta": "<string>"
},
"institutionLogo": "<string>"
}
]
}Authentication from public API requests
The legal entity ID. Required if authenticating with access to multiple legal entities.
The user ID to get reimbursement sources for. Required.
OK
Show child attributes