Web Services Reference for Oracle Billing Insight > Examples of Web Services > Examples of the Payments Web Service >

Example of Creating a Recurring Payment


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

Operation

Use the following operation to create a recurring payment transaction:

POST /payment/recurringPmts/

Sample URL

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

http://myhost.example.com:7017/rs/api/v2/payment/recurringPmts

Sample JSON Input

The following is an example of JSON input:

{
"billerId":"BS1",
"billingAccountNumber":"AC-B2B-123361-01",
"paymentAccountId":"check_18",
"amount":{
"type":"UPTO_AMOUNT",
"value":"1000"
},
"transferDate":{
"type":"MONTHLY",
"value":"25"
},
"effectivePeriod":{
"type":"UNTIL_DATE",
"pattern":"MM/dd/yyyy",
"value":"01/14/2018"
}
}

Response Message

The following is an example of the response message:

POST PAYMENT SUCCESS

Visit <link>http://myhost.example.com:7017/rs/api/v2/payment/recurringPmts</link>

Web Services Reference for Oracle Billing Insight Copyright © 2017, Oracle and/or its affiliates. All rights reserved. Legal Notices.