Web Services Reference for Oracle Billing Insight > Examples of Web Services > Examples of the Payments Web Service >
Example of Getting a List of Payment Transactions for a Particular Billing Account
This example shows you how to use the payments Web service to get a list of payment transactions made for a particular billing account. Operation
Use the following operation to get a list of payment transactions made for a particular billing account: GET /payment/transactions?billingAccountid=BS1|AC-B2B-123361-01
Sample URL
The following is a sample URL for this Web service example: http://myhost.example.com:7017/rs/api/v2/payment/transactions?billingAccountid=BS1|AC-B2B-123361-01 Sample XML Response
The following is an example of the XML response: <report> <links> <rel>self</rel> <href>http://localhost:7007/rs/api/v2/payment /transactions?billingAccountid=BS1|AC-B2B-123361-01</href> </links> <paymentTransactionList> <countInPage>3</countInPage> <header> <paymentAmount>USD</paymentAmount> </header> <items> <links> <rel>self</rel> <href>http://localhost:7007/rs/api/v2/payment/transactions /101521440037376420</href> </links> <billingAccountNumber>AC-B2B-123361-01</billingAccountNumber> <type_disp>Bank Transfer</type_disp> <paymentScheduledDate pattern="MM/dd/yyyy">08/20/2015 </paymentScheduledDate> <paymentTransactionDate pattern="MM/dd/yyyy HH:mm:ss"> </paymentTransactionDate> <paymentAmount>216.58</paymentAmount> <status_disp>Scheduled</status_disp> <paymentType>check</paymentType> </items> <items> <links> <rel>self</rel> <href>http://localhost:7007/rs/api/v2/payment/transactions /101521440037360309</href> </links> <billingAccountNumber>AC-B2B-123361-01</billingAccountNumber> <type_disp>Bank Transfer</type_disp> <paymentScheduledDate pattern="MM/dd/yyyy">08/20/2015 </paymentScheduledDate> <paymentTransactionDate pattern="MM/dd/yyyy HH:mm:ss"> </paymentTransactionDate> <paymentAmount>643.57</paymentAmount> <status_disp>Scheduled</status_disp> <paymentType>check</paymentType> </items> <items> <links> <rel>self</rel> <href>http://localhost:7007/rs/api/v2/payment/transactions /101521440037367471</href> </links> <billingAccountNumber>AC-B2B-123361-01</billingAccountNumber> <type_disp>Bank Transfer</type_disp> <paymentScheduledDate pattern="MM/dd/yyyy">08/20/2015 </paymentScheduledDate> <paymentTransactionDate pattern="MM/dd/yyyy HH:mm:ss"> </paymentTransactionDate> <paymentAmount>350.29</paymentAmount> <status_disp>Scheduled</status_disp> <paymentType>check</paymentType> </items> </paymentTransactionList> </report>
|