IQVaultWeb


Haga clic aquí para obtener una lista completa de operaciones.

VAULT_WRITECC_EXTERNAL

Write a card into IQVault system. Users are allowed to write only in web. You can even use this method to insert a card into IQVault areas of content.

Prueba

Haga clic en el botón 'Invocar', para probar la operación utilizando el protocolo HTTP POST.
Parámetro Valor
PropertyGUID:
Username:
Password:
pan:
exp:
cardHolderName:
uid:
tokenExpirationDate:
CVV2:
ZipCode:

SOAP 1.1

A continuación se muestra un ejemplo de solicitud y respuesta para SOAP 1.1. Es necesario reemplazar los marcadores de posición que aparecen con valores reales.

POST /IQVaultWebAccess/IQVaultWeb.asmx HTTP/1.1
Host: reservation.casasantodomingo.com.gt
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "http://tempuri.org/VAULT_WRITECC_EXTERNAL"

<?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>
    <VAULT_WRITECC_EXTERNAL xmlns="http://tempuri.org/">
      <PropertyGUID>int</PropertyGUID>
      <Username>string</Username>
      <Password>string</Password>
      <pan>string</pan>
      <exp>string</exp>
      <cardHolderName>string</cardHolderName>
      <uid>string</uid>
      <tokenExpirationDate>dateTime</tokenExpirationDate>
      <CVV2>int</CVV2>
      <ZipCode>string</ZipCode>
    </VAULT_WRITECC_EXTERNAL>
  </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>
    <VAULT_WRITECC_EXTERNALResponse xmlns="http://tempuri.org/">
      <VAULT_WRITECC_EXTERNALResult>
        <TokenGuid>string</TokenGuid>
        <ResultCode>int</ResultCode>
        <ResultCodeMessage>string</ResultCodeMessage>
        <MaskedPan>string</MaskedPan>
        <ID_CreditCard>int</ID_CreditCard>
      </VAULT_WRITECC_EXTERNALResult>
    </VAULT_WRITECC_EXTERNALResponse>
  </soap:Body>
</soap:Envelope>

SOAP 1.2

A continuación se muestra un ejemplo de solicitud y respuesta para SOAP 1.2. Es necesario reemplazar los marcadores de posición que aparecen con valores reales.

POST /IQVaultWebAccess/IQVaultWeb.asmx HTTP/1.1
Host: reservation.casasantodomingo.com.gt
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>
    <VAULT_WRITECC_EXTERNAL xmlns="http://tempuri.org/">
      <PropertyGUID>int</PropertyGUID>
      <Username>string</Username>
      <Password>string</Password>
      <pan>string</pan>
      <exp>string</exp>
      <cardHolderName>string</cardHolderName>
      <uid>string</uid>
      <tokenExpirationDate>dateTime</tokenExpirationDate>
      <CVV2>int</CVV2>
      <ZipCode>string</ZipCode>
    </VAULT_WRITECC_EXTERNAL>
  </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>
    <VAULT_WRITECC_EXTERNALResponse xmlns="http://tempuri.org/">
      <VAULT_WRITECC_EXTERNALResult>
        <TokenGuid>string</TokenGuid>
        <ResultCode>int</ResultCode>
        <ResultCodeMessage>string</ResultCodeMessage>
        <MaskedPan>string</MaskedPan>
        <ID_CreditCard>int</ID_CreditCard>
      </VAULT_WRITECC_EXTERNALResult>
    </VAULT_WRITECC_EXTERNALResponse>
  </soap12:Body>
</soap12:Envelope>

HTTP GET

A continuación se muestra un ejemplo de solicitud y respuesta para HTTP GET. Es necesario reemplazar los marcadores de posición que aparecen con valores reales.

GET /IQVaultWebAccess/IQVaultWeb.asmx/VAULT_WRITECC_EXTERNAL?PropertyGUID=string&Username=string&Password=string&pan=string&exp=string&cardHolderName=string&uid=string&tokenExpirationDate=string&CVV2=string&ZipCode=string HTTP/1.1
Host: reservation.casasantodomingo.com.gt
HTTP/1.1 200 OK
Content-Type: text/xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<VaultResponse xmlns="http://tempuri.org/">
  <TokenGuid>string</TokenGuid>
  <ResultCode>int</ResultCode>
  <ResultCodeMessage>string</ResultCodeMessage>
  <MaskedPan>string</MaskedPan>
  <ID_CreditCard>int</ID_CreditCard>
</VaultResponse>

HTTP POST

A continuación se muestra un ejemplo de solicitud y respuesta para HTTP POST. Es necesario reemplazar los marcadores de posición que aparecen con valores reales.

POST /IQVaultWebAccess/IQVaultWeb.asmx/VAULT_WRITECC_EXTERNAL HTTP/1.1
Host: reservation.casasantodomingo.com.gt
Content-Type: application/x-www-form-urlencoded
Content-Length: length

PropertyGUID=string&Username=string&Password=string&pan=string&exp=string&cardHolderName=string&uid=string&tokenExpirationDate=string&CVV2=string&ZipCode=string
HTTP/1.1 200 OK
Content-Type: text/xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<VaultResponse xmlns="http://tempuri.org/">
  <TokenGuid>string</TokenGuid>
  <ResultCode>int</ResultCode>
  <ResultCodeMessage>string</ResultCodeMessage>
  <MaskedPan>string</MaskedPan>
  <ID_CreditCard>int</ID_CreditCard>
</VaultResponse>