PDF Export

This method cancels previously sent batch methods (Capture, Refund or Bookback). It uses the external id (and depending on the credit card gateway, an external token) to reference the method that should be cancelled.

Whether or not the method will be successful is dependent on if the request has not been sent to the payment processor or not. Once the batch methods have been sent to the payment processor, cancellation will fail. Batch methods are generally sent at the end of a working day but this is entirely payment gateway specific and not controllable by the DSB Credit Card Facade. Therefore, it is recommended to cancel as soon as possible in order for this method to be executed successfully.

  • Object: /net/dsb/commons/CardTransactionProcessing
  • Method: performCancel
  • Version: 1.0.0

Parameter

NameType / max. lengthmandatory?Description
cancel-request XML M XML-Fragement zur Ausführung einer Stornierung

Response Element

The response XML document structure, found below

Example Request

<?xml version="1.0" encoding="ISO-8859-1"?> 
<message version="1.0" system="vhs/3" >
  <header>
    <client>4711</client>
    <service-provider>999</service-provider>
  </header>
  <body>
    <card-transaction>
      <cancel-request>
        <cc-service-provider>ABCD</cc-service-provider>
        <cc-external-transaction-id>ABC000123456789</cc-external-transaction-id>
      </cancel-request>
    </card-transaction>
  </body>
</message>  

Example Response

<?xml version="1.0" encoding="ISO-8859-1"?> 
<message version="1.0" system="vhs/3">
   <header>
      <client>4711</client>
      <service-provider>999</service-provider>
   </header>
   <body>
      <card-transaction>
         <cancel-request>  
         </cancel-request>
         <response>  
         </response>
      </card-transaction>
   </body>
</message>

Request Structure

Response Structure

This website uses cookies for visitor traffic analysis. By using the website, you agree with storing the cookies on your computer.More information