List Funding Sources
GEThttps://api.immersve.com/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
items
object[]
{
"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
object[]
{
"statusCode": 400,
"statusName": "Bad Request",
"errorCode": "INVALID_REQUEST_INPUT",
"errors": [
{
"message": "Invalid type",
"path": "items[1].attributes.invalidField"
}
]
}
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"
}
- curl
- python
- go
- nodejs
- ruby
- csharp
- php
- java
- powershell
- CURL
curl -L 'https://api.immersve.com/api/accounts/:accountId/funding-sources' \
-H 'Accept: application/json' \
-H 'Authorization: Bearer <TOKEN>'
ResponseClear