Get a wallet
GET
/wallets/{id}Authorization
AuthorizationBearer token (JWT) · headerrequiredPath parameters
idintegerrequiredResponses
200The 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/0" \
-H "Authorization: Bearer YOUR_TOKEN"const response = await fetch("https://api.onbolder.com/v2/wallets/0", {
method: "GET",
headers: {
"Authorization": "Bearer YOUR_TOKEN"
}
});import requests
response = requests.get(
"https://api.onbolder.com/v2/wallets/0",
headers={
"Authorization": "Bearer YOUR_TOKEN"
},
)Response
{
"_links": {
"property1": {
"href": "string",
"templated": true,
"method": "get",
"title": "string",
"type": "string"
},
"property2": {
"href": "string",
"templated": true,
"method": "get",
"title": "string",
"type": "string"
}
},
"id": 0,
"type": "points",
"name": "string",
"state": "active",
"balance": 0,
"contact_id": 0,
"program_id": 0,
"consented": true,
"limit_amount": 0,
"overdue_limit_amount": 0,
"loan_term": "string",
"created_on": "2019-08-24T14:15:22Z",
"updated_on": "2019-08-24T14:15:22Z"
}