GET
https://api.stableyard.fi
/
sdk
/
v1
/
get-transactions
curl -X GET "https://api.stableyard.fi/sdk/v1/get-transactions?userId=user_abc123&page=1" \
  -H "Authorization: Basic $(echo -n $STABLEYARD_APP_ID:$STABLEYARD_APP_SECRET | base64)"
{
  "success": true,
  "data": {
    "transactions": [
      {
        "id": "tx_123",
        "type": "payment",
        "amount": "100.00",
        "token": "USDC",
        "from": "alice@partner",
        "to": "merchant@partner",
        "status": "completed",
        "createdAt": "2024-01-15T10:30:00Z"
      }
    ],
    "pagination": {
      "page": 1,
      "limit": 20,
      "totalPages": 5,
      "totalCount": 98
    }
  },
  "requestId": "req_xyz789"
}
Retrieve the complete transaction history for a Money Account with pagination support.

Authentication

Authorization
string
required
Basic authentication. Value: Basic base64(STABLEYARD_APP_ID:STABLEYARD_APP_SECRET). Obtain your credentials from the Stableyard SDK.

Query Parameters

userId
string
Money Account’s unique identifier
page
integer
Page number (minimum: 1, default: 1)

Response

success
boolean
Indicates if the request was successful
data
object
curl -X GET "https://api.stableyard.fi/sdk/v1/get-transactions?userId=user_abc123&page=1" \
  -H "Authorization: Basic $(echo -n $STABLEYARD_APP_ID:$STABLEYARD_APP_SECRET | base64)"
{
  "success": true,
  "data": {
    "transactions": [
      {
        "id": "tx_123",
        "type": "payment",
        "amount": "100.00",
        "token": "USDC",
        "from": "alice@partner",
        "to": "merchant@partner",
        "status": "completed",
        "createdAt": "2024-01-15T10:30:00Z"
      }
    ],
    "pagination": {
      "page": 1,
      "limit": 20,
      "totalPages": 5,
      "totalCount": 98
    }
  },
  "requestId": "req_xyz789"
}