Web Services Reference for Oracle Self-Service E-Billing > 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 /payments/txns/billingaccount/{account_id}

Sample URL

The following is a sample URL for this Web service example:

http://myhost.example.com:7017/ebillingrs/rs/payments/txns/billingaccount/{account_id}?startDate=02/01/2013&endDate=05/01/2013

Roles

The following roles are valid for this Web service example:

  • B2B Admin
  • B2B Manager
  • B2B Subscriber
  • B2C User
Sample XML Response

The following is an example of the XML response:

<report>

<paymentTransactionList>

<count>3</count>

<header>

<paymentAmount>USD</paymentAmount>

</header>

<paymentTransaction>

<billingAccountNumber>7836380B2B1</billingAccountNumber>

<paymentSource>One-time</paymentSource>

<paymentAmount>111.00</paymentAmount>

<status>Processed</status>

<paymentScheduledDate pattern="MM/dd/yyyy">04/20/2013</paymentScheduledDate>

<paymentTransactionDate pattern="MM/dd/yyyy HH:mm:ss"/>

<paymentType>check</paymentType>

<link>/payments/txns/bank/100201365476391727</link>

</paymentTransaction>

<paymentTransaction>

<billingAccountNumber>7836380B2B1</billingAccountNumber>

<paymentSource>One-time</paymentSource>

<paymentAmount>222.00</paymentAmount>

<status>Scheduled</status>

<paymentScheduledDate pattern="MM/dd/yyyy">04/15/2013</paymentScheduledDate>

<paymentTransactionDate pattern="MM/dd/yyyy HH:mm:ss"/>

<paymentType>check</paymentType>

<link>/payments/txns/bank/100201365477031555</link>

</paymentTransaction>

<paymentTransaction>

<billingAccountNumber>7836380B2B1</billingAccountNumber>

<paymentSource>One-time</paymentSource>

<paymentAmount>333.00</paymentAmount>

<status>Scheduled</status>

<paymentScheduledDate pattern="MM/dd/yyyy">04/15/2013</paymentScheduledDate>

<paymentTransactionDate pattern="MM/dd/yyyy HH:mm:ss"/>

<paymentType>ccard</paymentType>

<link>/payments/txns/creditcard/100201365477900447</link>

</paymentTransaction>

</paymentTransactionList>

</report>

Web Services Reference for Oracle Self-Service E-Billing Copyright © 2013, Oracle and/or its affiliates. All rights reserved. Legal Notices.