v1

latestOpenAPI 3.0.02026-07-2671142187.3 KB
Add-Ons

Create add-ons

Create one or more add-ons to link to payment plans and subscriptions.

post/add-ons

Headers

api-tokenstring required

Your API access token for authentication and access to the Helcim API

Request body

Example request

{
  "addOns": [
    {
      "name": "My new add-on",
      "amount": 25,
      "frequency": "recurring",
      "isQuantityEditable": "false"
    }
  ]
}

Response

Successful add-on creation. The response body contains the data representation of all newly created add-ons.

Example response

{
  "data": [
    {
      "id": 123456,
      "dateCreated": "2024-01-01 12:30:45",
      "dateUpdated": "1970-01-01 00:00:00",
      "name": "My new add-on",
      "description": "",
      "amount": 25,
      "frequency": "recurring",
      "isQuantityEditable": "true"
    }
  ]
}