Payment History
This API is used to get a payment history
get
Authorizations
AuthorizationstringRequired
Type 'Bearer ' followed by your JWT token. Example: "Bearer eyJhbGciOi..."
Query parameters
pagestringOptional
Page (default is 1)
limitstringOptional
Limit (default is 5)
sortBy[]string[]Optional
Order By
sortDesc[]string[]Optional
Order Type
project_idstringRequired
Project ID
ref_nostringOptional
Reference Number for the Transaction
datestringOptional
Date with YYYY-MM-DD Format
Responses
200
Successful Response
application/json
codeintegerOptionalExample:
200messagestringOptionalExample:
Successget/core/payment/history
GET /core/payment/history?project_id=text HTTP/1.1
Host: ai.cloudeka.id/
Authorization: YOUR_API_KEY
Accept: */*
200
Successful Response
{
"code": 200,
"data": {
"data": [
{
"billed": 1,
"creator": "text",
"id": 1,
"invoice_id": "text",
"invoice_number": 1,
"payment_date": "text",
"project": {
"cluster_ref_namespace": "text",
"created_at": "text",
"dekaprime_project_id": "text",
"deletedAt": "text",
"description": "text",
"doc_contract": "text",
"fixed_billing_price_per_month": 1,
"id": "text",
"interval_billing_per_month": 1,
"invoice_due_periode_per_day": 1,
"is_cilium_project_created": true,
"is_crd": true,
"is_deka_respati_enable": true,
"is_policy_project_created": true,
"is_rafay_project_created": true,
"is_subnet_project_created": true,
"name": "text",
"need_delete_openstack": true,
"network_number": "text",
"openstack_project_id": "text",
"organization": "[Circular Reference]",
"organization_id": "text",
"payment_method": "text",
"payment_type": "text",
"postpaid_fixed_type": "text",
"postpaid_type": "text",
"project_flavor_gpu": {
"created_at": "text",
"deletedAt": "text",
"harga_paket": 1,
"id": 1,
"is_first_top_up": true,
"item_id": "text",
"next_topup": 1,
"product": "text",
"project_id": "text",
"sync_crd": true
},
"region": "text",
"service_activation_date": "text",
"service_instance": [
{
"deletedAt": "text",
"id": "text",
"network_number": "text",
"product_id": "text",
"product_name": "text",
"project_id": "text"
}
],
"status": 1,
"suspend_date": "text",
"tags": [
{
"color": "text",
"created_at": "text",
"deleted_at": "text",
"description": "text",
"id": "text",
"name": "text",
"updated_at": "text"
}
],
"termination_date": "text",
"type": "text",
"updated_at": "text",
"vat_address": "text",
"vat_id": "text",
"vat_name": "text",
"vcluster_cluster": "text",
"vcluster_cluster_obj": {
"cluster_name": "text",
"created_at": "text",
"deletedAt": "text",
"description": "text",
"id": "text",
"status": true,
"updated_at": "text"
},
"vcluster_data": {
"apiVersion": "text",
"kind": "text",
"metadata": {
"creationTimestamp": "text",
"generation": 1,
"managedFields": [
{
"apiVersion": "text",
"fieldsType": "text",
"fieldsV1": {
"f:spec": {
".": {},
"f:clusterRef": {},
"f:displayName": {},
"f:owner": {
".": {},
"f:user": {}
},
"f:templateRef": {
".": {},
"f:name": {}
}
},
"f:status": {}
},
"manager": "text",
"operation": "text",
"time": "text"
}
],
"name": "text",
"namespace": "text",
"resourceVersion": "text",
"uid": "text"
},
"spec": {
"clusterRef": {
"cluster": "text",
"namespace": "text",
"virtualCluster": "text"
},
"displayName": "text",
"owner": {
"user": "text"
},
"templateRef": {
"name": "text"
}
},
"status": {
"message": "text",
"phase": "text",
"reason": "text"
}
},
"vcluster_name": "text",
"vcluster_namespace": "text",
"vcluster_template": "text"
},
"ref_no": "text",
"status": "text",
"type": "text"
}
],
"pagination": {
"count": 1,
"page": 1,
"totalpage": 1
}
},
"message": "Success"
}Last updated