Happy Business Starts Here

Highlighted
Zuora Alumni

Create one payment to multiple invoices via API call

Question: How to create one payment to multiple invoices via API call?



If you found my answer helpful, please give me a kudo ↑
Help others find answers faster by accepting my post as a solution √

2 REPLIES 2
Zuora Alumni

Re: Create one payment to multiple invoices via API call

Solution:

 

Here is the sample call:

 

<ns1:create>
      <ns1:zObjects xsi:type="ns2:Payment">
            <ns2:AccountId>2c92c0f84b786d60014b8511f9bb2c3e</ns2:AccountId>
            <ns2:Amount>1790</ns2:Amount>
            <ns2:EffectiveDate>2016-10-15</ns2:EffectiveDate>
            <ns2:InvoicePaymentData>
                  <ns1:InvoicePayment xsi:type="ns2:InvoicePayment">
                          <ns2:Amount>350</ns2:Amount>
                          <ns2:InvoiceId>2c92c0944d94c59f014dae91324d08a7</ns2:InvoiceId>
                  </ns1:InvoicePayment>
                  <ns1:InvoicePayment xsi:type="ns2:InvoicePayment">
                          <ns2:Amount>1440</ns2:Amount>
                          <ns2:InvoiceId>2c92c0954b78750f014b8533cf9e275e</ns2:InvoiceId>
                  </ns1:InvoicePayment>
            </ns2:InvoicePaymentData>
            <ns2:PaymentMethodId>2c92c0f84cc6da1e014cd5dee4395142</ns2:PaymentMethodId>
            <ns2:Status>Processed</ns2:Status>
            <ns2:Type>Electronic</ns2:Type>
      </ns1:zObjects>
</ns1:create>


If you found my answer helpful, please give me a kudo ↑
Help others find answers faster by accepting my post as a solution √

Student

Re: Create one payment to multiple invoices via API call

Please share the order builder code for the same as we tried adding InvoicePaymentData but that didn't added increated soap request