Skip to content

Instantly share code, notes, and snippets.

@daya
Created January 14, 2013 17:55
Show Gist options
  • Save daya/4531916 to your computer and use it in GitHub Desktop.
Save daya/4531916 to your computer and use it in GitHub Desktop.
<?xml version="1.0" encoding="UTF-8"?>
<env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<env:Header>
<n1:SessionHeader xmlns:n1="ns1" env:mustUnderstand="0">
<n1:session>c3ruYhN9lm4VaApVhDvKx_cwRzFRLvqAMkdf15v1MiUCePmmWx-PeJc8_oM5PkhqXTvyDUy_jvpJmcszn_loBHEwKxz6K_KzAyDkm_YK2srszpnZTz1ur49rUfJ8BKxKbWv9iLBVg3Y41gvjHpGHzIChJ3tyhY8E9D1XR7onTKN5hP5AGKmr_hjcaWRmSgT_</n1:session>
</n1:SessionHeader>
</env:Header>
<env:Body>
<n2:create xmlns:n2="http://api.zuora.com/">
<n2:zObjects xmlns:n3="http://object.api.zuora.com/" xsi:type="n3:Payment">
<n3:AccountId>2c92c0f83aaaf205013ad718cb311713</n3:AccountId>
<n3:Amount>$1.19</n3:Amount>
<n3:AppliedCreditBalanceAmount>$1.19</n3:AppliedCreditBalanceAmount>
<n3:EffectiveDate>2013-01-14T03:50:59</n3:EffectiveDate>
<n3:PaymentMethodId>
<n2:result>
<n2:done>true</n2:done>
<n2:queryLocator xsi:nil="1" />
<n2:records xsi:type="n3:Account">
<n3:Id>2c92c0f83aaaf205013ad718cb311713</n3:Id>
<n3:DefaultPaymentMethodId>2c92c0f83aaaf205013ad718d6a61715</n3:DefaultPaymentMethodId>
</n2:records>
<n2:size>1</n2:size>
</n2:result>
</n3:PaymentMethodId>
<n3:Status>Processed</n3:Status>
<n3:Type>Electronic</n3:Type>
</n2:zObjects>
</n2:create>
</env:Body>
</env:Envelope>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment