Spend Control Create V1Ask AIpost https://processor-api.uat1.pcaasa.com/?call=spend-control-create-v1Create a spend control Listed below are the options for spend control types and their corresponding required inputsBody ParamsappstringDefaults to customer-spendcontrolcustomer-spendcontrolobjectstringDefaults to spend-controlspend-controlactionstringDefaults to createcreateversionint32Defaults to 11sessionUuidstringThe unique identifier that pertains to a particular session and is used to validate permissionsData type: uuidRequired: yesLetters: yesNumbers: yesSpecial: yesMin: 36Max: 36externalTranUuidstringIdentifier for tracking this API call Data type: uuidRequired: noLetters: yesNumbers: yesSpecial: yesMin: 36Max: 36spendControlTypeCodestringenumType code of spend control being created TRANTOTALFROMTIME (Each time this control is created, the calculated amount will be reset to 0)Data type: stringRequired: yesLetters: yesNumbers: noSpecial: noMin: 1Max: 50TRANDATERANGETRANAMOUNTTRANTOTALTHISDAYTRANTOTALTHISWEEKTRANTOTALTHISMONTHTRANTOTALTHISCYCLETRANTOTALFROMTIMECASHAMOUNTCASHTOTALTHISDAYCASHTOTALTHISWEEKCASHTOTALTHISMONTHCASHTOTALTHISCYCLETRANCOUNTTHISDAYTRANCOUNTTHISWEEKTRANCOUNTTHISMONTHTRANCOUNTTHISCYCLETRANMCCCODEINTRANMCCCODENOTShow 18 enum valuesobjectTypestringenumObject type that a spend control is being created for Data type: stringRequired: yesLetters: yesNumbers: noSpecial: noMin: 1Max: 40Holding CompanyCompanyAccountAccount UserPayment InstrumentCardAllowed:Holding CompanyCompanyAccountAccount UserPayment InstrumentCardobjectUuidstringUnique identifier of specific object that a spend control is being created forIf objectReferenceNumber has not been provided, objectUuid must be providedData type: uuidRequired: noLetters: yesNumbers: noSpecial: noMin: 36Max: 36objectReferenceNumberstringif objectUuid is not provided, objectReferenceNumber must be provided Data type: varcharRequired: noLetters: yesNumbers: yesSpecial: noMin: 5Max: 50replaceExistingControlint32Defaults to 0Valid values10Default is set to 0 Data type: booleanRequired: noLetters: noNumbers: yesSpecial: noMin: 1Max: 1startDatedateSpecial characters allowed:hyphen (-)colon (:)period (.) Data type: dateRequired: noLetters: noNumbers: yesSpecial: yesMin: 10Max: 27endDatedateSpecial characters allowed:hyphen (-)colon (:)period (.) Data type: dateRequired: noLetters: noNumbers: yesSpecial: yesMin: 10Max: 27gmtOffsetHoursint32Defaults to 0Default is set to 0Data type: numberRequired: noLetters: noNumbers: yesSpecial: noMin: 1Max: 2minAmountfloatData type: moneyRequired: noLetters: noNumbers: yesSpecial: noMin: 3Max: 25maxAmountfloatData type: moneyRequired: noLetters: noNumbers: yesSpecial: noMin: 3Max: 25maxCountint32Data type: numberRequired: noLetters: noNumbers: yesSpecial: noMin: 3Max: 10mccCodeListstringVaild special character: space (' ') Data type: stringRequired: noLetters: yesNumbers: yesSpecial: yesMin: 4Max: 4000namePrefixListstringInvaild special character: comma (,) Data type: stringRequired: noLetters: yesNumbers: yesSpecial: yesMin: 4Max: 4000debugbooleanDefaults to false0 = debug off1 = debug onDefault is set to 0 Data type: booleanRequired: noLetters: noNumbers: yesSpecial: noMin: 1Max: 1truefalseResponse 200200Updated 7 months ago