List wallets
GET
/walletsAuthorization
AuthorizationBearer token (JWT) · headerrequiredQuery parameters
seller_idintegerrequiredcontact_idintegertypestringAllowed:
pointscreditstatestringAllowed:
activeinactiveqstringFull text search on contact email or wallet name.
pageintegerdefault: 1
per_pageintegerdefault: 30
Responses
200Paginated list of wallets
total_itemsintegerper_pageintegerpageinteger_linksHalLinks_classstring[]_embeddedobjectShow propertiesHide properties
itemsWallet[]Show propertiesHide properties
Array of
Wallet_linksHalLinksidintegertypestringAllowed:
pointscreditnamestringstatestringAllowed:
activeinactivebalanceintegercontact_idintegerprogram_idintegerconsentedbooleanlimit_amountintegerCredit wallets only — maximum spendable balance.
overdue_limit_amountintegerCredit wallets only — percentage of `limit_amount` allowed as overdue.
loan_termstringCredit wallets only — e.g. "2.days", "3.months".
created_onstring<date-time>updated_onstring<date-time>Request
curl -X GET "https://api.onbolder.com/v2/wallets?seller_id=7" \
-H "Authorization: Bearer YOUR_TOKEN"const response = await fetch("https://api.onbolder.com/v2/wallets?seller_id=7", {
method: "GET",
headers: {
"Authorization": "Bearer YOUR_TOKEN"
}
});import requests
response = requests.get(
"https://api.onbolder.com/v2/wallets?seller_id=7",
headers={
"Authorization": "Bearer YOUR_TOKEN"
},
)Response
{
"_class": [
"results",
"wallets"
],
"total_items": 1,
"per_page": 30,
"page": 1,
"_links": {
"self": {
"href": "https://api.onbolder.com/v2/wallets"
}
},
"_embedded": {
"items": [
{
"id": 55,
"type": "points",
"name": "Personal wallet",
"state": "active",
"balance": 500,
"contact_id": 3001,
"program_id": 4,
"consented": true,
"_links": {
"self": {
"href": "https://api.onbolder.com/v2/wallets/55"
},
"wallets:transfers": {
"href": "https://api.onbolder.com/v2/wallets/55/transfers"
}
}
}
]
}
}