XMLRPC

[SECPay services]
-> [XMLRPC index]
   -> Releasing Deferred Transactions

Releasing Deferred Transactions

Method Name: SECVPN.releaseCardFull

PARAMETER EXAMPLE DEFINITION
mid secpay This is your secpay username (usually six letters and two numbers).
vpn_pswd secpay Your VPN password can be set from within the Merchant Extranet: https://www.secpay.com/secnet/logon.html. (Click on "Account" then "Remote Passwords" and select VPN from the drop down list).
trans_id TRAN0001 A unique transaction identifier created by yourself. This should be the trans_id of the deferred transaction you would like to release.
amount 50.00 The amount to release. This should contain no currency symbols or formatting (for example do not send an amount with a comma in).
remote_pswd secpay Your Remote password can be set from within the Merchant Extranet: https://www.secpay.com/secnet/logon.html. (Click on "Account" then "Remote Passwords" and select Remote from the drop down list).
new_trans_id TRAN0001_RELEASED A unique transaction identifier created by yourself. This will be the trans_id of the new transaction you are creating by performing this release.

Example XMLRPC Request...

<?xml version="1.0"?>
    <methodCall>
    <methodName>SECVPN.releaseCardFull</methodName>
    <params>
        <param>
            <value><string>secpay</string></value>
        </param>
        <param>
            <value><string>secpay</string></value>
        </param>
        <param>
            <value><string>TRAN0001</string></value>
        </param>
        <param>
            <value><string>50.00</string></value>
        </param>
        <param>
            <value><string>secpay</string></value>
        </param>
        <param>
            <value><string>TRAN0001_RELEASED</string></value>
        </param>
    </params>
</methodCall>

Example XMLRPC Response...

<?xml version="1.0" encoding="ISO-8859-1"?>
    <methodResponse>
    <params>
        <param>
            <value>
                ?valid=true&trans_id=TRAN0001_RELEASED&code=A&
                auth_code=9999&message=TEST AUTH&amount=50.00
            </value>
        </param>
    </params>
</methodResponse>
                           

(c)Copyright 2005 SECPay Ltd., All Rights Reserved.