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="" xmlns:xsd="" 
xmlns:soapenv="" xmlns:ns1="ns1">
      <ns1:cancelPaymentRequest soapenv:encodingStyle="">
         <taskId xsi:type="xsd:string">123</taskId>
         <uniqueTransferId xsi:type="xsd:string">123</uniqueTransferId>

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?