paddle_create_customer: Create a Customer.

View source: R/customers.R

paddle_create_customerR Documentation

Create a Customer.

Description

If successful, your response includes a copy of the new customer entity.

Usage

paddle_create_customer(email, name = NULL, custom_data = NULL, locale = NULL)

Arguments

email

Character. Email address for the customer. Required.

name

Character. Full name of the customer. Optional.

custom_data

Named list of custom metadata. Optional.

locale

Character. Locale string (IETF BCP 47). Optional, defaults to "en".

Value

A data frame with the new customer info.

Examples


set_paddle_mode("sandbox")
result <- paddle_create_customer(
  email = "test@example.com",
  name = "Test User",
  custom_data = list(plan = "demo"),
  locale = "en-US"
)


paddleR documentation built on June 24, 2025, 9:07 a.m.