bserv


Click here for a complete list of operations.

PayBillByBillServerII

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 /paygate/bserv.asmx HTTP/1.1
Host: ipgsoap.asanpardakht.ir
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "http://tempuri.org/PayBillByBillServerII"

<?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>
    <PayBillByBillServerII xmlns="http://tempuri.org/">
      <operationRequestID>unsignedInt</operationRequestID>
      <vtsn>int</vtsn>
      <terminalID>string</terminalID>
      <billID>string</billID>
      <paymentID>string</paymentID>
      <forwarder>string</forwarder>
      <cardNumber>string</cardNumber>
      <pin2>string</pin2>
      <cvv2>string</cvv2>
      <expDate>string</expDate>
      <stan>string</stan>
    </PayBillByBillServerII>
  </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>
    <PayBillByBillServerIIResponse xmlns="http://tempuri.org/">
      <PayBillByBillServerIIResult>
        <Irdc_bankDiscAmt>unsignedLong</Irdc_bankDiscAmt>
        <Irdc_creditBal>unsignedLong</Irdc_creditBal>
        <Irdc_discAmt>unsignedLong</Irdc_discAmt>
        <Irdc_nonBankDiscAmt>unsignedLong</Irdc_nonBankDiscAmt>
        <IsIRDCTrx>boolean</IsIRDCTrx>
        <P63>string</P63>
        <P48>string</P48>
        <P53>string</P53>
        <P62>string</P62>
        <P33>string</P33>
        <P38>string</P38>
        <P44>string</P44>
        <RRN>string</RRN>
        <ExtraInfo>string</ExtraInfo>
        <DeliverableProducts>
          <ProductEntity />
          <ProductEntity />
        </DeliverableProducts>
        <LastFourDigitOfPAN>string</LastFourDigitOfPAN>
        <PINKey>string</PINKey>
        <MACKey>string</MACKey>
        <PRINT>string</PRINT>
        <SHETABSN>string</SHETABSN>
        <SHENACE>string</SHENACE>
        <RAMZ>string</RAMZ>
        <CHARGETEXT>string</CHARGETEXT>
        <SERIAL>string</SERIAL>
        <ResCode>string</ResCode>
        <MessageText>string</MessageText>
        <CardHolderNationalCode>string</CardHolderNationalCode>
        <CardHolderIBAN>string</CardHolderIBAN>
      </PayBillByBillServerIIResult>
    </PayBillByBillServerIIResponse>
  </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 /paygate/bserv.asmx HTTP/1.1
Host: ipgsoap.asanpardakht.ir
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>
    <PayBillByBillServerII xmlns="http://tempuri.org/">
      <operationRequestID>unsignedInt</operationRequestID>
      <vtsn>int</vtsn>
      <terminalID>string</terminalID>
      <billID>string</billID>
      <paymentID>string</paymentID>
      <forwarder>string</forwarder>
      <cardNumber>string</cardNumber>
      <pin2>string</pin2>
      <cvv2>string</cvv2>
      <expDate>string</expDate>
      <stan>string</stan>
    </PayBillByBillServerII>
  </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>
    <PayBillByBillServerIIResponse xmlns="http://tempuri.org/">
      <PayBillByBillServerIIResult>
        <Irdc_bankDiscAmt>unsignedLong</Irdc_bankDiscAmt>
        <Irdc_creditBal>unsignedLong</Irdc_creditBal>
        <Irdc_discAmt>unsignedLong</Irdc_discAmt>
        <Irdc_nonBankDiscAmt>unsignedLong</Irdc_nonBankDiscAmt>
        <IsIRDCTrx>boolean</IsIRDCTrx>
        <P63>string</P63>
        <P48>string</P48>
        <P53>string</P53>
        <P62>string</P62>
        <P33>string</P33>
        <P38>string</P38>
        <P44>string</P44>
        <RRN>string</RRN>
        <ExtraInfo>string</ExtraInfo>
        <DeliverableProducts>
          <ProductEntity />
          <ProductEntity />
        </DeliverableProducts>
        <LastFourDigitOfPAN>string</LastFourDigitOfPAN>
        <PINKey>string</PINKey>
        <MACKey>string</MACKey>
        <PRINT>string</PRINT>
        <SHETABSN>string</SHETABSN>
        <SHENACE>string</SHENACE>
        <RAMZ>string</RAMZ>
        <CHARGETEXT>string</CHARGETEXT>
        <SERIAL>string</SERIAL>
        <ResCode>string</ResCode>
        <MessageText>string</MessageText>
        <CardHolderNationalCode>string</CardHolderNationalCode>
        <CardHolderIBAN>string</CardHolderIBAN>
      </PayBillByBillServerIIResult>
    </PayBillByBillServerIIResponse>
  </soap12:Body>
</soap12:Envelope>