Register User

post
Register User Account

https://api.anypayinc.com/accounts
This endpoint allows you to get free cakes.
Request
Response
Request
Headers
Authentication
required
string
Authentication token to track down who is emptying our stocks.
Query Parameters
email
required
string
Email address of account ot register, must be unique and valid for creation later
password
required
string
Whether the cake should be gluten-free or not.
Response
200: OK
Cake successfully retrieved.
{ "name": "Cake's name", "recipe": "Cake's recipe name", "cake": "Binary cake"}
404: Not Found
Could not find a cake matching this query.
{ "message": "Ain't no cake like that."}

get
Confirm Email

https://api.anypayinc.com/email-confirmations/{email}/{token}
Request
Response
Request
Path Parameters
email
required
string
email address of new account
token
required
string
email confirmation token sent to email address
Response
200: OK
‚Äč