Gateway
Click here for a complete list of operations.
ConsultaStatusCartaoStone
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 /webservice/Gateway.asmx HTTP/1.1 Host: www.pay2u.com.br Content-Type: text/xml; charset=utf-8 Content-Length: length SOAPAction: "http://tempuri.org/ConsultaStatusCartaoStone" <?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> <ConsultaStatusCartaoStone xmlns="http://tempuri.org/"> <chave>guid</chave> <TID>string</TID> <CodigoPedido>string</CodigoPedido> </ConsultaStatusCartaoStone> </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> <ConsultaStatusCartaoStoneResponse xmlns="http://tempuri.org/"> <ConsultaStatusCartaoStoneResult> <CreditCardTransactionData> <AcquirerReturnCode>string</AcquirerReturnCode> <CaptureExpirationDate>dateTime</CaptureExpirationDate> <TransactionKeyToAcquirer>string</TransactionKeyToAcquirer> <PaymentMethodName>string</PaymentMethodName> <AffiliationCode>string</AffiliationCode> <InstallmentCount>int</InstallmentCount> <IsReccurency>boolean</IsReccurency> <AcquirerName>string</AcquirerName> <CreateDate>dateTime</CreateDate> <TransactionReference>string</TransactionReference> <CapturedDate>dateTime</CapturedDate> <DueDate>dateTime</DueDate> <RefundedAmountInCents>long</RefundedAmountInCents> <CapturedAmountInCents>long</CapturedAmountInCents> <AuthorizedAmountInCents>long</AuthorizedAmountInCents> <AmountInCents>long</AmountInCents> <UniqueSequentialNumber>string</UniqueSequentialNumber> <AcquirerAuthorizationCode>string</AcquirerAuthorizationCode> <TransactionIdentifier>string</TransactionIdentifier> <TransactionKey>guid</TransactionKey> <CreditCardTransactionStatus>AuthorizedPendingCapture or NotAuthorized or ChargebackPreview or RefundPreview or DepositPreview or Captured or PartialCapture or Refunded or Voided or Deposited or Chargedback or PendingVoid or Invalid or PartialAuthorize or PartialRefunded or OverCapture or PartialVoid or PendingRefund or UnScheduled or Created or PartialAuthorized or NotFoundInAcquirer or PendingAuthorize or WaitingCancellation or WithError</CreditCardTransactionStatus> <CreditCard> <MaskedCreditCardNumber>string</MaskedCreditCardNumber> <CreditCardBrand>Visa or Mastercard or Hipercard or Amex or Diners or Elo or Aura or Discover or CasaShow or Havan or HugCard or AndarAki or LeaderCard</CreditCardBrand> <InstantBuyKey>guid</InstantBuyKey> <IsExpiredCreditCard>boolean</IsExpiredCreditCard> </CreditCard> <VoidedAmountInCents>long</VoidedAmountInCents> <EstablishmentCode>string</EstablishmentCode> </CreditCardTransactionData> <CreditCardTransactionData> <AcquirerReturnCode>string</AcquirerReturnCode> <CaptureExpirationDate>dateTime</CaptureExpirationDate> <TransactionKeyToAcquirer>string</TransactionKeyToAcquirer> <PaymentMethodName>string</PaymentMethodName> <AffiliationCode>string</AffiliationCode> <InstallmentCount>int</InstallmentCount> <IsReccurency>boolean</IsReccurency> <AcquirerName>string</AcquirerName> <CreateDate>dateTime</CreateDate> <TransactionReference>string</TransactionReference> <CapturedDate>dateTime</CapturedDate> <DueDate>dateTime</DueDate> <RefundedAmountInCents>long</RefundedAmountInCents> <CapturedAmountInCents>long</CapturedAmountInCents> <AuthorizedAmountInCents>long</AuthorizedAmountInCents> <AmountInCents>long</AmountInCents> <UniqueSequentialNumber>string</UniqueSequentialNumber> <AcquirerAuthorizationCode>string</AcquirerAuthorizationCode> <TransactionIdentifier>string</TransactionIdentifier> <TransactionKey>guid</TransactionKey> <CreditCardTransactionStatus>AuthorizedPendingCapture or NotAuthorized or ChargebackPreview or RefundPreview or DepositPreview or Captured or PartialCapture or Refunded or Voided or Deposited or Chargedback or PendingVoid or Invalid or PartialAuthorize or PartialRefunded or OverCapture or PartialVoid or PendingRefund or UnScheduled or Created or PartialAuthorized or NotFoundInAcquirer or PendingAuthorize or WaitingCancellation or WithError</CreditCardTransactionStatus> <CreditCard> <MaskedCreditCardNumber>string</MaskedCreditCardNumber> <CreditCardBrand>Visa or Mastercard or Hipercard or Amex or Diners or Elo or Aura or Discover or CasaShow or Havan or HugCard or AndarAki or LeaderCard</CreditCardBrand> <InstantBuyKey>guid</InstantBuyKey> <IsExpiredCreditCard>boolean</IsExpiredCreditCard> </CreditCard> <VoidedAmountInCents>long</VoidedAmountInCents> <EstablishmentCode>string</EstablishmentCode> </CreditCardTransactionData> </ConsultaStatusCartaoStoneResult> </ConsultaStatusCartaoStoneResponse> </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 /webservice/Gateway.asmx HTTP/1.1 Host: www.pay2u.com.br 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> <ConsultaStatusCartaoStone xmlns="http://tempuri.org/"> <chave>guid</chave> <TID>string</TID> <CodigoPedido>string</CodigoPedido> </ConsultaStatusCartaoStone> </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> <ConsultaStatusCartaoStoneResponse xmlns="http://tempuri.org/"> <ConsultaStatusCartaoStoneResult> <CreditCardTransactionData> <AcquirerReturnCode>string</AcquirerReturnCode> <CaptureExpirationDate>dateTime</CaptureExpirationDate> <TransactionKeyToAcquirer>string</TransactionKeyToAcquirer> <PaymentMethodName>string</PaymentMethodName> <AffiliationCode>string</AffiliationCode> <InstallmentCount>int</InstallmentCount> <IsReccurency>boolean</IsReccurency> <AcquirerName>string</AcquirerName> <CreateDate>dateTime</CreateDate> <TransactionReference>string</TransactionReference> <CapturedDate>dateTime</CapturedDate> <DueDate>dateTime</DueDate> <RefundedAmountInCents>long</RefundedAmountInCents> <CapturedAmountInCents>long</CapturedAmountInCents> <AuthorizedAmountInCents>long</AuthorizedAmountInCents> <AmountInCents>long</AmountInCents> <UniqueSequentialNumber>string</UniqueSequentialNumber> <AcquirerAuthorizationCode>string</AcquirerAuthorizationCode> <TransactionIdentifier>string</TransactionIdentifier> <TransactionKey>guid</TransactionKey> <CreditCardTransactionStatus>AuthorizedPendingCapture or NotAuthorized or ChargebackPreview or RefundPreview or DepositPreview or Captured or PartialCapture or Refunded or Voided or Deposited or Chargedback or PendingVoid or Invalid or PartialAuthorize or PartialRefunded or OverCapture or PartialVoid or PendingRefund or UnScheduled or Created or PartialAuthorized or NotFoundInAcquirer or PendingAuthorize or WaitingCancellation or WithError</CreditCardTransactionStatus> <CreditCard> <MaskedCreditCardNumber>string</MaskedCreditCardNumber> <CreditCardBrand>Visa or Mastercard or Hipercard or Amex or Diners or Elo or Aura or Discover or CasaShow or Havan or HugCard or AndarAki or LeaderCard</CreditCardBrand> <InstantBuyKey>guid</InstantBuyKey> <IsExpiredCreditCard>boolean</IsExpiredCreditCard> </CreditCard> <VoidedAmountInCents>long</VoidedAmountInCents> <EstablishmentCode>string</EstablishmentCode> </CreditCardTransactionData> <CreditCardTransactionData> <AcquirerReturnCode>string</AcquirerReturnCode> <CaptureExpirationDate>dateTime</CaptureExpirationDate> <TransactionKeyToAcquirer>string</TransactionKeyToAcquirer> <PaymentMethodName>string</PaymentMethodName> <AffiliationCode>string</AffiliationCode> <InstallmentCount>int</InstallmentCount> <IsReccurency>boolean</IsReccurency> <AcquirerName>string</AcquirerName> <CreateDate>dateTime</CreateDate> <TransactionReference>string</TransactionReference> <CapturedDate>dateTime</CapturedDate> <DueDate>dateTime</DueDate> <RefundedAmountInCents>long</RefundedAmountInCents> <CapturedAmountInCents>long</CapturedAmountInCents> <AuthorizedAmountInCents>long</AuthorizedAmountInCents> <AmountInCents>long</AmountInCents> <UniqueSequentialNumber>string</UniqueSequentialNumber> <AcquirerAuthorizationCode>string</AcquirerAuthorizationCode> <TransactionIdentifier>string</TransactionIdentifier> <TransactionKey>guid</TransactionKey> <CreditCardTransactionStatus>AuthorizedPendingCapture or NotAuthorized or ChargebackPreview or RefundPreview or DepositPreview or Captured or PartialCapture or Refunded or Voided or Deposited or Chargedback or PendingVoid or Invalid or PartialAuthorize or PartialRefunded or OverCapture or PartialVoid or PendingRefund or UnScheduled or Created or PartialAuthorized or NotFoundInAcquirer or PendingAuthorize or WaitingCancellation or WithError</CreditCardTransactionStatus> <CreditCard> <MaskedCreditCardNumber>string</MaskedCreditCardNumber> <CreditCardBrand>Visa or Mastercard or Hipercard or Amex or Diners or Elo or Aura or Discover or CasaShow or Havan or HugCard or AndarAki or LeaderCard</CreditCardBrand> <InstantBuyKey>guid</InstantBuyKey> <IsExpiredCreditCard>boolean</IsExpiredCreditCard> </CreditCard> <VoidedAmountInCents>long</VoidedAmountInCents> <EstablishmentCode>string</EstablishmentCode> </CreditCardTransactionData> </ConsultaStatusCartaoStoneResult> </ConsultaStatusCartaoStoneResponse> </soap12:Body> </soap12:Envelope>