splitpay_info.cgi

Description

The script retrieves information about a Split Payment.

Function call

https://user:passwd@payment.architrade.com/cgi-adm/splitpay_info.cgi
Username and password from the API-user created in the Dibs administration is required in the URL.

Input parameters

splitpay_info.cgi accepts the following parameters:

Parameter

Description

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

Your merchant number can also be retreived by contacting your respective DIBS support department below.
Denmark
Norway
Sweden

transactThe unique DIBS identification number for the transaction you want to capture. The transact is returned from a successful authorisation, and is a as minimum 6-digit integer , e.g. transact=123456.
 

Return parameters

The function splitpay_info.cgi returns the following response parameters:

Parameter

Description

transactAll transactions are given a unique DIBS identification number. It is at minimum a 6-digit integer, e.g. transact=123456. If "split" is used, then "transact" is replaced by "transact1", "transact2", etc.
amountleftThe remaining amount.
authamountThe authorized amount.
spcapsNumber of Split Payment sub-transactions.
settledNet settled amount.
capturedThe sum of captured amounts.
refundedThe sum of refunded amounts.
statusStatus of the Split Payment base transaction.
1 = open
2 = closed
3 = pending closure
stransact_01 ... nnFor each Split Payment sub transaction, the id is assigned its own HTTP value. Eg. stransact_01=xxxxxxxx.
sorderid_01 ... nnFor each Split Payment sub-orderid, the id is assigned its own HTTP value. Eg. sorderid_01=xxxxxxxx .
[pending_captures]The sum of captures awaiting batch.
[pending_refunds]The sum of refunds awaiting batch.

Example

This example shows the call to splitpay_info.cgi in the form of a simplified standard HTML form:

<form action="https://user:passwd@payment.architrade.com/cgi-adm/splitpay_info.cgi" method=POST>
    <input type="hidden" name="merchant" value="12345678">
    <input type="hidden" name="transact" value="11111111">
</form>

 
CMS - Content Management System By SiteLoom