POST
/
Wallet
/
applepay
/
configure-organization
curl --request POST \
  --url https://api-sandbox.payabli.com/api/Wallet/applepay/configure-organization \
  --header 'Content-Type: application/json' \
  --header 'requestToken: <api-key>' \
  --data '{
  "orgId": 901,
  "isEnabled": true,
  "cascade": true
}'
{
  "isSuccess": true,
  "responseText": "Success",
  "responseData": {
    "organizationId": 901,
    "updates": {
      "isEnabled": true,
      "cascade": true
    },
    "jobId": "445865",
    "jobStatus": "completed",
    "createdAt": "2022-07-01 15:00:01",
    "updatedAt": "2022-07-01 15:00:01",
    "id": "<string>",
    "type": "<string>"
  },
  "responseCode": 1,
  "pageIdentifier": "null"
}

Authorizations

requestToken
string
header
required

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

Body

orgId
integer

Organzation ID for the target organization.

Example:

901

isEnabled
boolean

When true, the service is enabled.

Example:

true

cascade
boolean

When true, the Apple Pay configuration cascades to all paypoints and suborganizations belonging to the parent entity.

Example:

true

Response

200
application/json
Success
isSuccess
boolean

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

Example:

true

responseText
string | null

Response text for operation: 'Success' or 'Declined'.

Example:

"Success"

responseData
object
responseCode
integer | null

Code for the response. Learn more in API Response Codes.

Example:

1

pageIdentifier
string | null

Auxiliary validation used internally by payment pages and components.

Example:

null