AdjustAccountPaymentMethod
Usage
Changes the method of payment within the Debitsuccess Billing System by providing either new Bank Account or Credit Card details. Â
Parameters
Name | Data Type | Length | Description | |
---|---|---|---|---|
User | ||||
| String | Required | Provided by Debitsuccess | |
| String | Required | Provided by Debitsuccess | |
RequestInitiator | String | 100 | Optional | Optional – allows requesting user to be logged |
AccountReferenceNo | String | 15 | Optional* | Debitsuccess account reference |
ExternalAccountReferenceNo | String | 50 | Optional* | External account reference |
NewPayMethod | ||||
| String | 35 | Required | Bank account or credit card number |
| DateTime | Optional** | Expiry date of credit card | |
| String | 50 | Required | Bank account or credt card holder name. Maximum length 50 characters |
| Enum | Required | BankAccount, CreditCard | |
| Enum | Required | None, AmericanExpress, Mastercard, Visa |
* At least one of the following parameters must be supplied: AccountReferenceNo, ExternalAccountReferenceNo
** ExpiryDate
is required for credit cards
ResponseÂ
Name | Data Type | Description |
---|---|---|
DateCreated | DateTime | Date/time message was processed |
Id | String | Unique ID for the message |
ResponseNotes () | Collection of validation messages | |
| String | |
| String | |
| Enum | Error, Warning, Info |
Status | Enum | Failed, Succeed, Unknown |
Error Messages
Type | Error Code | Error Message |
---|---|---|
Error | 12016 | Missing required reference number. Must provide either ExternalAccountReferenceNo or AccountReferenceNo or both. |
Error | 12029 | Missing NewPaymethod parameter |
Error | 13068 | Diner cards are not supported. |
Warning | 14020 | DateTime field '{0}' contains time part, but the time is ignored by message. |
Error | 12014 | Missing AccountHolder parameter |
Error | 02 | Invalid user credentials |
Error | 08 | There is no record found with this criteria |
Error | 10 | Account is not active |
Error | 07 | Multiple accounts found with this criteria |
Warning | 14300 | Account already has the same active payment method |
Error | 14115 | The selected payment method is not supported by this business. |
Error | 13005 | Invalid or missing credit card number |
Error | 12013 | Missing AccountNo parameter |
Error | 13007 | Invalid bank account number |
Error | 14075 | Account Number cannot exceed 35 characters. |
Error | 14071 | Incomplete Bank Account routing number. Please follow - Account Number Format: <routing number 9 digits><account type code 2 digits><account number 4 to 17 digits>. |
Error | 14127 | Unable to validate routing number. |
Error | 14072 | Incomplete Bank Account account type. Please follow - Account Number Format: <routing number 9 digits><account type code 2 digits><account number 4 to 17 digits>. |
Error | 14074 | Invalid Bank Account account type code. Available Account type codes CP (Checking Personal), SP (Saving Personal), CB (Checking Business), SB (Saving Business). |
Error | 14073 | Incomplete Bank Account account number. Please follow - Account Number Format: <routing number 9 digits><account type code 2 digits><account number 4 to 17 digits>. |
Error | 14076 | Account Number must be a numeric value. |
Error | 14077 | Account Number cannot exceed 17 characters. |
Error | 14107 | Cannot update the payment method as this account is an Add on Product. Please update the main account for this customer. |
Info | 00 | Success |
Related Pages
On this page:
© 2021 Debitsuccess. All rights reserved