curl --location --request GET 'https://stablecoin-api.sandbox.getmeru.com/api/v1/cards-program/transactions?cardId=7a8b9c0d-1e2f-3a4b-5c6d-7e8f9a0b1c2d&limit=20' \
--header 'Content-Type: application/json' \
--header 'api-key: <api-key>'
{
"success": true,
"data": [
{
"transactionId": "txn_1a2b3c4d5e6f7g8h",
"cardId": "7a8b9c0d-1e2f-3a4b-5c6d-7e8f9a0b1c2d",
"userId": "3ddd0e5b-6276-4b48-b756-c1fcc9a2efd1",
"amount": 49.99,
"currency": "USD",
"status": "approved",
"merchantName": "Amazon.com",
"merchantCategory": "5942",
"type": "purchase",
"createdAt": "2024-01-15T14:23:45Z"
},
{
"transactionId": "txn_9h8g7f6e5d4c3b2a",
"cardId": "7a8b9c0d-1e2f-3a4b-5c6d-7e8f9a0b1c2d",
"userId": "3ddd0e5b-6276-4b48-b756-c1fcc9a2efd1",
"amount": 125.50,
"currency": "USD",
"status": "approved",
"merchantName": "Whole Foods",
"merchantCategory": "5411",
"type": "purchase",
"createdAt": "2024-01-14T09:15:22Z"
}
],
"pagination": {
"nextCursor": "eyJpZCI6MTIzNDU2fQ==",
"hasMore": true
}
}
Transactions
List Transactions
This endpoint retrieves a paginated list of card transactions with optional filters
GET
/
api
/
v1
/
cards-program
/
transactions
curl --location --request GET 'https://stablecoin-api.sandbox.getmeru.com/api/v1/cards-program/transactions?cardId=7a8b9c0d-1e2f-3a4b-5c6d-7e8f9a0b1c2d&limit=20' \
--header 'Content-Type: application/json' \
--header 'api-key: <api-key>'
{
"success": true,
"data": [
{
"transactionId": "txn_1a2b3c4d5e6f7g8h",
"cardId": "7a8b9c0d-1e2f-3a4b-5c6d-7e8f9a0b1c2d",
"userId": "3ddd0e5b-6276-4b48-b756-c1fcc9a2efd1",
"amount": 49.99,
"currency": "USD",
"status": "approved",
"merchantName": "Amazon.com",
"merchantCategory": "5942",
"type": "purchase",
"createdAt": "2024-01-15T14:23:45Z"
},
{
"transactionId": "txn_9h8g7f6e5d4c3b2a",
"cardId": "7a8b9c0d-1e2f-3a4b-5c6d-7e8f9a0b1c2d",
"userId": "3ddd0e5b-6276-4b48-b756-c1fcc9a2efd1",
"amount": 125.50,
"currency": "USD",
"status": "approved",
"merchantName": "Whole Foods",
"merchantCategory": "5411",
"type": "purchase",
"createdAt": "2024-01-14T09:15:22Z"
}
],
"pagination": {
"nextCursor": "eyJpZCI6MTIzNDU2fQ==",
"hasMore": true
}
}
Query Parameters
Filter transactions by company ID
Filter transactions by user ID
Filter transactions by card ID
Pagination cursor for retrieving the next page of results
Number of transactions to return per page (1-100, default: 20)
Response
Indicates whether the call was successful
Array of transaction objects
Show Transaction object
Show Transaction object
Unique transaction identifier
The card ID used for the transaction
The user ID of the cardholder
Transaction amount
Transaction currency code (e.g., “USD”)
Transaction status:
pending, approved, declined, or reversedName of the merchant
Merchant category code (MCC)
Transaction type:
purchase, refund, withdrawal, etc.ISO 8601 timestamp when the transaction was created
curl --location --request GET 'https://stablecoin-api.sandbox.getmeru.com/api/v1/cards-program/transactions?cardId=7a8b9c0d-1e2f-3a4b-5c6d-7e8f9a0b1c2d&limit=20' \
--header 'Content-Type: application/json' \
--header 'api-key: <api-key>'
{
"success": true,
"data": [
{
"transactionId": "txn_1a2b3c4d5e6f7g8h",
"cardId": "7a8b9c0d-1e2f-3a4b-5c6d-7e8f9a0b1c2d",
"userId": "3ddd0e5b-6276-4b48-b756-c1fcc9a2efd1",
"amount": 49.99,
"currency": "USD",
"status": "approved",
"merchantName": "Amazon.com",
"merchantCategory": "5942",
"type": "purchase",
"createdAt": "2024-01-15T14:23:45Z"
},
{
"transactionId": "txn_9h8g7f6e5d4c3b2a",
"cardId": "7a8b9c0d-1e2f-3a4b-5c6d-7e8f9a0b1c2d",
"userId": "3ddd0e5b-6276-4b48-b756-c1fcc9a2efd1",
"amount": 125.50,
"currency": "USD",
"status": "approved",
"merchantName": "Whole Foods",
"merchantCategory": "5411",
"type": "purchase",
"createdAt": "2024-01-14T09:15:22Z"
}
],
"pagination": {
"nextCursor": "eyJpZCI6MTIzNDU2fQ==",
"hasMore": true
}
}
Error Responses
{
"success": false,
"error": "Unauthorized. Please check your authentication credentials."
}
⌘I