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

Example of Posting a Payment Transaction


This example shows you how to use the payments Web service to post a payment transaction.

Operation

Use the following operation to post a payment transaction:

POST /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}

Roles

The following roles are valid for this Web service example:

  • B2B Admin
  • B2B Manager
  • B2B Subscriber
  • B2C User

Sample XML Input

The following is an example of XML input:

<paymentTransaction>

<billerId>BS1</billerId>

<billingAccountNumber>7836380B2B1</billingAccountNumber>

<paymentAmount>111</paymentAmount>

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

<flexible1>...</flexible1>

<flexible2>...</flexible2>

<flexible3>...</flexible3>

<vertical1>...</vertical1>

<vertical2>...</vertical2>

<vertical3>...</vertical3>

<vertical4>...</vertical4>

</paymentTransaction>

Response Message

The following is an example of the response message:

POST PAYMENT TRANSACTION SUCCESS

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

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