Skip to main content
POST
/
api
/
v1
/
zapier
/
actions
/
get_wallet_transactions
Get Wallet Transactions
curl --request POST \
  --url https://api.ugift.me/api/v1/zapier/actions/get_wallet_transactions \
  --header 'Content-Type: application/json' \
  --header 'X-API-Key: <api-key>' \
  --data '
{
  "limit": 50,
  "fromDate": "2024-01-01",
  "toDate": "2024-01-31"
}
'
{
  "success": true,
  "action": "get_wallet_transactions",
  "data": {
    "businessId": "507f1f77bcf86cd799439012",
    "transactions": [
      {
        "transactionId": "txn_123456789",
        "type": "debit",
        "amount": 50,
        "currency": "GBP",
        "balance": 1450,
        "description": "Gift card order #507f1f77bcf86cd799439011",
        "processedAt": "2024-01-15T10:30:00.000Z"
      }
    ],
    "totalCount": 1,
    "retrievedAt": "2024-01-15T10:30:00.000Z"
  }
}

Authorizations

X-API-Key
string
header
required

Your uGiftme business API key for authentication.

Format: UUID format (e.g., 6b4e22b2-c0a5-4c7a-888a-b38eac20b454) Required: All endpoints require this header Permissions: Must have business-level access with Zapier integration permissions

Example: X-API-Key: 6b4e22b2-c0a5-4c7a-888a-b38eac20b454

Body

application/json
limit
integer
default:50

Maximum number of transactions to return

Required range: 1 <= x <= 100
Example:

50

fromDate
string<date>

Start date for transaction history (YYYY-MM-DD)

Example:

"2024-01-01"

toDate
string<date>

End date for transaction history (YYYY-MM-DD)

Example:

"2024-01-31"

Response

Wallet transactions retrieved successfully

success
boolean
required

Indicates if the request was successful

Example:

true

action
string
required

The action that was executed

Example:

"get_wallet_transactions"

data
object