PATCH
/
PaymentMethodDomain
/
{domainId}
curl --request PATCH \
  --url https://api-sandbox.payabli.com/api/PaymentMethodDomain/{domainId} \
  --header 'Content-Type: application/json' \
  --header 'requestToken: <api-key>' \
  --data '{
  "applePay": {
    "isEnabled": true
  }
}'
{
  "responseText": "<string>",
  "responseData": {
    "entityId": 109,
    "entityType": "paypoint",
    "domainName": "subdomain.domain.com",
    "applePay": {
      "isEnabled": true,
      "data": {
        "errorMessage": "null",
        "metadata": {
          "isFileAvailable": true,
          "isFileContentValid": true,
          "statusCode": 123,
          "redirectUrl": "<string>",
          "redirectDomainName": "<string>"
        }
      }
    },
    "ownerEntityId": 109,
    "ownerEntityType": "organization",
    "cascades": [
      {
        "jobId": "445865",
        "jobStatus": "completed",
        "jobErrorMessage": "<string>",
        "createdAt": "2022-07-01 15:00:01",
        "updatedAt": "2022-07-01 15:00:01"
      }
    ],
    "createdAt": "2022-07-01 15:00:01",
    "updatedAt": "2022-07-01 15:00:01",
    "id": "pmd_12AB"
  },
  "pageidentifier": "null",
  "isSuccess": true
}

Authorizations

requestToken
string
header
required

Most endpoints require an organization token. Some endpoints require an application token, and those endpoints are noted.

Path Parameters

domainId
string
required

The payment method domain's ID in Payabli.

Example:

"pmd_12AB"

Body

application/json

Request body for updating a payment method domain.

The body is of type object.

Response

200
application/json

Success response for configuration update.

The response is of type object.