Return parameters

Return parameters from Payment Window 2.0

Return parameters

In Payment Window 2.0, you are able to receive all parameters in response from DIBS. This includes both input parameters (which is the one sent in intial POST to DIBS) and system parameters.

The difference from the legacy DT integration is that we are adding prefixes to input and system parameters. All input parameters will have the prefix input_ added and all system parameters will have the prefix dibs_ added.

All parameters will be sent as POST-parameters to the return url specified in settings for the pageset (which is found in DIBS Manager).

When using the dynamic customReturnUrl as an input parameter, all parameters will be sent in GET instead of POST.

Available system parameters

Parameter Legacy parameter Description

dibs_ccPart

ccPart

This system parameter enables you to get part of the card number used in the card purchase. The card number is cloaked in order to keep the real card number secret, e.g. “****+****+****+1234”.

dibs_ccPrefix

ccPrefix

This system parameter enables you to get the 6 first digits of the card number used in the card purchase. E.g. “491889”.

dibs_ccType

ccType

This system parameter enables you to get information about what type of card that was used in the card purchase. E.g. “VISA”, “MC”, “AmEx”, “DANCARD”, “MAESTRO”, “Resurs”, “Diners”, “MASTERCARD”, “ELECTRON”, “UNKNOWN”. This parameter is present where applicable.

dibs_expY

expY
This system parameter enables you to get information about the card expiry year used in the card purchase E.g. “12”.

dibs_expM

expM This system parameter enables you to get information about the card expiry month used in the card purchase E.g. “03”.
dibs_reply reply This system parameter will give you an update if the transaction is approved or declined. "A" for approved, "D" for declined.
dibs_replyExt replyExt

This system parameter will include extended reply information such as processing state.
This is especially the case for Direct Payment.
3 states can be returned:
"A" = Accepted
"D" = Denied
"P" = Processing

dibs_verifyId id no This parameter includes DIBS unique reference to the transaction.
dibs_MAC MAC This parameter includes the calculated MAC value.
dibs_sum sum This parameter includes the transaciton amount (sum) and is used for calculating return MAC.
dibs_acquirerResponseCode acquirerResponseCode This parameter includes the response code from acquirer.

Customer specific parameters

As mentioned in top of this page you are able to receive all parameters sent in the intial POST to DIBS as return parameters. Those parameters will be named the same as in the POST but we will add the prefix input_ E.g. input_billingFirstName = Consumer first name.

Do you have question or need help?
Follow us
DIBS Payment Services
Stockholm +46 (0)8-527 525 00
Göteborg +46 031-600 800
København +45 7020 3077
Oslo +47 21 55 44 00