curl -X POST https://api.alguna.io/wallets/wal_def456/credit \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"amount": "100.00",
"transactionType": "promotional",
"referenceId": "promo_jan2024",
"description": "January promotional credit"
}'
{
"id": "wal_def456",
"accountId": "acc_abc123",
"name": "Prepaid Credits",
"currency": "USD",
"currentBalance": "600.00",
"active": true,
"productIds": [],
"createdAt": "2024-01-20T10:00:00Z",
"updatedAt": "2024-01-21T10:00:00Z"
}
curl -X POST https://api.alguna.io/wallets/wal_def456/credit \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"amount": "100.00",
"transactionType": "promotional",
"referenceId": "promo_jan2024",
"description": "January promotional credit"
}'
{
"id": "wal_def456",
"accountId": "acc_abc123",
"name": "Prepaid Credits",
"currency": "USD",
"currentBalance": "600.00",
"active": true,
"productIds": [],
"createdAt": "2024-01-20T10:00:00Z",
"updatedAt": "2024-01-21T10:00:00Z"
}
manual_adjustment, promotional, refund.curl -X POST https://api.alguna.io/wallets/wal_def456/credit \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"amount": "100.00",
"transactionType": "promotional",
"referenceId": "promo_jan2024",
"description": "January promotional credit"
}'
{
"id": "wal_def456",
"accountId": "acc_abc123",
"name": "Prepaid Credits",
"currency": "USD",
"currentBalance": "600.00",
"active": true,
"productIds": [],
"createdAt": "2024-01-20T10:00:00Z",
"updatedAt": "2024-01-21T10:00:00Z"
}