Create Point of Sale
Create a new Point of Sale and its associated hosted configuration. Note: The `webhookAuthentication` value is the entire `Authorization` header value send for any webhook. So you must include the auth scheme such as `Bearer` or `Basic`.
Authorization
BearerAuth In: header
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
{
"name": "Store #42",
"domain": "example.com",
"webhookAuthentication": "Bearer super-secret-token"
}The name to display in the ePay backoffice. If you are creating a point of sale as a partner it is recommended to name the point of sale after yourself. As an example if your company name is "Wordpress IT Solutions" then use the same name for the point of sale. This helps both the merchant and the ePay staff when providing support.
1 <= length <= 255Must be a valid URL or domain. Use the top level domain and not a sub-domain, even if the payment occurs on a subdomain. If you are providing an iframe payment solution, then you must provide the domain of the iframe and not the browser visiting domain. <br/> If you need more than one domain whitelisted, then contact ePay support.
length <= 1024The full `Authorization` header value sent for any notifications / webhooks. Remember to include the Authorization scheme such as `Bearer` or `Basic`. The authorization cannot later be updated using the API, it can only be changed and fetched from the ePay backoffice. Example: `Bearer super-secret-token`. <br/><br/> If you are a partner <strong>DO NOT</strong> use the same authentication for multiple merchants as this poses a security risk.
1 <= length <= 255Response Body
application/json
application/json
application/json
application/json