Get Payment History
Retrieve the user's transaction history.
Last updated
Retrieve the user's transaction history.
Last updated
curl -X GET '{API_URL}/users/credits/history?limit=2&offset=0'
-H 'Authorization: Bearer {TOKEN/KEY}'{
"data": {
"credit_balance": 9.8682,
"credit_history": [
{
"user_id": 266,
"computing_amount": 2.004,
"serverless_amount": 0.0,
"create_time": "EST 2024-10-10 06:54:58",
"update_time": "EST 2024-10-10 07:54:58",
"total": 2.004
},
{
"user_id": 266,
"computing_amount": 2.004,
"serverless_amount": 0.0,
"create_time": "EST 2024-10-10 05:54:58",
"update_time": "EST 2024-10-10 06:54:58",
"total": 2.004
}
],
"total_credit_histories": 2
},
"message": "User credit history successfully retrieved",
"status": "success"
}