1. Home
  2. Corporate Node
  3. SOAP requests
  4. cancelPaymentRequest

cancelPaymentRequest

Operation cancelPaymentRequest cancels pending payment request with provided taskId or uniqueTransferId. Attention: payment request can be cancelled before user confirms payment.

Example SOAP request:

<soapenv:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" 
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns1="ns1">
   <soapenv:Header/>
   <soapenv:Body>
      <ns1:cancelPaymentRequest soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
         <taskId xsi:type="xsd:string">123</taskId>
         <uniqueTransferId xsi:type="xsd:string">123</uniqueTransferId>
      </ns1:cancelPaymentRequest>
   </soapenv:Body>
</soapenv:Envelope>

Request parameters:

parameter type description
taskId string id of payment task (returned by requestPaymentInitiation)
uniqueTransferId string transfer id

Response parameters:

name type description
requestStatus string result of request
requestStatusDescription string status description

Possible errors:

error description
ERR_INVALID_TASK_ID nieprawidłowy identyfikator zadaniainvalid task id
ERR_INVALID_TRANSFER_ID nieprawidłowy identyfikator transferuinvalid transfer id
Was this article helpful to you? Yes No

How can we help?