Create Customer Session
Optty widgets require a session token to verify the source the Widget is loading from, and be able to display the correct list of available Payment Methods.
Parameters
Content Type: application/json
Create Customer Session
POST
https://api.qa.optty.com/merchants/customer/sessions
For live environment, please update the endpoint to https://api.optty.com
Headers
Name | Type | Description |
---|---|---|
Authentication* | string | Authorization: Bearer <token> |
Request Body
Name | Type | Description |
---|---|---|
customerIdentifier* | string | A unique identifier for a merchant’s customer. This can be the customer’s email address, or “anonymous” if it is a user not logged in. |
Full Example
Last updated