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

# Payment Response

This API is used to process the response from iPay and redirect the user to the specified URL

```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/"}],"paths":{"/core/payment/response":{"post":{"description":"This API is used to process the response from iPay and redirect the user to the specified URL","tags":["Cloudeka Backend","Payment"],"summary":"Payment Response","responses":{},"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"type":"object","properties":{"MerchantCode":{"type":"string","description":"Merchant code provided by iPay"},"PaymentId":{"type":"string","description":"Payment ID from iPay"},"RefNo":{"type":"string","description":"Reference number for the transaction"},"Amount":{"type":"string","description":"Transaction amount"},"Currency":{"type":"string","description":"Currency of the transaction"},"Remark":{"type":"string","description":"Remark or description of the transaction"},"TransId":{"type":"string","description":"Transaction ID from iPay"},"AuthCode":{"type":"string","description":"Authorization code from iPay"},"Status":{"type":"string","description":"Transaction status"},"ErrDesc":{"type":"string","description":"Error description if any"},"Signature":{"type":"string","description":"Signature to verify the response integrity"}},"required":["MerchantCode","PaymentId","RefNo","Amount","Currency","Remark","TransId","AuthCode","Status","ErrDesc","Signature"]}}}}}}}}
```
