Get transactions where the authenticated user is the sender. Replaces GET /transaction/auth/sender
PERS-api docs (2.0.2)
https://docs.pers.ninja/_mock/swagger/
https://api.pers.ninja/v2/
- Mock server
https://docs.pers.ninja/_mock/swagger/transactions/me/sent
https://api.pers.ninja/v2/transactions/me/sent
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
https://docs.pers.ninja/_mock/swagger/transactions/me/sent \
-H 'x-project-key: YOUR_API_KEY_HERE'User sent transactions
Transaction token contract id, this is the blockchain contract id of the token
Trigger process type
Trigger process id, this is the id of the entity that triggered the transaction if applicable (e.g. CampaignUserClaim id)
Transaction status
Sender entity type (user, business, system etc.)
Recipient entity type (user, Business, system, etc.)
[ { "amount": 0, "id": "string", "tokenAddress": "string", "contractTokenId": {}, "tokenType": "string", "senderAddress": "string", "recipientAddress": {}, "transactionHash": {}, "type": "MINT", "triggerProcessType": "PURCHASE", "triggerProcessId": {}, "status": "created", "createdAt": {}, "updatedAt": {}, "tenantId": "string", "chainId": 0, "senderId": {}, "senderOwnerType": "user", "recipientId": {}, "recipientOwnerType": "user" } ]
- Mock server
https://docs.pers.ninja/_mock/swagger/transactions/me/received
https://api.pers.ninja/v2/transactions/me/received
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
https://docs.pers.ninja/_mock/swagger/transactions/me/received \
-H 'x-project-key: YOUR_API_KEY_HERE'User received transactions
Transaction token contract id, this is the blockchain contract id of the token
Trigger process type
Trigger process id, this is the id of the entity that triggered the transaction if applicable (e.g. CampaignUserClaim id)
Transaction status
Sender entity type (user, business, system etc.)
Recipient entity type (user, Business, system, etc.)
[ { "amount": 0, "id": "string", "tokenAddress": "string", "contractTokenId": {}, "tokenType": "string", "senderAddress": "string", "recipientAddress": {}, "transactionHash": {}, "type": "MINT", "triggerProcessType": "PURCHASE", "triggerProcessId": {}, "status": "created", "createdAt": {}, "updatedAt": {}, "tenantId": "string", "chainId": 0, "senderId": {}, "senderOwnerType": "user", "recipientId": {}, "recipientOwnerType": "user" } ]
- Mock server
https://docs.pers.ninja/_mock/swagger/transactions
https://api.pers.ninja/v2/transactions
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
https://docs.pers.ninja/_mock/swagger/transactions \
-H 'Authorization: Bearer <YOUR_JWT_HERE>'{ "data": [], "pagination": { "page": 1, "limit": 50, "total": 150, "pages": 3, "hasNext": true, "hasPrev": false } }
Account ID (businessId or userId). System will auto-detect account type.
Account type
- Mock server
https://docs.pers.ninja/_mock/swagger/transactions/query-sender
https://api.pers.ninja/v2/transactions/query-sender
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X POST \
https://docs.pers.ninja/_mock/swagger/transactions/query-sender \
-H 'Authorization: Bearer <YOUR_JWT_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"accountId": "user123",
"accountType": "user",
"accountAddress": "0x742d35Cc5dB3dC0F0e8f0b0d2fA0c3fA2ed5D0f8"
}'Transactions as sender
Transaction token contract id, this is the blockchain contract id of the token
Trigger process type
Trigger process id, this is the id of the entity that triggered the transaction if applicable (e.g. CampaignUserClaim id)
Transaction status
Sender entity type (user, business, system etc.)
Recipient entity type (user, Business, system, etc.)
[ { "amount": 0, "id": "string", "tokenAddress": "string", "contractTokenId": {}, "tokenType": "string", "senderAddress": "string", "recipientAddress": {}, "transactionHash": {}, "type": "MINT", "triggerProcessType": "PURCHASE", "triggerProcessId": {}, "status": "created", "createdAt": {}, "updatedAt": {}, "tenantId": "string", "chainId": 0, "senderId": {}, "senderOwnerType": "user", "recipientId": {}, "recipientOwnerType": "user" } ]
Account ID (businessId or userId). System will auto-detect account type.
Account type
- Mock server
https://docs.pers.ninja/_mock/swagger/transactions/query-recipient
https://api.pers.ninja/v2/transactions/query-recipient
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X POST \
https://docs.pers.ninja/_mock/swagger/transactions/query-recipient \
-H 'Authorization: Bearer <YOUR_JWT_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"accountId": "user123",
"accountType": "user",
"accountAddress": "0x742d35Cc5dB3dC0F0e8f0b0d2fA0c3fA2ed5D0f8"
}'Transactions as recipient
Transaction token contract id, this is the blockchain contract id of the token
Trigger process type
Trigger process id, this is the id of the entity that triggered the transaction if applicable (e.g. CampaignUserClaim id)
Transaction status
Sender entity type (user, business, system etc.)
Recipient entity type (user, Business, system, etc.)
[ { "amount": 0, "id": "string", "tokenAddress": "string", "contractTokenId": {}, "tokenType": "string", "senderAddress": "string", "recipientAddress": {}, "transactionHash": {}, "type": "MINT", "triggerProcessType": "PURCHASE", "triggerProcessId": {}, "status": "created", "createdAt": {}, "updatedAt": {}, "tenantId": "string", "chainId": 0, "senderId": {}, "senderOwnerType": "user", "recipientId": {}, "recipientOwnerType": "user" } ]
- Mock server
https://docs.pers.ninja/_mock/swagger/transactions/{id}
https://api.pers.ninja/v2/transactions/{id}
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
'https://docs.pers.ninja/_mock/swagger/transactions/{id}' \
-H 'x-project-key: YOUR_API_KEY_HERE'Transaction found
Transaction token contract id, this is the blockchain contract id of the token
Trigger process type
Trigger process id, this is the id of the entity that triggered the transaction if applicable (e.g. CampaignUserClaim id)
Transaction status
Sender entity type (user, business, system etc.)
{ "amount": 0, "id": "string", "tokenAddress": "string", "contractTokenId": {}, "tokenType": "string", "senderAddress": "string", "recipientAddress": {}, "transactionHash": {}, "type": "MINT", "triggerProcessType": "PURCHASE", "triggerProcessId": {}, "status": "created", "createdAt": {}, "updatedAt": {}, "tenantId": "string", "chainId": 0, "senderId": {}, "senderOwnerType": "user", "recipientId": {}, "recipientOwnerType": "user" }
Transaction type for easier detection and routing
- Mock server
https://docs.pers.ninja/_mock/swagger/transactions/system
https://api.pers.ninja/v2/transactions/system
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X POST \
https://docs.pers.ninja/_mock/swagger/transactions/system \
-H 'Authorization: Bearer <YOUR_JWT_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"web3TransactionType": "TRANSFER",
"sender": {
"accountId": "user123",
"accountType": "user",
"accountAddress": "0x742d35Cc5dB3dC0F0e8f0b0d2fA0c3fA2ed5D0f8"
},
"recipient": {
"accountId": "user123",
"accountType": "user",
"accountAddress": "0x742d35Cc5dB3dC0F0e8f0b0d2fA0c3fA2ed5D0f8"
},
"token": {
"tokenDbId": "uuid-12345-67890",
"contractAddress": "0x742d35Cc5dB3dC0F0e8f0b0d2fA0c3fA2ed5D0f8",
"nftTokenId": "721",
"chainId": 1
},
"amount": 100
}'System transaction created
Transaction token contract id, this is the blockchain contract id of the token
Trigger process type
Trigger process id, this is the id of the entity that triggered the transaction if applicable (e.g. CampaignUserClaim id)
Transaction status
Sender entity type (user, business, system etc.)
{ "amount": 0, "id": "string", "tokenAddress": "string", "contractTokenId": {}, "tokenType": "string", "senderAddress": "string", "recipientAddress": {}, "transactionHash": {}, "type": "MINT", "triggerProcessType": "PURCHASE", "triggerProcessId": {}, "status": "created", "createdAt": {}, "updatedAt": {}, "tenantId": "string", "chainId": 0, "senderId": {}, "senderOwnerType": "user", "recipientId": {}, "recipientOwnerType": "user" }
Transaction type for easier detection and routing
- Mock server
https://docs.pers.ninja/_mock/swagger/transactions/user
https://api.pers.ninja/v2/transactions/user
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X POST \
https://docs.pers.ninja/_mock/swagger/transactions/user \
-H 'Authorization: Bearer <YOUR_JWT_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"web3TransactionType": "TRANSFER",
"sender": {
"accountId": "user123",
"accountType": "user",
"accountAddress": "0x742d35Cc5dB3dC0F0e8f0b0d2fA0c3fA2ed5D0f8"
},
"recipient": {
"accountId": "user123",
"accountType": "user",
"accountAddress": "0x742d35Cc5dB3dC0F0e8f0b0d2fA0c3fA2ed5D0f8"
},
"token": {
"tokenDbId": "uuid-12345-67890",
"contractAddress": "0x742d35Cc5dB3dC0F0e8f0b0d2fA0c3fA2ed5D0f8",
"nftTokenId": "721",
"chainId": 1
},
"amount": 100
}'User transaction created
Transaction token contract id, this is the blockchain contract id of the token
Trigger process type
Trigger process id, this is the id of the entity that triggered the transaction if applicable (e.g. CampaignUserClaim id)
Transaction status
Sender entity type (user, business, system etc.)
{ "amount": 0, "id": "string", "tokenAddress": "string", "contractTokenId": {}, "tokenType": "string", "senderAddress": "string", "recipientAddress": {}, "transactionHash": {}, "type": "MINT", "triggerProcessType": "PURCHASE", "triggerProcessId": {}, "status": "created", "createdAt": {}, "updatedAt": {}, "tenantId": "string", "chainId": 0, "senderId": {}, "senderOwnerType": "user", "recipientId": {}, "recipientOwnerType": "user" }
Transaction type for easier detection and routing
- Mock server
https://docs.pers.ninja/_mock/swagger/transactions/business
https://api.pers.ninja/v2/transactions/business
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X POST \
https://docs.pers.ninja/_mock/swagger/transactions/business \
-H 'Content-Type: application/json' \
-H 'x-api-key: YOUR_API_KEY_HERE' \
-H 'x-project-key: YOUR_API_KEY_HERE' \
-d '{
"web3TransactionType": "TRANSFER",
"sender": {
"accountId": "user123",
"accountType": "user",
"accountAddress": "0x742d35Cc5dB3dC0F0e8f0b0d2fA0c3fA2ed5D0f8"
},
"recipient": {
"accountId": "user123",
"accountType": "user",
"accountAddress": "0x742d35Cc5dB3dC0F0e8f0b0d2fA0c3fA2ed5D0f8"
},
"token": {
"tokenDbId": "uuid-12345-67890",
"contractAddress": "0x742d35Cc5dB3dC0F0e8f0b0d2fA0c3fA2ed5D0f8",
"nftTokenId": "721",
"chainId": 1
},
"amount": 100
}'Business transaction created
Transaction token contract id, this is the blockchain contract id of the token
Trigger process type
Trigger process id, this is the id of the entity that triggered the transaction if applicable (e.g. CampaignUserClaim id)
Transaction status
Sender entity type (user, business, system etc.)
{ "amount": 0, "id": "string", "tokenAddress": "string", "contractTokenId": {}, "tokenType": "string", "senderAddress": "string", "recipientAddress": {}, "transactionHash": {}, "type": "MINT", "triggerProcessType": "PURCHASE", "triggerProcessId": {}, "status": "created", "createdAt": {}, "updatedAt": {}, "tenantId": "string", "chainId": 0, "senderId": {}, "senderOwnerType": "user", "recipientId": {}, "recipientOwnerType": "user" }
- Mock server
https://docs.pers.ninja/_mock/swagger/transactions/prepare
https://api.pers.ninja/v2/transactions/prepare
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X POST \
https://docs.pers.ninja/_mock/swagger/transactions/prepare \
-H 'Content-Type: application/json' \
-H 'x-project-key: YOUR_API_KEY_HERE' \
-d '{
"contractAddress": "string",
"contractTokenId": "string",
"amount": 0,
"recipientAddress": "string",
"senderAddress": "string"
}'{ "transactionId": "string", "data": {}, "walletStatus": "WALLET_AND_SIGNING_READY" }
- Mock server
https://docs.pers.ninja/_mock/swagger/transactions/{id}/prepare
https://api.pers.ninja/v2/transactions/{id}/prepare
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
'https://docs.pers.ninja/_mock/swagger/transactions/{id}/prepare' \
-H 'x-project-key: YOUR_API_KEY_HERE'{ "transactionId": "string", "data": {}, "walletStatus": "WALLET_AND_SIGNING_READY" }
Transaction format type for submission
EIP-712 structured data for smart wallet meta-transactions (required when type is EIP-712)
- Mock server
https://docs.pers.ninja/_mock/swagger/transactions/{id}/submit
https://api.pers.ninja/v2/transactions/{id}/submit
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X POST \
'https://docs.pers.ninja/_mock/swagger/transactions/{id}/submit' \
-H 'Content-Type: application/json' \
-H 'x-project-key: YOUR_API_KEY_HERE' \
-d '{
"type": "legacy",
"signature": "0x1234567890abcdef...",
"signedTransaction": "0xf86c0a8255f0..."
}'Transaction submitted successfully
Transaction token contract id, this is the blockchain contract id of the token
Trigger process type
Trigger process id, this is the id of the entity that triggered the transaction if applicable (e.g. CampaignUserClaim id)
Transaction status
Sender entity type (user, business, system etc.)
{ "amount": 0, "id": "string", "tokenAddress": "string", "contractTokenId": {}, "tokenType": "string", "senderAddress": "string", "recipientAddress": {}, "transactionHash": {}, "type": "MINT", "triggerProcessType": "PURCHASE", "triggerProcessId": {}, "status": "created", "createdAt": {}, "updatedAt": {}, "tenantId": "string", "chainId": 0, "senderId": {}, "senderOwnerType": "user", "recipientId": {}, "recipientOwnerType": "user" }
- Mock server
https://docs.pers.ninja/_mock/swagger/transactions/export/csv
https://api.pers.ninja/v2/transactions/export/csv
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
https://docs.pers.ninja/_mock/swagger/transactions/export/csv \
-H 'Authorization: Bearer <YOUR_JWT_HERE>'"string"
Analytics configuration with filters, grouping, and metrics
Dynamic filters based on TransactionDTO fields - all transaction fields available
Fields to group by - any TransactionDTO field plus computed time fields
Complex CASE WHEN expressions for advanced grouping scenarios
Field to order results by (supports expression aliases)
- Mock server
https://docs.pers.ninja/_mock/swagger/transactions/analytics
https://api.pers.ninja/v2/transactions/analytics
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X POST \
https://docs.pers.ninja/_mock/swagger/transactions/analytics \
-H 'Authorization: Bearer <YOUR_JWT_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"filters": {
"status": "SUCCEEDED",
"tokenType": "STAMP"
},
"groupBy": [
"month"
],
"metrics": [
"count"
],
"orderBy": "count",
"orderDirection": "DESC",
"limit": 12
}'{ "results": [ { … }, { … }, { … } ], "totalGroups": 3, "metadata": { "executionTime": "45ms" } }