- Introduction
- Authentication
- Errors
- Change Logs
- Promotion
- Loyalty
- Wallet
- PIM
- Merchant
- How to
List Accounts
Production
Production
POST
https://api.b2b.retter.io/5p1hp1d2t/CALL/WalletAPI/listAccounts/{B2B_WALLET_PROJECT_ID}
Wallet
Last modified:2024-09-17 11:22:35
Request
Authorization
Add parameter in header
x-api-key
Example:
x-api-key: ********************
Path Params
B2B_WALLET_PROJECT_ID
string
required
Body Params application/json
from
number
optional
Default:
0
query
string
required
sorts
array [object]
optional
pageSize
number
optional
Default:
100
Example
{
"from": 0,
"query": "string",
"sorts": [
{}
],
"pageSize": 100
}
Request samples
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://api.b2b.retter.io/5p1hp1d2t/CALL/WalletAPI/listAccounts/' \
--header 'Content-Type: application/json' \
--header 'x-api-key;' \
--data-raw ''
Responses
🟢200OK
application/json
Body
total
integer
optional
size
integer
optional
pageSize
integer
optional
from
integer
optional
result
array [object {11}]
optional
id
string
optional
title
string
optional
projectId
string
optional
accountType
string
optional
accountNumber
string
optional
accountNumberType
string
optional
channel
string
optional
currency
string
optional
status
string
optional
walletId
string
optional
createdAt
string
optional
Example
{
"total": 0,
"size": 0,
"pageSize": 0,
"from": 0,
"result": [
{
"id": "string",
"title": "string",
"projectId": "string",
"accountType": "string",
"accountNumber": "string",
"accountNumberType": "string",
"channel": "string",
"currency": "string",
"status": "string",
"walletId": "string",
"createdAt": "string"
}
]
}
🟠400Bad Request
🟠403Forbidden
🟠404Record Not Found
Modified at 2024-09-17 11:22:35