POST
/
v1
/
customer
/
signUp
curl --request POST \
  --url https://api.unprice.dev/v1/customer/signUp \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "name": "John Doe",
  "timezone": "UTC",
  "defaultCurrency": "USD",
  "email": "test@example.com",
  "billingInterval": "month",
  "planSlug": "PRO",
  "planVersionId": "pv_1234567890",
  "config": [
    {
      "featurePlanId": "feature_plan_123",
      "featureSlug": "feature_slug_123",
      "isUsage": true,
      "units": 100
    }
  ],
  "externalId": "1234567890",
  "successUrl": "https://example.com/dashboard",
  "cancelUrl": "https://example.com/login"
}'
{
  "success": true,
  "url": "https://example.com/dashboard",
  "customerId": "cus_1234567890"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json

Body of the request

The customer sign up request

Response

200
application/json

The result of the customer sign up

The response is of type object.