Web Services Reference for Oracle Self-Service E-Billing > Examples of Web Services > Examples of the Payments Web Service >

Example of Getting a Particular Credit Card Payment Transaction


This example shows you how to use the payments Web service to get a specific credit card payment transaction.

Operation

Use the following operation to get a specific bank payment transaction:

GET /payments/txns/creditcard/{paymentID}

Sample URL

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

http://myhost.example.com:7017/ebillingrs/rs/payments/txns/creditcard/{paymentID}

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:

<paymentTransactionProfile currency="USD">

<billingAccountNumber>7836380B2B1</billingAccountNumber>

<paymentType>ccard</paymentType>

<paymentAmount>222</paymentAmount>

<status>Scheduled</status>

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

<paymentAccountName>AutoCCOnFly27177</paymentAccountName>

<paymentAccountNumber>xxxxxxxxx2222</paymentAccountNumber>

<paymentCreatedDate pattern="MM/dd/yyyy">04/08/2013</paymentCreatedDate>

<paymentModifiedDate pattern="MM/dd/yyyy">04/08/2013</paymentModifiedDate>

</paymentTransactionProfile>

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