Customer/Created
Description: A new Customer entity with a unique customer ID (e.g., a person’s or company’s name) is added to PortaBilling when a user subscribes for a service.
Customer/Updated
Description: A customer configuration has been changed in PortaBilling. For example, the customer’s name was changed from Alice Doe to Alice Roe, the customer has exceeded the credit limit, etc.
Customer/Deleted
Description: A customer has been permanently terminated in PortaBilling and can no longer use the services (e.g., the contract has completed, the invoices are not paid, etc.). The customer’s status is first changed to Closed and then the customer record is removed from the web interface.
The variables set is the same for all event types of this group:
Variables |
Mandatory |
Type |
Nillable |
Description |
---|---|---|---|---|
i_customer |
Yes |
int |
No |
The unique ID of a customer in PortaBilling. |
i_event |
Yes |
int |
No |
This is the unique identifier of the event. The Application uses this ID to recognize whether it is a new request or a retry and to adjust the provisioning flow. For example, in the case of a retry, the Application verifies the request’s status. If the request is processed, it responds with 200OK; otherwise, it treats the request as new and processes it. |