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

Example of Posting an External Payment Transaction


This example shows you how to use the payments Web service to post a payment transaction made externally from Oracle Self-Service E-Billing.

Operation

Use the following operation to post an external payment transaction:

POST /payments/externals/billingaccount/{account_id}/

Sample URL

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

http://myhost.example.com:7017/ebillingrs/rs/payments/externals/billingaccount/{account_id}

Roles

The following roles are valid for this Web service example:

  • CSR Admin
  • CSR
  • B2B Admin
  • B2B Manager
  • B2C User
Sample XML Input

The following is an example of XML input:

<paymentExternalTransaction>

<billerId>BS1</billerId>

<billingAccountNumber>7836380B2B1</billingAccountNumber>

<paymentAmount>111</paymentAmount>

<paymentScheduledDate pattern="MM/dd/yyyy">03/21/2013</paymentScheduledDate>

<paymentType>Mail In</paymentType>

<status>paid</status>

<transactionId>T123</transactionId>

<flexible1>...</flexible1>

<flexible2>...</flexible2>

<flexible3>...</flexible3>

<flexible4>...</flexible4>

<flexible5>...</flexible5>

</paymentExternalTransaction>

Response Message

The following is an example of the response message:

POST PAYMENT SUCCESS

Visit <link>/payments/externals/T123</link>

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