Validate Domain
POST/v1/merchants/:merchant_id/domains/:domain_id/validate
Validate an Apple Pay domain
Request
Path Parameters
merchant_id uuidrequired
domain_id uuidrequired
Responses
- 200
- 400
- 401
- 403
- 404
Domain validation successful
Business Error or validation error.
- application/json
- Schema
- Example (from schema)
Schema
type string
Contains the error type
message string
Human readable error message for the error
errors object
Contains string-array pair representing a field and list of validation errors.
{
"type": "invalid_request",
"message": null,
"errors": {
"foo": "this is returned for validation errors only"
}
}
Invalid authorization credentials
- application/json
- Schema
- Example (from schema)
Schema
type string
Possible values: [authentication_error]
message string
Possible values: [Invalid authorization credentials]
errors object
{
"type": "authentication_error",
"message": "Invalid authorization credentials",
"errors": null
}
Invalid authorization credentials
- application/json
- Schema
- Example (from schema)
Schema
type string
Possible values: [api_error]
message string
Possible values: [User not authorized]
errors object
{
"type": "api_error",
"message": "User not authorized",
"errors": null
}
One of the record referenced in the request was not found
- application/json
- Schema
- Example (from schema)
Schema
type string
Possible values: [record_not_found]
message string
errors object
{
"type": "record_not_found",
"message": "The <object type> record you were looking for was not found.",
"errors": null
}
Loading...