SaleProcess
Click here for a complete list of operations.
AddPay
[#15.05] [PAYMENT] Agrega un pago a una emision
Test
The test form is only available for requests from the local machine.SOAP 1.1
The following is a sample SOAP 1.1 request and response. The placeholders shown need to be replaced with actual values.
POST /WS/SaleProcess.asmx HTTP/1.1
Host: iaapitest.assist1.com.co
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "http://tempuri.org/AddPay"
<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<soap:Body>
<AddPay xmlns="http://tempuri.org/">
<tokenSession>string</tokenSession>
<pay>
<EmissionId>long</EmissionId>
<GatewayId>int</GatewayId>
<CreditCard>
<TypeId>int</TypeId>
<CardNumber>string</CardNumber>
<Month>string</Month>
<Year>string</Year>
<CodSec>string</CodSec>
<FeeId>int</FeeId>
<CardHolder>
<Name>string</Name>
<Email>string</Email>
<IdentificationNumber>string</IdentificationNumber>
<IdentificationType>string</IdentificationType>
<Phone>string</Phone>
<Address>string</Address>
<City>string</City>
<State>string</State>
<Country>string</Country>
<ZipCode>string</ZipCode>
</CardHolder>
<Name>string</Name>
<Adress>string</Adress>
<City>string</City>
<State>string</State>
<ZipCode>string</ZipCode>
<Country>string</Country>
</CreditCard>
<WompiAcceptanceToken>string</WompiAcceptanceToken>
</pay>
</AddPay>
</soap:Body>
</soap:Envelope>
HTTP/1.1 200 OK
Content-Type: text/xml; charset=utf-8
Content-Length: length
<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<soap:Body>
<AddPayResponse xmlns="http://tempuri.org/">
<AddPayResult>
<ProcessUrl>string</ProcessUrl>
<ErrorId>int</ErrorId>
<ErrorMessage>string</ErrorMessage>
</AddPayResult>
</AddPayResponse>
</soap:Body>
</soap:Envelope>
SOAP 1.2
The following is a sample SOAP 1.2 request and response. The placeholders shown need to be replaced with actual values.
POST /WS/SaleProcess.asmx HTTP/1.1
Host: iaapitest.assist1.com.co
Content-Type: application/soap+xml; charset=utf-8
Content-Length: length
<?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
<soap12:Body>
<AddPay xmlns="http://tempuri.org/">
<tokenSession>string</tokenSession>
<pay>
<EmissionId>long</EmissionId>
<GatewayId>int</GatewayId>
<CreditCard>
<TypeId>int</TypeId>
<CardNumber>string</CardNumber>
<Month>string</Month>
<Year>string</Year>
<CodSec>string</CodSec>
<FeeId>int</FeeId>
<CardHolder>
<Name>string</Name>
<Email>string</Email>
<IdentificationNumber>string</IdentificationNumber>
<IdentificationType>string</IdentificationType>
<Phone>string</Phone>
<Address>string</Address>
<City>string</City>
<State>string</State>
<Country>string</Country>
<ZipCode>string</ZipCode>
</CardHolder>
<Name>string</Name>
<Adress>string</Adress>
<City>string</City>
<State>string</State>
<ZipCode>string</ZipCode>
<Country>string</Country>
</CreditCard>
<WompiAcceptanceToken>string</WompiAcceptanceToken>
</pay>
</AddPay>
</soap12:Body>
</soap12:Envelope>
HTTP/1.1 200 OK
Content-Type: application/soap+xml; charset=utf-8
Content-Length: length
<?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
<soap12:Body>
<AddPayResponse xmlns="http://tempuri.org/">
<AddPayResult>
<ProcessUrl>string</ProcessUrl>
<ErrorId>int</ErrorId>
<ErrorMessage>string</ErrorMessage>
</AddPayResult>
</AddPayResponse>
</soap12:Body>
</soap12:Envelope>