Pagamentos


Click here for a complete list of operations.

RegistrarRecorrenciaIugu

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 /Services/Pagamentos.asmx HTTP/1.1
Host: paymentnivello.azurewebsites.net
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "http://tempuri.org/RegistrarRecorrenciaIugu"

<?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>
    <RegistrarRecorrenciaIugu xmlns="http://tempuri.org/">
      <chaveEz>string</chaveEz>
      <viewModel>
        <UrlRetorno>string</UrlRetorno>
        <UrlCallback>string</UrlCallback>
        <UrlMensalidade>string</UrlMensalidade>
        <customer_email>string</customer_email>
        <customer_name>string</customer_name>
        <customer_notes>string</customer_notes>
        <customer_phone>string</customer_phone>
        <customer_phone_prefix>string</customer_phone_prefix>
        <customer_cpf_cnpj>string</customer_cpf_cnpj>
        <customer_cc_emails>string</customer_cc_emails>
        <customer_zip_code>string</customer_zip_code>
        <customer_number>string</customer_number>
        <customer_street>string</customer_street>
        <customer_city>string</customer_city>
        <customer_state>string</customer_state>
        <customer_district>string</customer_district>
        <customer_complement>string</customer_complement>
        <plan_name>string</plan_name>
        <plan_identifier>string</plan_identifier>
        <plan_price>int</plan_price>
        <subscription_payable_with>int</subscription_payable_with>
        <subscription_date>dateTime</subscription_date>
        <subscription_price>int</subscription_price>
        <card_first_name>string</card_first_name>
        <card_last_name>string</card_last_name>
        <card_number>string</card_number>
        <card_verification_value>string</card_verification_value>
        <card_month>string</card_month>
        <card_year>string</card_year>
      </viewModel>
    </RegistrarRecorrenciaIugu>
  </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>
    <RegistrarRecorrenciaIuguResponse xmlns="http://tempuri.org/">
      <RegistrarRecorrenciaIuguResult>
        <Success>boolean</Success>
        <Message>string</Message>
        <IdSubscription>string</IdSubscription>
        <SignatureStart>dateTime</SignatureStart>
        <SignatureEnd>dateTime</SignatureEnd>
      </RegistrarRecorrenciaIuguResult>
    </RegistrarRecorrenciaIuguResponse>
  </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 /Services/Pagamentos.asmx HTTP/1.1
Host: paymentnivello.azurewebsites.net
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>
    <RegistrarRecorrenciaIugu xmlns="http://tempuri.org/">
      <chaveEz>string</chaveEz>
      <viewModel>
        <UrlRetorno>string</UrlRetorno>
        <UrlCallback>string</UrlCallback>
        <UrlMensalidade>string</UrlMensalidade>
        <customer_email>string</customer_email>
        <customer_name>string</customer_name>
        <customer_notes>string</customer_notes>
        <customer_phone>string</customer_phone>
        <customer_phone_prefix>string</customer_phone_prefix>
        <customer_cpf_cnpj>string</customer_cpf_cnpj>
        <customer_cc_emails>string</customer_cc_emails>
        <customer_zip_code>string</customer_zip_code>
        <customer_number>string</customer_number>
        <customer_street>string</customer_street>
        <customer_city>string</customer_city>
        <customer_state>string</customer_state>
        <customer_district>string</customer_district>
        <customer_complement>string</customer_complement>
        <plan_name>string</plan_name>
        <plan_identifier>string</plan_identifier>
        <plan_price>int</plan_price>
        <subscription_payable_with>int</subscription_payable_with>
        <subscription_date>dateTime</subscription_date>
        <subscription_price>int</subscription_price>
        <card_first_name>string</card_first_name>
        <card_last_name>string</card_last_name>
        <card_number>string</card_number>
        <card_verification_value>string</card_verification_value>
        <card_month>string</card_month>
        <card_year>string</card_year>
      </viewModel>
    </RegistrarRecorrenciaIugu>
  </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>
    <RegistrarRecorrenciaIuguResponse xmlns="http://tempuri.org/">
      <RegistrarRecorrenciaIuguResult>
        <Success>boolean</Success>
        <Message>string</Message>
        <IdSubscription>string</IdSubscription>
        <SignatureStart>dateTime</SignatureStart>
        <SignatureEnd>dateTime</SignatureEnd>
      </RegistrarRecorrenciaIuguResult>
    </RegistrarRecorrenciaIuguResponse>
  </soap12:Body>
</soap12:Envelope>