العودة للمرجع
GET/wallets/{walletId}/transactions
Transactions

عمليات المحفظة

يعيد سجل عمليات المحفظة بصفحات.

مستوى الوصولcustomer_or_businessالحد60/minمنع التكرارnoneالمصادقةBearerAuth
المصدرLuxApi/app/Http/Controllers/Api/WalletApiController.php::transactionsLuxPayProjects @ 146e98baa44e

المعاملات

X-Request-IDheader
stringاختياري

Client correlation identifier. LuxPay may generate one when omitted.

Example: req_01J...
walletIdpath
integerإلزامي

Numeric wallet identifier.

Example: 42
per_pagequery
integerاختياري

Page size.

Example: 20
pagequery
integerاختياري

Page number.

Example: 1

أمثلة الكود

العنوان المعروض Sandbox Placeholder حتى يتم تزويد النطاق الرسمي. لا تلصق رمز Production في متصفح عام.
curl --request GET \
  --url 'https://sandbox-api.luxpay.example/v1/wallets/42/transactions' \
  --header 'Accept: application/json' \
  --header 'Authorization: Bearer <token>'

الاستجابات

200Successful response.
status
boolean
Example: true
data
any
{
  "status": true,
  "data": {
    "data": [
      {
        "id": 901,
        "uuid": "00000000-0000-4000-8000-000000000001",
        "wallet_id": 42,
        "owner_type": "customer",
        "owner_id": 2201,
        "transaction_type": "transfer",
        "status": "completed",
        "amount": 1250.5,
        "currency_code": "YER",
        "exchange_rate": null,
        "local_amount": null,
        "fee_amount": 0,
        "net_amount": 1250.5,
        "reference_type": null,
        "reference_id": null,
        "external_reference": null,
        "idempotency_key": null,
        "business_id": null,
        "branch_id": null,
        "payment_method": null,
        "description": null,
        "meta": null,
        "completed_at": null,
        "failed_at": null,
        "reversed_at": null,
        "created_at": null
      }
    ],
    "current_page": 1,
    "last_page": 4,
    "per_page": 20,
    "total": 73,
    "from": 1,
    "to": 1
  }
}
400
401
403
404
409
422
429
500
OpenAPI JSONOpenAPI YAMLPostman collection