Add domain

Add a payment method domain to an organization or paypoint.

Headers

requestTokenstringRequired

Request

This endpoint expects an object.
applePayobjectOptional
Apple Pay configuration information.
googlePayobjectOptional
Google Pay configuration information.
domainNamestringOptional

The domain. For example: subdomain.domain.com or domain.com. Must be public. Can’t be localhost, hidden by a VPN, or protected by a password.

entityIdlongOptional
The entity's ID in Payabli.
entityTypestringOptional

The entity type. Available values:

  • paypoint
  • organization
  • psp (payment service provider).

Response

Success
isSuccessboolean

Boolean indicating whether the operation was successful. A true value indicates success. A false value indicates failure.

pageidentifierstring
Auxiliary validation used internally by payment pages and components.
responseDataobject
Data related to the payment method domain.
responseTextstring

Errors