List funding sources
GET/api/accounts/:accountId/funding-sources
List Funding Sources associated with the cardholder account
Request
Path Parameters
accountId stringrequired
Cardholder account ID to retrieve Funding Sources for.
Responses
- 200
- 400
- 403
Successful operation
- application/json
- Schema
- Example (from schema)
Schema
Array [
]
items
object[]
id string
Funding Source primary identifier
accountId string
Cardholder account this Funding Source belongs to
createdAt string
Timestamp of Funding Source creation
balance string
Current balance of Funding Source in minor units
balanceCurrency string
Currency of the balance
fundingChannelId string
The id of the Funding Channel that this Funding Source relates to.
{
"items": [
{
"id": "91ad6fea3b52ca58d60d7fd310f789ec",
"accountId": "057aa15913a57f50577234c8426534c0",
"createdAt": "2022-11-16T03:13:18.142Z",
"balance": "1000000",
"balanceCurrency": "USDC",
"fundingChannelId": "315bad4e81ce0f26966a41b9d451638b"
}
]
}
Request fields are invalid
- application/json
- Schema
- Example (from schema)
Schema
statusCode integerrequired
statusName stringrequired
errorCode stringrequired
errors string[]
{
"statusCode": 400,
"statusName": "Bad Request",
"errorCode": "BAD_REQUEST",
"errors": [
"Expected string, received number"
]
}
No Authorization to access resource.
- application/json
- Schema
- Example (from schema)
Schema
statusCode integerrequired
statusName stringrequired
errorCode stringrequired
reason string
{
"statusCode": 403,
"statusName": "Forbidden",
"errorCode": "FORBIDDEN",
"reason": "Unauthorized"
}
Loading...