cardtype.pml

cardtype.pml  is used for getting the credit card type used for a specific transaction. In combination with auth.cgi it is also possible to check whether the credit card entered by the customer is of the type also given by the customer

Function call
https://payment.architrade.com/cardtype.pml

Example

This example shows a standard HTML form for calling cardtype.pml: 

<form method="post" action="https://payment.architrade.com/cardtype.pml">
  <input type="hidden" name="merchant" value="90078623">
  <input type="hidden" name="transact" value="750051699">
</form>

Input parameters

Parameter Description

account

If multiple departments utilize the same DIBS account, it may be practical to keep the transactions separate at DIBS. An account name may be inserted in this field, to separate transactions at DIBS.

To get an account, please contact the DIBS sales department.

merchant *

Shop identification. The Merchant ID appears in the e-mail received from DIBS during registration with DIBS or on your contract.

transact *

The unique DIBS identification number for the transaction. The transact is a as minimum 6-digit integer, e.g. transact=123456.

*: Mandatory parameters

Return parameters

The response from DIBS is a single string; thus not the normal format of return parameters. If the transaction is unknown to the DIBS server the response is 0, otherwise the paytype for the credit card is returned

Do you have a 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