Skip to main content

StorePointOfSaleRequest

namestringrequired

The names 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.

Possible values: non-empty and <= 255 characters

domainstringrequired

Must 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.
If you need more than one domain whitelisted, then contact ePay support.

Possible values: <= 1024 characters

webhookAuthenticationstringrequired

The 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.

If you are a partner DO NOT use the same authentication for multiple merchants as this poses a security risk.

Possible values: non-empty and <= 255 characters

StorePointOfSaleRequest
{
"name": "Store #42",
"domain": "example.com",
"webhookAuthentication": "Bearer super-secret-token"
}