Event definition
When Paylias POSTs a notification to your endpoint, the payload will be a JSON object that contains the following fieldsRecord type of the payloadCurrently can be one of the following values:
RT_PaymentsRT_PaymentSubmissionsRT_PaymentAdmissionsRT_PaymentAdmissionTasksRT_ErrorRT_TransactionsObject containing data associated with the event.This field will contain the resource corresponding to the
record_typeExample Event
Payment Created Event
Notification definition
When you use the List events endpoint, or view delivered events through the dashboard, the structure is slightly different. This endpoint gives additional details surrounding the event. The notification object has the following fieldsDescription of the eventCurrently can be one of two values:
1 corresponds to EK_Created2 corresponds to EK_UpdatedRecord type of the payloadCurrently can be one of the following values:
1 corresponds toRT_Error2 corresponds toRT_Payments3 corresponds toRT_PaymentSubmissions4 corresponds toRT_PaymentAdmissions5 corresponds toRT_PaymentAdmissionTasks6 corresponds toRT_TransactionsThe raw bytes for the payload for the messageThis field contains a base64 encoded string of the JSON
event defined above.Example Webhook Notification
Webhook Notification