Finxera

Back to documentation index

getSubscriberAccounts

Use the getSubscriberAccounts API to fetch the account related information of the subscriber.This API allows a subscriber in Finxera Core to get linked external DDA, Fee & revenue account and Subscriber reserve accounts (for subscriber's using Litle for credit card transactions only).

Request Parameters

  Parameter Required Type Description
subscriberId Y Long Specify subscriber ID issued when Finxera account is created.

Response Parameters

  Parameter   Type Description
requestId   Long 13 digit ID for the API request being made
status   Int It is the Status of completed request, (1 for pass or 0 for fail)
+ warnings   Object A Warning object containing a code and description.
+ errors   Object Request failed, error response.
+ SubscriberAccounts   Object SubscriberAccounts

WSDL URL (Production) :  https://api.bancbox.com/v3/BBXPort?wsdl
WSDL URL (SandBox) :  https://sandbox-api.bancbox.com/v3/BBXPort?wsdl

Sample Request

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:sch="schema.bancbox.com">
   <soapenv:Header/>
   <soapenv:Body>
      <sch:getSubscriberAccounts>
         <getSubscriberAccountsRequest>
            <subscriberId>?</subscriberId>
         </getSubscriberAccountsRequest>
      </sch:getSubscriberAccounts>
   </soapenv:Body>
</soapenv:Envelope>

Sample Response

<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
   <soap:Body>
   <ns1:getSubscriberAccountsResponse>
   <getSubscriberAccountsResponse>
      <requestId></requestId>
            <status></status>
            <SubscriberAccounts>
               <type>SUB_BUSINESS</type>
               <routingNumber></routingNumber>
               <accountNumber></accountNumber>
               <holderName></holderName>
               <bankAccountType></bankAccountType>
               <pendingBalance></pendingBalance>
               <currentBalance></currentBalance>
            </SubscriberAccounts>
            <SubscriberAccounts>
               <type>SUB_FEE</type>
               <routingNumber></routingNumber>
               <accountNumber></accountNumber>
               <holderName></holderName>
               <bankAccountType></bankAccountType>
               <pendingBalance></pendingBalance>
               <currentBalance></currentBalance>
            </SubscriberAccounts>
            <SubscriberAccounts>
               <type>SUB_RESERVE</type>
               <routingNumber></routingNumber>
               <accountNumber></accountNumber>
               <holderName></holderName>
               <bankAccountType></bankAccountType>
               <pendingBalance></pendingBalance>
               <currentBalance></currentBalance>
            </SubscriberAccounts>
         </getSubscriberAccountsResponse>
      </ns1:getSubscriberAccountsResponse>
   </soap:Body>
</soap:Envelope> 

Note:For REST, Content-type should be set to application/json
URL (Production) :  https://api.bancbox.com/v3/BBXPortRest/getSubscriberAccounts
URL (SandBox) :  https://sandbox-api.bancbox.com/v3/BBXPortRest/getSubscriberAccounts

Sample Request

{
 "authentication":
 {
  "apiKey":"",
  "secret":""
 },
    "subscriberId":
}

Sample Response

{
   "SubscriberAccounts":    [
            {
         "type": "SUB_BUSINESS",
         "routingNumber": "",
         "accountNumber": "",
         "holderName": "",
         "bankAccountType": "",
         "pendingBalance":,
         "currentBalance": 
      },
            {
         "type": "SUB_FEE",
         "routingNumber": "",
         "accountNumber": "",
         "holderName": "",
         "bankAccountType": "",
         "pendingBalance":,
         "currentBalance": 
      },
            {
         "type": "SUB_RESERVE",
         "routingNumber": "",
         "accountNumber": "",
         "holderName": "",
         "bankAccountType": "",
         "pendingBalance":,
         "currentBalance": 
      }
   ],
   "requestId":,
   "status":,
   "warnings":,
   "errors": 
}

Note: This is a beta version. The api listed here are likely to change.