Post API v1 stripe customers

Changed on
post/api/v1/stripe_customers/

Request

  • The document declares no server URL.
  • Auth: HTTP bearer

Request body

$schemastring uri

A URL to the JSON Schema for this object.

descriptionstring nullable required

A description of the user

emailstring nullable required

The email of the user

namestring nullable required

The name of the user

phonestring nullable required

The phone number of the user

Example request

{
  "$schema": "https://example.com/schemas/RegisterStripeCustomerBody.json",
  "description": "A verified athelete",
  "email": "suli@northeastern.edu",
  "name": "Suli",
  "phone": "(111) 222-3333"
}

Response

OK

$schemastring uri

A URL to the JSON Schema for this object.

idstring required

ID of the user on stripe

Example response

{
  "$schema": "https://example.com/schemas/RegisterStripeCustomerResponse.json",
  "id": "1"
}

Changes