# Marked Paid

When a bill is "marked paid," no payment is made, but the status will change to "Marked Paid," indicating that you have made a payment by other means or do not want the bill to be left "unpaid." Once a bill is marked paid, you cannot change the bill status back to "unpaid

illustration

![illustration](https://2592634121-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FT5HLPrqZhkeNGgJP37dC%2Fuploads%2F0BDEXlYqQWbvM6bq0Q2u%2FScreen%20Shot%202022-06-17%20at%2015.42.13.png?alt=media\&token=969fc975-1140-4976-8d7f-c40f36f6f6ae)



<mark style="color:green;">`POST`</mark> `http://localhost:5001/appgregator/us-central1/api/education/edutama/backend/mark-paid`

#### Headers

| Name                                        | Type   | Description |
| ------------------------------------------- | ------ | ----------- |
| x-api-key<mark style="color:red;">\*</mark> | String | wkFBUJNQV;C |

{% tabs %}
{% tab title="201: Created " %}
```javascript
{
    "status": true,
    "message": "Mark as paid is successfully!",
    "data": {
        "id": 555,
        "user_id": 384,
        "invoice_number": "ACC555",
        "package_name": "advance PHP programming",
        "package_price": "100000.00",
        "image": "",
        "paid_at": "2022-06-14T02:22:36.563814Z",
        "paid_with": "paid manual-ronald@importir.co",
        "is_active": 1,
        "payment_id": "",
        "created_at": "10-Jun-2022 15:54:30",
        "updated_at": "2022-06-14T02:22:36.000000Z",
        "package_fee": 0,
        "package": {
            "id": 5,
            "platform_id": 4,
            "name": "advance PHP programming",
            "price": "100000.00",
            "fee": 10,
            "created_by": "ronald@importir.co",
            "created_at": "10-Mar-2022 04:49:49",
            "updated_at": "2022-06-10T07:08:00.000000Z",
            "deleted_at": null
        }
    }
}
```
{% endtab %}
{% endtabs %}

{% tabs %}
{% tab title="Body JSON" %}
```
{
    "name":"qantor.co.id",
    "connection_name" : "entrepreneurs.id-02",
    "platform_id" : 2,
    "invoice_id" : 555,
    "paid_at" : "2022-06-13 08:47:33",
    "is_active" : 1,
    "user": "admin",
    "expired_at": "2027-06-13 08:47:33"
}
```
{% endtab %}
{% endtabs %}
