# veryfront__create_credit_checkout

Start a Stripe checkout to buy a credit package for an account, or for the account that owns a project; returns the checkout URL. Requires account.billing.manage.

Risk: mutating.

## Arguments

| Name                | Type   | Required | Description                                                                                                                                             |
| ------------------- | ------ | -------- | ------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `package_id`        | string | Yes      | Provide the package id.                                                                                                                                 |
| `project_reference` | string |          | Project UUID or slug for an owner-pays top-up: the project owner’s wallet and effective price apply. Naming a project also requires project.read on it. |
| `success_url`       | string |          | Provide the success url.                                                                                                                                |
| `cancel_url`        | string |          | Provide the cancel url.                                                                                                                                 |

## Call it

```json
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "veryfront__create_credit_checkout",
    "arguments": {
      "package_id": "<package_id>"
    }
  }
}
```
