Skip to main content
GET
/
wallets
/
{wallet_id}
/
wallet-transactions
Get wallet transactions
curl --request GET \
  --url https://api-m.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
  }
}

Authorizations

Authorization
string
header
required

Use the /v1/oauth2/token endpoint to obtain an access token and pass it as a Bearer token in the Authorization header.

Path Parameters

wallet_id
string
required

Wallet ID

Query Parameters

page
integer

Page number

per_page
integer

Number of records per page

Response

Wallet transactions retrieved successfully

The get wallet transactions response contains list of wallet transactions for the specified wallet id.

wallet_transactions
object[]

The list of wallet transactions for the specified wallet id

meta
object
I