solidusio / solidus_bolt

BSD 3-Clause "New" or "Revised" License
1 stars 2 forks source link

Get Account Endpoint #106

Closed Naokimi closed 2 years ago

Naokimi commented 2 years ago

Solidus will need to build an endpoint for Bolt to call and determine whether there is an existing merchant storefront account associated with a particular email. This endpoint should accept POST requests that are signed with Bolt’s Signing Secret and contain the shopper’s email address. When no account exists, the endpoint should return a 404 error. The endpoint can be whatever Solidus wants, so long as this is specified to Bolt.

Request Body { email: "jane.doe@bolt.com" }

Success Response 200 HTTP OK

Error Response (No account exists) 404 HTTP NOT FOUND