OneBill icon

OneBill

Interact with the OneBill billing and subscription management API

Subscriber → Create

AI-generated

Summary

Create a new subscriber account in OneBill with required contact details and optional billing and account attributes, including custom fields.

Inputs

  • accountName (required) — The name of the subscriber account.
  • firstName (required) — The first name of the primary contact.
  • lastName (required) — The last name of the primary contact.
  • email (required) — The email address of the primary contact.
  • additionalFields — Optional additional account details such as address, billing preferences, phone, company, and currency.
  • customFieldValues — Values for custom fields defined in OneBill, supporting multiple groups and instances; only listed custom fields are updated, others remain unchanged.

Output shape

a single record representing the created subscriber account as returned by the OneBill API

Returned data includes all subscriber details including any server-assigned IDs. Custom fields must be pre-declared in OneBill settings to be accepted. API errors or validation issues will prevent creation.

Examples

Example 1: Create a subscriber with required fields and a custom field value

Set accountName, firstName, lastName, email, and add one custom field with group and field key, plus a value.

Links

Discussion