Paytia supports webhook push messages, enabling you to transmit real-time call information to a predefined URL. This functionality allows seamless programmatic decision-making within third-party applications.
For additional details on CDR (Call Detail Records) event logging, refer to Paytia Support Article on CDR Event Logging.
Paytia captures and passes comprehensive call-related data for both inbound and outbound call legs handled via its platform. Below is a detailed explanation of each field sent in the webhook payload.
Field Name | Description |
---|---|
originator |
Indicates the source of the call: "customer" (customer calling into your business) or "merchant" (your user calling out to a customer). |
inddi |
The destination phone number being called. |
incli |
The phone number initiating the inbound call. |
instate |
Call state during the inbound stage. |
intimes |
Start time of the inbound call leg (in UNIX timestamp format). |
intimee |
End time of the inbound call leg (in UNIX timestamp format). |
outddi |
The outbound destination phone number Paytia is calling. |
outcli |
The phone number Paytia presents as the caller ID for outbound calls. |
outstate |
Call state during the outbound stage. |
outtimes |
Start time of the outbound call leg (in UNIX timestamp format). |
outtimee |
End time of the outbound call leg (in UNIX timestamp format). |
outtimea |
Timestamp indicating when the outbound call was answered (in UNIX timestamp format). |
state |
The overall state of the call as handled by Paytia. |
statevalue |
Tracks progress through Paytia’s IVR services, providing detailed data on payment and call stages. |
agent_id |
The unique identifier of the agent who performed a service on the Paytia platform. |
hangFirstDir |
Specifies which call leg ended the call: "in" (inbound leg) or "out" (outbound leg), in context to the originator (customer or merchant ). |
hangFirstEnd |
Indicates which endpoint hung up first: "local" (Paytia platform) or "remote" (external party). |
hangOutCause |
Contains SIP error messages received during call handling (if applicable). |
To utilize this webhook feature:
For further assistance, contact Paytia Support.