> For the complete documentation index, see [llms.txt](https://docs.cloudeka.ai/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.cloudeka.ai/cloudeka-api/cloudeka-backend/transaction-status.md).

# Transaction Status

This API is used to get the transaction status

```json
{"openapi":"3.1.1","info":{"title":"Cloudeka AI - API Documentation","version":"1.0.0"},"tags":[{"name":"Cloudeka Backend","description":"API endpoints for Cloudeka Backend (base: /core)"}],"servers":[{"url":"https://ai.cloudeka.id/"}],"security":[{"BearerAuth":[]}],"components":{"securitySchemes":{"BearerAuth":{"description":"Type 'Bearer ' followed by your JWT token. Example: \"Bearer eyJhbGciOi...\"","type":"apiKey","name":"Authorization","in":"header"}},"schemas":{"ai_backend__handler.SuccessRespond":{"type":"object","properties":{"code":{"type":"integer"},"data":{},"message":{"type":"string"}}},"ai_backend__models.Transaction":{"type":"object","properties":{"amount":{"type":"number"},"auth_ccode":{"type":"string"},"created_at":{"type":"string"},"created_by":{"type":"string"},"deletedAt":{"$ref":"#/components/schemas/ai_backend__gorm.DeletedAt"},"description":{"type":"string"},"err_desc":{"type":"string"},"id":{"type":"integer"},"invoice_id":{"type":"string"},"issuer_bank":{"type":"string"},"merchant_code":{"type":"string"},"organization_id":{"type":"string"},"payment_account":{"type":"string"},"payment_date":{"type":"string"},"payment_gateway":{"type":"string"},"payment_id":{"type":"integer"},"ppn_percentage":{"type":"number"},"ppn_value":{"type":"number"},"project_id":{"type":"string"},"ref_no":{"type":"string"},"source":{"type":"string"},"source_type":{"type":"string"},"status":{"type":"string"},"sub_amount":{"type":"number"},"sync_crd":{"type":"boolean"},"trans_id":{"type":"string"},"type":{"type":"string"},"updated_at":{"type":"string"},"user_type":{"type":"string"}}},"ai_backend__gorm.DeletedAt":{"type":"object","properties":{"time":{"type":"string"},"valid":{"description":"Valid is true if Time is not NULL","type":"boolean"}}},"ai_backend__handler.BaseError":{"type":"object","properties":{"code":{"type":"string"},"error":{}}}}},"paths":{"/core/payment/status/{refNo}":{"get":{"description":"This API is used to get the transaction status","tags":["Cloudeka Backend","Payment"],"summary":"Transaction Status","parameters":[{"schema":{"type":"string"},"description":"Reference number for the transaction","name":"refNo","in":"path","required":true}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/ai_backend__handler.SuccessRespond"},{"type":"object","properties":{"data":{"$ref":"#/components/schemas/ai_backend__models.Transaction"}}}]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ai_backend__handler.BaseError"}}}}}}}}}
```
