> 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/confirm-payment.md).

# Confirm Payment

This API is used to confirm the payment

```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.ConfirmTrxRespond":{"type":"object","properties":{"code":{"type":"integer"},"data":{},"message":{"type":"string"}}},"ai_backend__payment.BackendpostIpay88Resp":{"type":"object","properties":{"Code":{"type":"string"},"Message":{"type":"object","properties":{"English":{"type":"string"},"Indonesian":{"type":"string"}}}}},"ai_backend__requests.BackendpostIpay88Param":{"type":"object","properties":{"Amount":{"type":"string"},"AuthCode":{"type":"string"},"Binbank":{"type":"string"},"CCExpiryMonth":{"type":"string"},"CCExpiryYear":{"type":"string"},"CCHolderName":{"type":"string"},"CCLastFour":{"type":"string"},"CCNumber":{"type":"string"},"CreateDate":{"type":"string"},"Currency":{"type":"string"},"DCCConversionRate":{"type":"string"},"DiscountAmount":{"type":"string"},"DiscountCode":{"type":"string"},"ErrDesc":{"type":"string"},"IssuerBank":{"type":"string"},"MerchantCode":{"type":"string"},"MidDetails":{"type":"string"},"OriginalAmount":{"type":"string"},"OriginalCurrency":{"type":"string"},"PaymentDate":{"type":"string"},"PaymentId":{"type":"string"},"RefNo":{"type":"string"},"Remark":{"type":"string"},"SettlementAmount":{"type":"string"},"SettlementCurrency":{"type":"string"},"Signature":{"type":"string"},"TokenCardID":{"type":"string"},"TransId":{"type":"string"},"TransactionExpiryDate":{"type":"string"},"TransactionStatus":{"type":"string"},"VirtualAccountAssigned":{"type":"string"},"Xfield1":{"type":"string"}}}}},"paths":{"/core/payment/confirm":{"post":{"description":"This API is used to confirm the payment","tags":["Cloudeka Backend","Payment"],"summary":"Confirm Payment","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/ai_backend__handler.ConfirmTrxRespond"},{"type":"object","properties":{"data":{"$ref":"#/components/schemas/ai_backend__payment.BackendpostIpay88Resp"}}}]}}}}},"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ai_backend__requests.BackendpostIpay88Param"}}},"description":"Confirm Payment Payload","required":true}}}}}
```
