> For the complete documentation index, see [llms.txt](https://easykash.gitbook.io/gate-kashat/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://easykash.gitbook.io/gate-kashat/kashat-payment-confirm.md).

# Kashat-payment-confirm

## Confirm CashOut

<mark style="color:green;">`POST`</mark> `https://core.kashat.com.eg/payme/confirm-paymen`

this api for confirm payment in or out&#x20;

#### Headers

| Name           | Type   | Description                           |
| -------------- | ------ | ------------------------------------- |
| Authentication | string | Bearer + returned token form auth api |

#### Request Body

| Name                   | Type   | Description                            |
| ---------------------- | ------ | -------------------------------------- |
| transaction\_type      | string | must be in CASH\_OUT , CASH\_IN        |
| transaction\_amount    | string | payment amount in EGP                  |
| voucher\_number        | string | payment id which provider confirm with |
| franchise\_center\_id  | string | terminalId which sent from provider    |
| transaction\_timestamp | string | current time as a time stamp shape     |

{% tabs %}
{% tab title="200 Cake successfully retrieve" %}

```
{
 success: true,
  message: 'Operation Successful' 
}
```

{% endtab %}

{% tab title="404 Could not find a cake matching this query." %}

```
 {
 "errorCode":"KE-6006",
 "message":"Voucher is not active",
 "httpStatus":"BAD_REQUEST"
 }
```

{% endtab %}
{% endtabs %}
