Update Institution

Overview

You can update an Institution by modifying its existing information or adding information for an optional field by using the POST method, as described below.

Resource Access

POST https://<hostname>/buyer/v1/institution/<institutionId>

Arguments

FieldSub-fieldAdditional Information
nameOptional
addressOptional
street1Optional
cityOptional
stateOptional
countryOptional
postalCodeOptional
statusMandatory
externalStatusMandatory
ContactsOptional
nameOptional
titleOptional
emailOptional
phoneOptional
primaryOptional
associatedNetworkNameOptional 
associatedNetworkIdMandatory
fidMandatory
associatedBrandNameOptional 
associatedBrandIdOptional
externalUnderwritingOptional
schedulePaymentsForFutureOptional
invoiceUploadEnabledOptional
AlertApicard/ach/check/suppllierOptional, cannot be enabled while creating 
enabledOptional, False by default
usernameMandatory if enabled node is true
passwordMandatory if enabled node is true
endpointMandatory if enabled node is true
generateScheduledUserReportActiveOptional
StaticReportOptional
enabledOptional - False by default
externalLinks
  • label
  • Value
Label - value combination must be passed together
paymentFileTypesCustom Flat parser
idOptional
nameMandatory if ID is passed
bankAccountsOptional
accountNumberMandatory to be passed if bank account node is being passed
routingNumberMandatory to be passed if bank account node is being passed
accountTypeMandatory to be passed if bank account node is being passed
defaultsitems:   type: string   enum:
  • Revenue
  • Fees
  • Goodfunds
debitMethodOptional
achDelayDaysMandatory
vcnHostOptional
vcnHostConfigOptional
falcons
  • A. products
    • Type
    • value
    • default
  • B. location
       
One Product is mandatory if vcnhost config is being passed
braves
  • companyNumber
  • billLevel
  • corpId
  • clientUserId
  • clientOrg
All subnodes are mandatory if braves node is being passed. Only a valid combination for corpID, clientUserID and client Org will be applicable
vpa
  • clientId
  • implementationType
  • pp
  • rva
clientId is mandatory for VPA.
implementationType is mandatory.
Either pp or rva to be passed with default as true
automaticIdentityVerificationOptional, true by default
includeVcnInDispositionOptional, false by default
automaticVcnCardCreationOptional, false by default
suppressSIPEmailOptional, false by default
suppressStatementOptional, false by default
checkSettingsOptional
checkProcessorEnabledOptional
clientIdOptional , Mandatory Only used if checkProcessorEnabled is true
apiKeyOptional , Mandatory Only used if checkProcessorEnabled is true
memoMappingEnabledOptional
memoMappingOptional, Reference 1 by default 
isManagedCheckOptional, false by default
checkInsertEnabledoptional, False by default
updateAllBuyersOptional, False by default
mriclientIDOptional, mandatory if MRI nodes is being passed
databaseOptional, mandatory if MRI nodes is being passed
usernameOptional, mandatory if MRI nodes is being passed
passwordOptional, mandatory if MRI nodes is being passed
pifConfirmationEmailOptional, Email for disposition notification
pifApprovalOptional
pifApprovalConfigOptional
levelMandatory of pifApproval node is true
DEFAULT
  • threshold
    • firstLevel
    • secondLevel
  • requireAllLevelApproval
  • Approvers
    • firstLevel
    • secondLevel
  • Threshold- Mandatory
    • firstLevel - Mandatory
    • secondLevel- Optional
  • requireAllLevelApproval- Optional
  • Approvers
    • firstLevel- Mandatory
    • secondLevel- Optional, mandatory if second level threshold is added
plastiqPayEnabledOptional
buyerWalletEnabledOptional

Example Request

🚧

