PUT
/
Notification
/
{nId}
curl --request PUT \
  --url https://api-sandbox.payabli.com/api/Notification/{nId} \
  --header 'Content-Type: application/json' \
  --header 'requestToken: <api-key>' \
  --data '{
  "ownerId": "136",
  "method": "email",
  "frequency": "untilcancelled",
  "source": "newSource",
  "target": "newemail@email.com",
  "status": 1,
  "content": {
    "eventType": "ApprovedPayment",
    "fileFormat": "json",
    "timeZone": 0
  }
}'
{
  "responseCode": 1,
  "pageIdentifier": null,
  "isSuccess": true,
  "responseText": "Success",
  "responseData": 872934
}

Authorizations

requestToken
string
header
required

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

Path Parameters

nId
string
required

Notification ID.

Body

notificationData object to modify

Information about the standard notification configuration (email, sms, web).

Response

200
application/json

Success

The response is of type object.