List Funding Sources
GET/api/accounts/:accountId/funding-sources
List Funding Sources associated with the account
Request
Path Parameters
accountId stringrequired
Account ID to retrieve Funding Sources for.
Responses
- 200
- 400
- 403
Successful operation
- application/json
- Schema
- Example (from schema)
Schema
Array [
]
items
object[]
id stringrequired
Funding Source primary identifier.
accountId stringrequired
Account this Funding Source belongs to.
createdAt stringrequired
Timestamp of Funding Source creation.
balance stringrequired
Current balance of Funding Source in minor units.
balanceCurrency stringrequired
Currency of the balance.
fundingChannelId stringrequired
The ID of the Funding Channel that this Funding Source relates to.
externalId stringrequired
Funding address for on-chain Funding, or customer specified ID for off-chain Funding.
purpose stringrequired
The purpose of the Funding Channel.
network string
Network of Funding Source with on-chain Funding.
{
"items": [
{
"id": "91ad6fea3b52ca58d60d7fd310f789ec",
"accountId": "057aa15913a57f50577234c8426534c0",
"createdAt": "2022-11-16T03:13:18.142Z",
"balance": "1000000",
"balanceCurrency": "USDC",
"fundingChannelId": "315bad4e81ce0f26966a41b9d451638b",
"externalId": "0x1aD2B053b8c6b1592cB645DEfadf105F34d8C6e1",
"purpose": "card-funding",
"network": "polygon-mainnet"
}
]
}
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...