Update an Institution:
POST https://<hostname>/institution/v1/institution/ccd125d1-b23b-5485-9721-d44ae26ddc93
Host: <hostname>
Authorization: Bearer <JWT token>
Content-Type: application/json


    { "name": "Test API Institution",
     "address": {
         "street1": "150 Street",
         "city": "New City",
         "state": "AL",
         "country": "USA",
         "postalCode": "10001"
     },
     "status": "Approved",
     "externalStatus": "Active",
     "contacts": [
         {
             "primary": true,
             "name": "John Smith",
             "title": "contact position",
             "email": "[email protected]",
             "phone": "1231212321"
         }
     ],
     "associatedNetworkName": "APINetworktesting1234567890",
     "associatedNetworkId": "cebc25a1-186d-509f-bcde-63df16250fbc",
     "fid": "APIinstitute",
     "associatedBrandName": "Wisconsin Bank & Trust",
     "associatedBrandId": "b06dff1a-f378-5487-b403-ee5f17898d58",
     "externalUnderwriting": false,
     "schedulePaymentsForFuture": false,
     "invoiceUploadEnabled": true,
     "alertApi": {
          
             "card": {
                 "enabled": true,
                 "username": "cardUsername",
                 "password": "Password",
                 "endpoint": "CardAlertEndpoint"
                  },
              "ach": {
                 "enabled": true,
                 "username": "ACHusername",
                 "password": "Password",
                 "endpoint": "ACHAlertEndpoint"
                 },
             "check": {
                 "enabled": true,
                 "username": "Checkusername",
                 "password": "Password",
                 "endpoint": "CheckAlertEndpoint"
                 },
              "wire": {
                 "enabled": true,
                 "username": "Checkusername",
                 "password": "Password",
                 "endpoint": "CheckAlertEndpoint"
                 },
             "supplier": {
                 "enabled": true,
                 "username": "supplierUsername",
                 "password": "Password",
                 "endpoint": "supplierAlertEndpoint"
                  }
             },
     "generateScheduledUserReportActive": true,
      "staticReport": {
         "enabled": true,
         "externalLinks": [
             {
                 "label": "hello",
                 "value": "https://uat.cpxchange.com/"
             }
         ]
     },
     "paymentFileTypes": [
             "id": "customfileID",
             "name": "nameOfCustomParser"
  
     ],
     "bankAccounts": [
         {
             "accountNumber": "12309747239923802",
             "routingNumber": "121000248",
             "accountType": "savings",
             "defaults": [
                 "GOODFUNDS",
                 "FEES",
                 "REVENUE"
             ]
         }
     ],
     "debitMethod": "Manual",
     "achDelayDays": 0,
     "vcnHost": "falcons",
     "vcnHostConfig": {
         "falcons": {
             "products": [
                 {
                     "type": "VCN",
                     "value": "6034",
                     "default": true
                 },
                 {
                     "type": "LDG",
                     "value": "6047",
                     "default": true
                 }
             ],
             "location": "12337"
         },
         "braves": {
             "companyNumber": "99999",
             "billLevel": "buyer",
             "corpId": "NA"
         }, 
          "vpa": {
              "pp": {
                  "default": true
              },
              "rva": {
                  "default": false
              },
              "clientId": "B2BWS_4_9_4477"
          }
  
     },
  "pifApproval": true,
     "pifApprovalConfig": {
         "level": "pif",
         "DEFAULT": {
             "approvers": {
                 "firstLevel": [
                     { "5d655f8d-1835-5e78-904a-08a29a8c086d"
                
                     }
                 ]
             },
             "threshold": {
                 "firstLevel": 0
             }
         }
     },
  
     "automaticIdentityVerification": true,
     "companyNumber": "99999",
     "includeVcnInDisposition": true,
     "automaticVcnCardCreation": true,
     "suppressSIPEmail": true,
     "suppressStatement": true,
    "updateAllBuyers": false,
     "checkSettings": {
         "checkProcessorEnabled": true,
         "clientId": "234",
         "apiKey": "retyfgaschagcdhakjciuhdsyf236evascshggydhjc",
         "memoMappingEnabled": true,
         "memoMapping": "reference1",
         "isManagedCheck": true,
         "checkInsertEnabled": false 
        
     },
     "mri": {
         "clientId": "",
         "database": "",
         "username": "",
         "password": ""
     },
  "plastiqPayEnabled" : true
  "buyerWalletEnabled" : true
  }
  


Example Response

👍

HTTP Status: 204


Priority Technology Holdings Logo