APIs for creating accounts and making payments
updateAccount
Use the updateAccount API to update the details of an already created BancBox account.
Parameters
Request Parameters
| Parameter | Required | Type | Description | |
| subscriberId | Y | Long | Subscriber Id | |
| + | accountId | Y | Specify either the bancBox ID or the subscriberReference ID for the account being updated. | |
| title | Y | String | Specify the new title desired for the account (Max length:45) |
Response Parameters
| Parameter | Type | Description | ||
| requestId | long | 13 digit ID for the API request being made. | ||
| status | int | Status of completed request, either 1 for pass, or 0 for fail. | ||
| + | warnings | warning | A Warning object containing a code and description. | |
| + | errors | error | Request failed, error response. |
Related Errors
| Parameter | short error message | Description |
| No records | ||
Request and Response formats
WSDL URL (Production) : https://api.bancbox.com/BBXPort?wsdl
WSDL URL (SandBox) : https://sandbox-api.bancbox.com/BBXPort?wsdl
WSDL URL (SandBox) : https://sandbox-api.bancbox.com/BBXPort?wsdl
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:sch="schema.bancbox.com">
<soapenv:Header>
<wsse:Security soapenv:mustUnderstand="1" xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd">
<wsse:UsernameToken wsu:Id="XWSSGID-1261544568770-474929336" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd">
<wsse:Username>sample@email.com</wsse:Username>
<wsse:Password Type="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-username-token-profile-1.0#PasswordText">sample</wsse:Password>
</wsse:UsernameToken>
</wsse:Security>
</soapenv:Header>
<soapenv:Body>
<sch:updateAccount>
<updateAccountRequest>
<subscriberId>?</subscriberId>
<accountId>
<!--Optional:-->
<bancBoxId>?</bancBoxId>
<!--Optional:-->
<subscriberReferenceId>?</subscriberReferenceId>
</accountId>
<!--Optional:-->
<title>?</title>
</updateAccountRequest>
</sch:updateAccount>
</soapenv:Body>
</soapenv:Envelope>
<sch:updateAccountResponse>
<return>
<!--Optional:-->
<requestId>?</requestId>
<status>?</status>
<!--Zero or more repetitions:-->
<warnings>
<!--Optional:-->
<code>?</code>
<!--Optional:-->
<message>?</message>
</warnings>
<!--Zero or more repetitions:-->
<errors>
<!--Optional:-->
<code>?</code>
<!--Optional:-->
<message>?</message>
</errors>
</return>
</sch:updateAccountResponse>




