Go.Micro.Service.Signup (1)

Download OpenAPI specification:Download

Generated by protoc-gen-openapi

Authentication

MicroAPIToken

Micro API token

Security Scheme Type HTTP
HTTP Authorization Scheme bearer
Bearer format "JWT"

Signup.CompleteSignup(CompleteSignupRequest)

Authorizations:
header Parameters
Micro-Namespace
required
string
Request Body schema: application/json

SignupCompleteSignupRequest

email
string
namespace
string

Which namespace to sign up to based on previous invite

paymentMethodID
string

This payment method ID is the one we got back from Stripe on the frontend (ie. m3o.com/subscribe.html) deprecated: signup service now knows the payment method due to the SetPaymentMethod call issued by the frontend.

secret
string

The secret/password to use for the account

token
string

The token has to be passed here too for identification purposes.

Responses

Request samples

Content type
application/json
{
  • "email": "string",
  • "namespace": "string",
  • "paymentMethodID": "string",
  • "secret": "string",
  • "token": "string"
}

Response samples

Content type
application/json
{
  • "authToken": {
    },
  • "namespace": "string"
}

Signup.HasPaymentMethod(HasPaymentMethodRequest)

Authorizations:
header Parameters
Micro-Namespace
required
string
Request Body schema: application/json

SignupHasPaymentMethodRequest

token
string

We can't read by email because that would be too easy to guess. The token is already used for identification purposes during the signup so we will use that too to pull for the payment method.

Responses

Request samples

Content type
application/json
{
  • "token": "string"
}

Response samples

Content type
application/json
{
  • "has": true
}

Signup.Recover(RecoverRequest)

Authorizations:
header Parameters
Micro-Namespace
required
string
Request Body schema: application/json

SignupRecoverRequest

email
string

Responses

Request samples

Content type
application/json
{
  • "email": "string"
}

Response samples

Content type
application/json
{ }

Signup.SendVerificationEmail(SendVerificationEmailRequest)

Authorizations:
header Parameters
Micro-Namespace
required
string
Request Body schema: application/json

SignupSendVerificationEmailRequest

email
string

Responses

Request samples

Content type
application/json
{
  • "email": "string"
}

Response samples

Content type
application/json
{ }

Signup.SetPaymentMethod(SetPaymentMethodRequest)

Authorizations:
header Parameters
Micro-Namespace
required
string
Request Body schema: application/json

SignupSetPaymentMethodRequest

email
string
paymentMethod
string

Responses

Request samples

Content type
application/json
{
  • "email": "string",
  • "paymentMethod": "string"
}

Response samples

Content type
application/json
{ }

Signup.Verify(VerifyRequest)

Authorizations:
header Parameters
Micro-Namespace
required
string
Request Body schema: application/json

SignupVerifyRequest

email
string
token
string

Email token that was received in an email.

Responses

Request samples

Content type
application/json
{
  • "email": "string",
  • "token": "string"
}

Response samples

Content type
application/json
{
  • "authToken": {
    },
  • "customerID": "string",
  • "message": "string",
  • "namespace": "string",
  • "namespaces": [
    ],
  • "paymentRequired": true
}