List transfers for a wallet
GET
/wallets/{wallet_id}/transfersAuthorization
AuthorizationBearer token (JWT) · headerrequiredPath parameters
wallet_idintegerrequiredQuery parameters
statestringAllowed:
pendingcompletedreverseddeletedexpiredtypestringAllowed:
incomingoutgoingshop_idstringfrom_datestring<date>to_datestring<date>qstringResponses
200Paginated list of transfers
total_itemsintegerper_pageintegerpageinteger_linksHalLinks_classstring[]_embeddedobjectShow propertiesHide properties
itemsWalletTransfer[]Show propertiesHide properties
Array of
WalletTransfer_linksHalLinksidintegerdirectionstringAllowed:
incomingoutgoingstatestringAllowed:
pendingcompletedreverseddeletedexpiredamountintegerPositive for incoming transfers, negative for outgoing.
original_amountintegerOrder total that earned this transfer, for points earned from a purchase.
descriptionstringreference_codestringpayment_methodstringshop_idstringwallet_idintegerbalance_expires_atstring<date-time>created_onstring<date-time>Request
curl -X GET "https://api.onbolder.com/v2/wallets/0/transfers" \
-H "Authorization: Bearer YOUR_TOKEN"const response = await fetch("https://api.onbolder.com/v2/wallets/0/transfers", {
method: "GET",
headers: {
"Authorization": "Bearer YOUR_TOKEN"
}
});import requests
response = requests.get(
"https://api.onbolder.com/v2/wallets/0/transfers",
headers={
"Authorization": "Bearer YOUR_TOKEN"
},
)Response
{
"total_items": 42,
"per_page": 20,
"page": 1,
"_links": {
"property1": {
"href": "string",
"templated": true,
"method": "get",
"title": "string",
"type": "string"
},
"property2": {
"href": "string",
"templated": true,
"method": "get",
"title": "string",
"type": "string"
}
},
"_class": [
"results",
"walletTransfers"
],
"_embedded": {
"items": [
{
"_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,
"direction": "incoming",
"state": "pending",
"amount": 0,
"original_amount": 0,
"description": "string",
"reference_code": "string",
"payment_method": "string",
"shop_id": "string",
"wallet_id": 0,
"balance_expires_at": "2019-08-24T14:15:22Z",
"created_on": "2019-08-24T14:15:22Z"
}
]
}
}