- Introduction
- Authentication
- Errors
- Change Logs
- Promotion
- Loyalty
- Wallet
- PIM
- Merchant
- How to
List Transactions
Production
Production
POST
https://api.b2b.retter.io/5p1hp1d2t/CALL/WalletAPI/listTransactions/{B2B_WALLET_PROJECT_ID}
Wallet
Last modified:2024-12-23 13:11:23
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
pageSize
number
optional
filters
array [object {2}]
optional
type
enum<string>
optional
Allowed values:
EARNEDFIXSPENTLOADEDREFUNDEDINITIALIZED
search
string
optional
sorts
array [object]
optional
walletId
string
optional
currency
string
optional
accountNumber
string
optional
expiresAt
object
optional
startDate
string
optional
endDate
string
optional
Example
{
"from": 0,
"pageSize": 0,
"filters": [
{
"type": "EARNED",
"search": "string"
}
],
"sorts": [
{}
],
"walletId": "string",
"currency": "string",
"accountNumber": "string",
"expiresAt": {
"startDate": "string",
"endDate": "string"
}
}
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/listTransactions/' \
--header 'Content-Type: application/json' \
--header 'x-api-key;' \
--data-raw ''
Responses
🟢200OK
application/json
Body
transactions
array [object {6}]
optional
transactionId
string
optional
type
string
optional
amount
integer
optional
description
string
optional
channel
string
optional
createdAt
string
optional
from
integer
optional
pageSize
integer
optional
total
integer
optional
size
integer
optional
Example
{
"transactions": [
{
"transactionId": "string",
"type": "string",
"amount": 0,
"description": "string",
"channel": "string",
"createdAt": "string"
}
],
"from": 0,
"pageSize": 0,
"total": 0,
"size": 0
}
🟠400Bad Request
🟠403Forbidden
🟠404Record Not Found
Modified at 2024-12-23 13:11:23