IfthenPayMBW


Click here for a complete list of operations.

EstadoPedidos

Test

The test form is only available for methods with primitive types as parameters.

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 /ifthenpaymbw.asmx HTTP/1.1
Host: mbway.ifthenpay.com
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "https://www.ifthenpay.com/EstadoPedidos"

<?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>
    <EstadoPedidos xmlns="https://www.ifthenpay.com/">
      <MbWayKey>string</MbWayKey>
      <canal>string</canal>
      <idspagamento>
        <string>string</string>
        <string>string</string>
      </idspagamento>
    </EstadoPedidos>
  </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>
    <EstadoPedidosResponse xmlns="https://www.ifthenpay.com/">
      <EstadoPedidosResult>
        <EstadoPedidos>
          <Pedido>
            <IdPedido>string</IdPedido>
            <Estado>string</Estado>
            <DataHoraPedidoRegistado>string</DataHoraPedidoRegistado>
            <DataHoraPedidoAtualizado>string</DataHoraPedidoAtualizado>
            <MsgDescricao>string</MsgDescricao>
          </Pedido>
          <Pedido>
            <IdPedido>string</IdPedido>
            <Estado>string</Estado>
            <DataHoraPedidoRegistado>string</DataHoraPedidoRegistado>
            <DataHoraPedidoAtualizado>string</DataHoraPedidoAtualizado>
            <MsgDescricao>string</MsgDescricao>
          </Pedido>
        </EstadoPedidos>
        <Estado>string</Estado>
        <DataHora>string</DataHora>
        <MsgDescricao>string</MsgDescricao>
      </EstadoPedidosResult>
    </EstadoPedidosResponse>
  </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 /ifthenpaymbw.asmx HTTP/1.1
Host: mbway.ifthenpay.com
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>
    <EstadoPedidos xmlns="https://www.ifthenpay.com/">
      <MbWayKey>string</MbWayKey>
      <canal>string</canal>
      <idspagamento>
        <string>string</string>
        <string>string</string>
      </idspagamento>
    </EstadoPedidos>
  </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>
    <EstadoPedidosResponse xmlns="https://www.ifthenpay.com/">
      <EstadoPedidosResult>
        <EstadoPedidos>
          <Pedido>
            <IdPedido>string</IdPedido>
            <Estado>string</Estado>
            <DataHoraPedidoRegistado>string</DataHoraPedidoRegistado>
            <DataHoraPedidoAtualizado>string</DataHoraPedidoAtualizado>
            <MsgDescricao>string</MsgDescricao>
          </Pedido>
          <Pedido>
            <IdPedido>string</IdPedido>
            <Estado>string</Estado>
            <DataHoraPedidoRegistado>string</DataHoraPedidoRegistado>
            <DataHoraPedidoAtualizado>string</DataHoraPedidoAtualizado>
            <MsgDescricao>string</MsgDescricao>
          </Pedido>
        </EstadoPedidos>
        <Estado>string</Estado>
        <DataHora>string</DataHora>
        <MsgDescricao>string</MsgDescricao>
      </EstadoPedidosResult>
    </EstadoPedidosResponse>
  </soap12:Body>
</soap12:Envelope>

HTTP GET

The following is a sample HTTP GET request and response. The placeholders shown need to be replaced with actual values.

GET /ifthenpaymbw.asmx/EstadoPedidos?MbWayKey=string&canal=string&idspagamento=string&idspagamento=string HTTP/1.1
Host: mbway.ifthenpay.com
HTTP/1.1 200 OK
Content-Type: text/xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<RespostaPedidoEstado xmlns="https://www.ifthenpay.com/">
  <EstadoPedidos>
    <Pedido>
      <IdPedido>string</IdPedido>
      <Estado>string</Estado>
      <DataHoraPedidoRegistado>string</DataHoraPedidoRegistado>
      <DataHoraPedidoAtualizado>string</DataHoraPedidoAtualizado>
      <MsgDescricao>string</MsgDescricao>
    </Pedido>
    <Pedido>
      <IdPedido>string</IdPedido>
      <Estado>string</Estado>
      <DataHoraPedidoRegistado>string</DataHoraPedidoRegistado>
      <DataHoraPedidoAtualizado>string</DataHoraPedidoAtualizado>
      <MsgDescricao>string</MsgDescricao>
    </Pedido>
  </EstadoPedidos>
  <Estado>string</Estado>
  <DataHora>string</DataHora>
  <MsgDescricao>string</MsgDescricao>
</RespostaPedidoEstado>

HTTP POST

The following is a sample HTTP POST request and response. The placeholders shown need to be replaced with actual values.

POST /ifthenpaymbw.asmx/EstadoPedidos HTTP/1.1
Host: mbway.ifthenpay.com
Content-Type: application/x-www-form-urlencoded
Content-Length: length

MbWayKey=string&canal=string&idspagamento=string&idspagamento=string
HTTP/1.1 200 OK
Content-Type: text/xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<RespostaPedidoEstado xmlns="https://www.ifthenpay.com/">
  <EstadoPedidos>
    <Pedido>
      <IdPedido>string</IdPedido>
      <Estado>string</Estado>
      <DataHoraPedidoRegistado>string</DataHoraPedidoRegistado>
      <DataHoraPedidoAtualizado>string</DataHoraPedidoAtualizado>
      <MsgDescricao>string</MsgDescricao>
    </Pedido>
    <Pedido>
      <IdPedido>string</IdPedido>
      <Estado>string</Estado>
      <DataHoraPedidoRegistado>string</DataHoraPedidoRegistado>
      <DataHoraPedidoAtualizado>string</DataHoraPedidoAtualizado>
      <MsgDescricao>string</MsgDescricao>
    </Pedido>
  </EstadoPedidos>
  <Estado>string</Estado>
  <DataHora>string</DataHora>
  <MsgDescricao>string</MsgDescricao>
</RespostaPedidoEstado>