APIPresale Payment
Get Stripe Transaction For Presale Orders
Retrieve Stripe payment transaction history
Stripe Transaction History
View all Stripe payment transactions for presale orders
Query
Parameters
This query requires no parameters - returns all Stripe transactions
Return Value
📦
Returns Array of StripeTransaction Objects
List of all Stripe payment transactions with complete details
Example
💻
Usage Example
Get all Stripe transactions
query {
getStripeTransactions {
roundId
userId
paymentIntentId
amount
status
createdAt
}
}Response Example
📤
Sample Response
List of transactions
{
"data": {
"getStripeTransactions": [
{
"roundId": "1",
"userId": "user_abc123",
"paymentIntentId": "pi_1Fxxxxx",
"amount": 500.0,
"status": 1,
"createdAt": 1634567890
}
]
}
}Transaction Fields
roundIdPresale round identifier
userIdUser who made payment
paymentIntentIdStripe payment intent ID
amountPayment amount in USD
statusTransaction status code
createdAtUnix timestamp of creation
Status Codes
Transaction Status Values
0Pending - Payment intent created, awaiting confirmation1Completed - Payment successfully processed-1Failed - Payment failed or declined💡
Best Practice
Use paymentIntentId to reconcile with Stripe dashboard. Filter by roundId for presale-specific reporting. Monitor status field to identify failed payments requiring retry. Convert createdAt timestamp for user-friendly date displays.