GET
Ledger/wallets/{walletId}/ledgerList ledger entries
Returns immutable ledger entries for the wallet. Corrections are represented by reversal entries.
Access tierbusiness_financeRate limit60/minIdempotencynoneAuthenticationBearerAuth
Source
LuxApi/app/Http/Controllers/Api/WalletApiController.php::ledgerLuxPayProjects @ 146e98baa44eParameters
X-Request-IDheaderClient correlation identifier. LuxPay may generate one when omitted.
Example:req_01J...walletIdpathNumeric wallet identifier.
Example:42per_pagequeryPage size.
Example:20pagequeryPage number.
Example:1Code examples
The displayed sandbox host is a placeholder until an official host is provisioned. Never paste a production token into a public browser.
curl --request GET \
--url 'https://sandbox-api.luxpay.example/v1/wallets/42/ledger' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer <token>'Responses
200Successful response.
statusboolean
Example:
truedataany
{
"status": true,
"data": {
"data": [
{
"id": 3301,
"uuid": "00000000-0000-4000-8000-000000000001",
"wallet_id": 42,
"transaction_id": null,
"direction": "debit",
"amount": 1250.5,
"signed_amount": -1250.5,
"currency_code": "YER",
"exchange_rate": null,
"local_amount": null,
"signed_local_amount": null,
"local_currency_code": null,
"balance_after": 3749.5,
"entry_type": "transfer",
"status": "posted",
"idempotency_key": null,
"reference_type": null,
"reference_id": null,
"description": null,
"reversed_by_entry_id": null,
"is_reversal": false,
"reverses_entry_id": null,
"meta": null,
"created_at": null
}
],
"current_page": 1,
"last_page": 4,
"per_page": 20,
"total": 73,
"from": 1,
"to": 1
}
}