Skip to main content
POST
/
users
/
notifications
/
kyc
Send KYC notification
curl --request POST \
  --url https://api.pcxpay.com/v1/users/notifications/kyc \
  --header 'Content-Type: application/json' \
  --data '
{
  "user_id": "<string>",
  "notification_type": "kyc_update_required",
  "triggered_by": "<string>",
  "message": "<string>",
  "priority": "medium"
}
'
{
  "message": "KYC notification sent successfully",
  "user_id": "<string>",
  "notification_type": "<string>",
  "priority": "<string>",
  "status": "sent",
  "title": "<string>"
}

Body

application/json
user_id
string
required
notification_type
enum<string>
required
Available options:
kyc_update_required,
kyc_documents_needed,
kyc_review_pending,
kyc_approved,
kyc_rejected
triggered_by
string
required

Identifier of the actor triggering the notification (e.g. admin, a user ID).

message
string

Optional custom message body. Defaults to a type-specific template.

priority
enum<string>
default:medium
Available options:
low,
medium,
high,
urgent

Response

Notification sent

message
string
Example:

"KYC notification sent successfully"

user_id
string
notification_type
string
priority
string
status
string
Example:

"sent"

title
string