Sample AutoPay Add/Update Request and Response in JSON Format

Using the below example, you can add/update an autopay request for the 7652701564 account.

Sample AutoPay Add/Update Request in JSON Format

{
    "C1-AddUpdateAutoPayService":
    {
        "accountIdentifierType": "",
        "accountNumber": "",
        "division": "",
        "accountId": "7652701564",
        "sourceSystem": "",
        "c1ExternalTransactionId": "",
        "externalSourceId": "",
        "accountautopaydata":
        [
            {
                "accountAutoPayId": "",
                "startDate": "2011-12-07",
                "endDate": "2014-12-07",
                "autopaySource": "CITIBANKCHK",
                "autopayRouteType": "ACH2",
                "percent": 35,
                "priorityNum": 4,
                "expirationMonth": "01",
                "expirationYear": "2020",
                "externalAccountId": "444444",
                "autopayMaxWithdrawalAmount": 100,
                "entityName": "Raj",
                "comments": "Testing",
                "autoPayMethod": "C1DD",
                "accountautopaymentchar":
                [
                    {
                        "characteristicType": "CMSIFSSF",
                        "characteristicValue": "MN"
                    }
                ]
            }
            {
                "accountAutoPayId": "",
                "startDate": "2011-12-07",
                "endDate": "2014-12-07",
                "autopaySource": "CITIBANKCHK",
                "autopayRouteType": "NEFT",
                "percent": 15,
                "priorityNum": 4,
                "expirationMonth": "02",
                "expirationYear": "2020",
                "externalAccountId": "789654",
                "autopayMaxWithdrawalAmount": 10,
                "entityName": "ABCL",
                "comments": "For Testing",
                "autoPayMethod": "C1DD",
                "accountautopaymentchar":
                [
                    {
                        "characteristicType": "CMSIFSSF",
                        "characteristicValue": "MN"
                    }
                ]
            }
            {
                "accountAutoPayId": "",
                "startDate": "2011-12-07",
                "endDate": "2014-12-07",
                "autopaySource": "CITIBANKCHK",
                "autopayRouteType": "ACH",
                "percent": 50,
                "priorityNum": 4,
                "expirationMonth": "01",
                "expirationYear": "2019",
                "externalAccountId": "456321",
                "autopayMaxWithdrawalAmount": 100,
                "entityName": "PQRS",
                "comments": "For Testing",
                "autoPayMethod": "C1DD",
             }
        ]
    }
}

Sample AutoPay Add/Update Response in JSON Format

{
    "C1-AddUpdateAutoPayService":
    {
        "responseStatus": "Success",
        "responseMessage": "AutoPay Id Added / Updated Successfully",
        "accountIdentifierType": "",
        "accountNumber": "",
        "division": "",
        "accountId": "7652701564",
        "sourceSystem": "",
        "c1ExternalTransactionId": "",
        "externalSourceId": "",
        "accountautopaydata":
     [
            {
                "accountAutoPayId": "",
                "startDate": "2011-12-07",
                "endDate": "2014-12-07",
                "autopaySource": "CITIBANKCHK",
                "autopayRouteType": "ACH2",
                "percent": 35,
                "priorityNum": 4,
                "expirationMonth": "01",
                "expirationYear": "2020",
                "externalAccountId": "444444",
                "autopayMaxWithdrawalAmount": 100,
                "entityName": "Raj",
                "comments": "For Testing Purposes",
                "autoPayMethod": "C1DD",
                "accountautopaymentchar":
                [
                    {
                        "characteristicType": "CMSIFSSF",
                        "characteristicValue": "MN"
                    }
                ]
            },
            {
                "accountAutoPayId": "",
                "startDate": "2011-12-07",
                "endDate": "2014-12-07",
                "autopaySource": "CITIBANKCHK",
                "autopayRouteType": "NEFT",
                "percent": 15,
                "priorityNum": 4,
                "expirationMonth": "02",
                "expirationYear": "2020",
                "externalAccountId": "789654",
                "autopayMaxWithdrawalAmount": 10,
                "entityName": "GKDas",
                "comments": "Test",
                "autoPayMethod": "C1DD",
                "accountautopaymentchar":
                [
                    {
                        "characteristicType": "CMSIFSSF",
                        "characteristicValue": "MN"
                    }
                ]
            },
            {
                "accountAutoPayId": "",
                "startDate": "2011-12-07",
                "endDate": "2014-12-07",
                "autopaySource": "CITIBANKCHK",
                "autopayRouteType": "ACH",
                "percent": 50,
                "priorityNum": 4,
                "expirationMonth": "01",
                "expirationYear": "2019",
                "externalAccountId": "456321",
                "autopayMaxWithdrawalAmount": 100,
                "entityName": "Rajesh",
                "comments": "Testing",
                "autoPayMethod": "C1DD",
            },
        ]
    }
}
Note: We have given the above sample to illustrate how the attribute value pairs should be structured while sending an auto pay add or update request from the external system. However, you should not seamlessly use this sample in your environment because the required pre-requisite data may not be available in your environment. In such case, the system will give erroneous results.

Related Topics

For more information on... See...
AutoPay Add/Update Request and Response - Attribute/Value Pairs in JSON Format AutoPay Add/Update Request and Response - Attribute/Value Pairs in JSON Format