# Buy a Package

<mark style="color:green;">`POST`</mark> `https://us-central1-appgregator.cloudfunctions.net/api/education/edutama/frontend/package/buy-package/`

#### Headers

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

{% tabs %}
{% tab title="201: Created " %}

```javascript
{
    "status": true,
    "message": "Success Buy New Package!",
    "data": "ACC527"
}
```

{% endtab %}
{% endtabs %}

{% tabs %}
{% tab title="Body JSON" %}

```
{
    "name" : "qantor.co.id",
    "connection_name" : "entrepreneurs.id-02",
    "platform_id" : 2,
    "package_id" : 18
}
```

{% endtab %}
{% endtabs %}
