cURL
curl --request GET \ --url https://api-m.sandbox.paypal.com/v1/commerce/billing/wallets/{wallet_id}/wallet-transactions \ --header 'Authorization: Bearer <token>'
{ "wallet_transactions": [ { "wallet_transaction_id": "1a901a90-1a90-1a90-1a90-1a901a901a90", "wallet_id": "1a901a90-1a90-1a90-1a90-1a901a901a90", "payment_status": "SETTLED", "source": "MANUAL", "transaction_status": "PURCHASED", "transaction_type": "INBOUND", "amount": { "value": 120.35, "currency_code": "USD" }, "credits": "100.0", "settled_at": "2022-04-29T08:59:51Z", "failed_at": "2022-04-29T08:59:51Z", "created_at": "2022-04-29T08:59:51Z", "metadata": [ { "key": "reason", "value": "balance depleted" } ] } ], "meta": { "total_count": 123, "total_pages": 123, "current_page": 123, "next_page": 3, "prev_page": 1 } }
Use the /v1/oauth2/token endpoint to obtain an access token and pass it as a Bearer token in the Authorization header.
Wallet ID
Page number
Number of records per page
Wallet transactions retrieved successfully
The get wallet transactions response contains list of wallet transactions for the specified wallet id.
The list of wallet transactions for the specified wallet id
Show child attributes
Was this page helpful?