POST
/
v0
/
users
/
create
curl --request POST \
  --url https://api.fungies.io/v0/users/create \
  --header 'Content-Type: application/json' \
  --header 'x-fngs-public-key: <api-key>' \
  --header 'x-fngs-secret-key: <api-key>' \
  --data '{
  "email": "test@example.com",
  "password": "Password123!",
  "username": "test-user",
  "internalId": "abcd-1234-5678-90ab-cdef-1234-5678-90ab",
  "billingDetails": {
    "type": "individual",
    "countryCode": "US",
    "state": "CA",
    "firstName": "John",
    "lastName": "Doe",
    "dialCode": "+1",
    "phoneNumber": "1234567890",
    "address": "123 Main St",
    "addressLine2": "Apt 1",
    "city": "San Francisco",
    "postalCode": "94101"
  },
  "paymentData": {
    "stripeCustomerId": "cus_QzHuLRwfKfp2WX",
    "paypalCustomerId": "KCE4828GQ37LL"
  }
}'
{
  "status": "<string>",
  "data": {
    "user": {
      "object": "user",
      "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "username": null,
      "email": null,
      "details": null,
      "internalId": null
    }
  }
}

Authorizations

x-fngs-public-key
string
header
required
x-fngs-secret-key
string
header
required

Body

application/json
POST /v0/users/create Request body

The body is of type object.

Response

200
application/json
POST /v0/users/create Positive response

The response is of type object.