List Funding Channels
GEThttps://api.immersve.com/api/accounts/:accountId/funding-channels
Retrieves a list of Funding Channels for the given account
This API uses cursor-based pagination. Start by making a request without a cursor to get the first page. Use the nextCursor from the pageInfo in the response as the cursor for subsequent requests to retrieve further pages. Continue until nextCursor is undefined, indicating no more data.
Request
Path Parameters
accountId stringrequired
Partner account id to retrieve Funding Channels for.
Query Parameters
limit number
amount of records to return (max 100)
cursor string
cursor to retrieve the next page
Responses
- 200
- 403
Successful operation
- application/json
- Schema
- Example (from schema)
Schema
items
object[]
pageInfo
object
{
"items": [
{
"id": "315bad4e81ce0f26966a41b9d451638b",
"accountId": "65a7e8ef0d230d0a6bf755e07d39eb02",
"createdAt": "2023-08-14T12:32:54",
"fundingTypeName": "polygon-amoy-usdc-universal-evm-test",
"name": "immersve-polygon-usdc",
"purpose": "card-funding",
"mode": "deposit"
}
],
"pageInfo": {
"nextCursor": "dGhlIG5leHQgY3Vyc29yIGdvZXMgaGVyZQ=="
}
}
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-channels' \
-H 'Accept: application/json' \
-H 'Authorization: Bearer <TOKEN>'
ResponseClear