Step 4: Postbacks

This article explains how to view and add postbacks in the Merchant Portal.

Postbacks are notifications that ensure important data is sent to you after specific events such as signups, purchases, etc. You can store and use this data for member management, or to pass variables to Segpay that can be displayed to a consumer later.

How to Access Postbacks:

  1. Log into the Merchant Portal: https://mp.segpay.com/

  2. From the navigation menu, click My Websites and select Manage Postbacks.

Types of Postbacks

There are two categories of postbacks: Member Management, which notify you about changes in a user's account status; and Transactional, which notify you of the details associated with a transaction. There are specific types of postbacks under each category, as outlined below:

Member Management Postbacks

Postback Type Description
Inquiry Postback Sent when a username and password is entered on the Segpay payment page, or is passed to Segpay from your system during checkout. The Inquiry postback checks if the username already exists in your system. If so, the username defaults to the member's email (please verify that your system supports email addresses as usernames).
Enable Postback Sent after an approved purchase, where a username and password is entered on the Segpay payment page, or passed to Segpay from your system. After the Inquiry postback verifies the username is available (or assigns the consumer's email address as the username) the Enable postback alerts your system to grant access to the member for the service(s) purchased.
Disable Postback Sent when a subscription reaches its expiration date (or when expiration is requested via chargeback or a refund/cancel request). The Disable postback is a notification to remove access for that member.
Cancellation Postback Sent when an account cancellation or refund is requested either by you, Segpay or the consumer
Reactivation Postback Sent when an inactive account (previously cancelled or expired) is reactivated.

Transactional Postbacks

There is only 1 type of Transactional Postbacks called Trans post Postbacks

Trans Post Postbacks

Sent after any transaction (payment, refund, void, chargeback, etc.) to update your database with the transaction details. As you can see, you can set up four of these postbacks,to send data to multiplelocations after transactions, if you choose.

For each type of postback, you can specify a URL on your system that is requested when that specific type of event occurs, along with parameters that specify which data is passed back to you.

To view example URLS for each postback type, see our article, Postbacks, in the Segpay Processing API Guide.

Viewing Postbacks

If you've added postback configurations already, they are listed under My Websites, Manage Postbacks. You can edit them, or click Clone to create a copy of an existing postback.

Adding Postbacks

Click Add Postback.

Select the Merchant associated with this postback.

Fill Out the form for each postback type (see image below).

Click one of the Save options. To add many postbacks at once, use Save and Add Another or Save and Clone (creating a copy of the postback you just created, which you can save as is or make changes).

The input fields are the same for each type of postback (see image below).

See Mange Postbacks for more details on setting up and managing postbacks.