RU

Remove

https://{Environment}.payture.com/vwapi/Remove

The command removes a payment card's data (for both activated and non-activated cards) from the Customer's card list.

Request

curl https://sandbox3.payture.com/vwapi/Remove \
-X POST \
-H "Content-Type: application/x-www-form-urlencoded" \
-d VWID=Merchant \
--data-urlencode "DATA= \
VWUserLgn=123@ya.ru; \
VWUserPsw=2645363; \
CardId=00a94d92-1d84-44be-fa32-1c9591443347" \
Get link

Parameter names in requests are case-sensitive

ParameterDescriptionFormat
VWIDPayment terminal name
Provided with the test/production access credentials
String
Mandatory
DATACard parameters
A URL-encoded string containing key-value pairs separated by “;” (semicolon). Keys and values are separated by “=” (equals sign)
String
Mandatory

DATA parameter keys

ParameterDescriptionFormat
VWUserLgnCustomer identifier in the Payture systemString [1..50]
Mandatory
VWUserPswAdditional access parameter for the Customer's private information (Customer password)String [1..50]
Mandatory
CardIdIdentifier, in the Payture system, of the card being removedString [36]
Mandatory

Example of the DATA parameter (decoded):

VWUserLgn=123@ya.ru;
VWUserPsw=2645363;
CardId=00a94d92-1d84-44be-fa32-1c9591443347

Response

An XML string with the Remove element

Response examples

<Remove Success="True" VWUserLgn="123@ya.ru" CardId="00a94d92-1d84-44be-fa32-1c9591443347"/>
ParameterDescriptionFormat
SuccessOperation success flag. Possible values:
True — the operation succeeded
False — the operation failed
String
Mandatory
VWUserLgnCustomer identifier in the Payture system
Matches the value passed in the request
String [1..50]
Mandatory
CardIdCard identifier in the Payture system
Returned if “Success=True”
String [36]
Optional
ErrCodeError code. See error codes
Returned if “Success=False”
String
Optional