Get Wallets List
POST/api/v2/wallets/list
Get Wallets List
Request
- application/json
Body
required
Default value: 10
Maximum number of records to return.
The offset from where to start fetching wallets.
filters object
Filter criteria for selecting wallets.
Free text search filter by wallet name or code.
Possible values: [USD]
Filter by currency code.
Possible values: [GENERAL, CARDS_VIRTUAL, SHARED_BALANCE_VIRTUAL_CARDS, PAYOUTS]
Filter by wallet purpose.
Possible values: [ACTIVE, BLOCKED, DELETED]
Filter by wallet status.
Filter by wallet owner ids.
Responses
- 200
- 422
Successful Response
- application/json
- Schema
- Example (from schema)
Schema
- Array [
- ]
items object[]required
Array of wallet objects.
Wallet id
More readable wallet id.
balance object
Possible values: [USD]
ISO currency code
An enumeration.
An enumeration.
Id of the wallet owner.
Wallet name or alias for the wallet
user object
User id
Possible values: [ADMIN, BUYER, TEAM_LEAD, FINANCIER]
User role
Possible values: [ACTIVE, PENDING, FROZEN, DELETED, SANDBOX]
User status
User first name
User last name
User nickname
User email
balance objectrequired
User balance information
Possible values: [USD]
ISO currency code
Total number of wallets corresponding to the filters.
{
"items": [
{
"id": "a2d1b4db-30ba-479c-8898-6a74b894271b",
"code": "string",
"balance": {
"currencyCode": "USD",
"available": 0,
"total": 0,
"reserved": 0,
"pending": 0,
"deposit": 0,
"spent": 0,
"return": 0
},
"purpose": "GENERAL",
"status": "ACTIVE",
"ownerId": "d73adfcc-3577-4392-a862-c747013647c0",
"name": "USD wallet for campaigns",
"user": {
"id": "d73adfcc-3577-4392-a862-c747013647c0",
"role": "BUYER",
"status": "ACTIVE",
"firstName": "John",
"lastName": "Doe",
"nickname": "johndoe",
"email": "johndoe@example.com",
"balance": {
"currencyCode": "USD",
"available": 0,
"total": 0,
"reserved": 0,
"pending": 0
}
}
}
],
"totalCount": 0
}
Validation Error
- application/json
- Schema
- Example (from schema)
Schema
- Array [
- Array [
- MOD1
- MOD2
- ]
- ]
detail object[]
loc object[]required
string
integer
{
"detail": [
{
"loc": [
"string",
0
],
"msg": "string",
"type": "string"
}
]
}