Skip to main content
POST
/
pg
/
vba
/
notificationgroup
Create Notification Group
curl --request POST \
  --url https://sandbox.cashfree.com/pg/vba/notificationgroup \
  --header 'Content-Type: application/json' \
  --header 'x-api-version: <x-api-version>' \
  --header 'x-client-id: <x-client-id>' \
  --header 'x-client-secret: <x-client-secret>' \
  --data '
{
  "notification_group_name": "finance_team",
  "notification_group_emails": [
    "[email protected]"
  ],
  "notification_group_phone_numbers": [
    "9876543210"
  ]
}
'
{
  "notification_group": {
    "notification_group_name": "finance_team",
    "notification_group_emails": [
      "[email protected]"
    ],
    "notification_group_phone_numbers": [
      "9876543210"
    ],
    "notification_group_created_on": "2019-08-24T14:15:22Z",
    "notification_group_last_updated_on": "2019-08-24T14:15:22Z"
  }
}

Headers

x-client-id
string
required

Client app ID. You can find your app id in the Merchant Dashboard.

x-client-secret
string
required

Client secret key. You can find your secret key in the Merchant Dashboard.

x-api-version
enum<string>
required

API version to be used. The accepted format is YYYY-MM-DD.

Available options:
2024-07-10T00:00:00.000Z
x-request-id
string

Request ID for the API call. Can be used to resolve tech issues. Communicate this in your tech related queries to Cashfree.

Example:

"4dfb9780-46fe-11ee-be56-0242ac120002"

Body

application/json

Request parameters for creating a notification group.

notification_group_name
string

It is the name you create to identify the notification group. The parameter allows alphanumeric characters, hyphen (-), and underscore ( _ ).

Example:

"finance_team"

notification_group_emails
string[]

It is the email addresses of the recipients who receive the notifications.

notification_group_phone_numbers
string[]

It is the phone number of the recipients who receive the notifications.

Response

Success response for creating a notification group.

notification_group
object