curl https://api.alguna.io/credit-grants/grant_abc123 \
-H "Authorization: Bearer YOUR_API_KEY"
{
"id": "grant_abc123",
"wallet_id": "wal_def456",
"amount": "500.00",
"description": "Annual credit allocation",
"expires_at": "2024-12-31T23:59:59Z",
"payment_id": null,
"status": "active",
"created_at": "2024-01-20T10:00:00Z",
"updated_at": "2024-01-20T10:00:00Z"
}
curl https://api.alguna.io/credit-grants/grant_abc123 \
-H "Authorization: Bearer YOUR_API_KEY"
{
"id": "grant_abc123",
"wallet_id": "wal_def456",
"amount": "500.00",
"description": "Annual credit allocation",
"expires_at": "2024-12-31T23:59:59Z",
"payment_id": null,
"status": "active",
"created_at": "2024-01-20T10:00:00Z",
"updated_at": "2024-01-20T10:00:00Z"
}
curl https://api.alguna.io/credit-grants/grant_abc123 \
-H "Authorization: Bearer YOUR_API_KEY"
{
"id": "grant_abc123",
"wallet_id": "wal_def456",
"amount": "500.00",
"description": "Annual credit allocation",
"expires_at": "2024-12-31T23:59:59Z",
"payment_id": null,
"status": "active",
"created_at": "2024-01-20T10:00:00Z",
"updated_at": "2024-01-20T10:00:00Z"
}
active, approved, pending, exhausted, expired, or voided.