Knowledge Base / API
עברית

Ask AI

✦ AI answer

Thinking…

Sources

    CompanyOperations - Reopen Company

    When should this function be used?

    This function is intended for cases where a provider wants to reopen a merchant to which it provides services.

    Below is a link to the function in the JSON API documentation.

    Request method: POST.

    Reopen company
    https://secure.cardcom.solutions/api/v11/CompanyOperations/ReOpenCompany

    Below are the parameters that must be passed to the function.

    Legend:

    Red parameter – required

    Bold parameter – recommended

    A parameter that is neither red nor bold is optional.

    No.ParameterExample possible valuesDescription
    1SupplierUserName(String)Provider username.
    2SupplierPassword(String)Provider password.
    3Secret(String)Secret?
    7TerminalInfo – object

    BankCode – (String)

    ----

    BankBranchCode – (String)

    ----

    BankAccountNumber – (String)

    ----

    ModuleList – an array containing the ModuleID parameter

    BankCode – bank code.

    BankBranchCode – bank branch code.

    BankAccountNumber – bank account number.

    ModuleList – an array of module IDs.

    CompanyInfo object values (4).

    No.ParameterExample possible valuesDescription
    1Activity(String)?
    2BusinessRegistrationNumber(String)?
    3ContactPerson(String)Contact person.
    4Email(String)Merchant email address.
    5Name(String)Merchant name.
    6Fax(String)Merchant fax number.
    7PhoneNumber(String)Landline telephone number.
    8MobilePhone(String)Mobile telephone number.
    9ZipCode(String)Postal code.
    10IsVatFreeCompanyBoolean – true / falseIs the merchant a nonprofit organization?
    11Citizenship
    • "Unknown" – Unknown
    • "Israel" – Israel
    • "Expatriate" – Foreign resident
    • "ResidentArea" – Area resident
    Merchant citizenship.
    12CompanyInternalID(String)Merchant internal number.
    13NameEng(String)Merchant name in English.
    14CityCode(Int)City code.
    15StreetCode(Int)Street code.
    16HouseNumber(String)Building number.
    17WebSiteUrl(String)Merchant website URL.
    18Entrance(String)Entrance?
    19CountryCode(Int)Country code.
    20NameLegalCorporation(String)Merchant's legal name.
    21AgreementInfo – objectAgreementId – (Int)?

    UserInfo object values (5).

    No.ParameterExample possible valuesDescription
    1StreetCode(Int)Street code.
    2CityCode(Int)City code.
    3Email(String)Merchant email address.
    4IdentityNumber(String)ID number.
    5LogInName(String)Username for logging in to the Cardcom system.
    6LogInPassword(String)Password for logging in to the Cardcom system.
    7FirstName(String)Business owner's first name.
    8Fax(String)Merchant fax number.
    9PhoneNumber(String)Merchant's landline telephone number.
    10MobilePhone(String)Mobile telephone number.
    11ZipCode(String)Postal code.
    12LastName(String)Last name.
    13BirthDate(String)Date of birth.
    14Gender"Unknown" "male" "female"Gender.
    15IdentityIssueDate(String)ID issue date.
    16PassportIssueCountryCode(Int)Code of the country that issued the passport.
    17IdIssueDateOrPassportIDTypes"IDNumber" "Passport"Identification document type: ID card or passport.
    18PersonalIdentificationCode(String)Personal identification code.

    KycInfoGeneric values (8.1).

    A nested object of KycInfo.

    No.ParameterExample possible valuesDescription
    1CountriesTargetedMarket(String)Free text of up to 250 characters specifying the countries for which the product is intended.
    2NamesOfRelatedBusinesses(String)Free text of up to 250 characters listing related businesses. This continues the previous field if TRUE was selected there.
    3ExpectedPercentagePaymentOfOnePayment(Number)Expected percentage of single-payment transactions.
    4ExpectedPercentageOfPaymentTransactions(Number)Expected percentage of installment transactions.
    5ExpectedPercentageOfCreditPaymentTransactions(Number)Expected percentage of credit-payment transactions.
    6ExpectedPercentageOfTouristTransactions(Int)Expected percentage of tourist transactions.
    7ExpectedPaymentNumberForAverageTransaction(Int)Expected number of installments for an average transaction. This field accepts an integer.
    8SalePlatform

    (String)

    "PhysicalSale" – Physical sale

    "Phone" – Telephone

    "Web" – Internet

    "LandingPage" – Payment landing page

    The platform on which the sale is expected to take place. Not in use; this field accepts an integer.
    9SalePlatforms – array of (String)[(String),(String)]The platforms on which sales are expected to take place. This field accepts a list of integers in the format [0,1,2]: PhysicalSale = 0, Phone = 1, Web = 2, LandingPage = 3.
    10IsPaymentsFacilitatorBoolean – true / falseAggregation of charges for other providers – whether the customer is a payment facilitator.
    11IsBusinessFacilitateCashWithdrawlsBoolean – true / falseDoes the customer allow cash withdrawals at the register?
    12IsBusinessFacilitateVoucherOrRechargingCardsSalesBoolean – true / falseDoes the customer allow the sale of vouchers, reloadable cards, or gift cards?
    13IsBusinessFacilitateCreditForTransactionsOutsideBusinessScopeBoolean – true / falseDoes the customer provide credit for purposes other than purchases from the store?
    14IsBusinessPlaceCashRegistersInOtherBusinessesBoolean – true / falseDoes the business place cash registers in other businesses?
    15TypeOfPlannedService(String)What is the type of service planned?
    16MinimumAmountOfCreditTransaction(Int)What is the minimum amount for a credit card transaction?
    17MaximumAmountOfCreditTransaction(Int)What is the maximum amount for a credit card transaction?
    18IsTheBusinessSeasonalBoolean – true / falseDoes the business mainly operate during a particular season of the year?
    19IsTheBusinessPreviouslyClearedCreditCardsBoolean – true / falseHas the business previously processed credit cards?
    20NumberOfYearsBusinessHasInClrearance(Int)How many years of payment-processing experience does the business have?
    21ExpectedStoreSupplyDeliverySchedule

    (String)

    "Immediate" – Immediate

    "Late" – Late

    "Continuous" – Continuous

    Expected delivery timeframe for the store's products.
    22TimeTillProductShips(Int)Expected time until the product is shipped.
    23AvarageTransactionAmountInCreditCard(Int)What is the average credit card transaction amount?
    24EstimatedMonthlyTransactionAmount(Int)Estimated number of monthly transactions.
    25IsBusinessBeenDeniedActionVersusBankingCorporationBoolean – true / falseHas the merchant previously been denied activity with a banking corporation?
    26GeneralBusinessFieldMccCode(Int)General business category.
    27SpecifiedBusinessFieldMccCode(Int)Detailed business category.
    28TypeOfRecruitment

    (String)

    "Independent" – Independent

    "Telephone" – Telephone

    "UsingARemoteRepresentative" – Using a remote representative

    Recruitment method.

    KycInfoOsekMurshe values (8.2).

    A nested object of KycInfo.

    No.ParameterExample possible valuesDescription
    1IsOwnerAddressDifferentFromBusinessAddressBoolean – true / falseIs the owner's residential address different from the business address?
    2BusinessOwnerHomeNumber(String)Building number in the business owner's residential address.
    3BusinessOwnerEntranceNumber(String)Entrance in the business owner's residential address.
    4BusinessOwnerStreetCode(Int)Street code in the business owner's residential address.
    5BusinessOwnerCityCode(Int)City code in the business owner's residential address.
    6BusinessOwnerZipCode(String)Postal code in the business owner's residential address.
    7MotherMaidenName(String)Mother's maiden name.

    Reopen Company response

    No.ParameterExample possible valuesDescription
    1ResponseCode0Response code. If it equals zero, the function was completed successfully. Any other response indicates that the operation was unsuccessful.
    2Description"OK"Response description. "OK" indicates success.
    3CompanyInternalID21348Internal merchant number.
    4TerminalNumber1000Terminal number.
    5APIUserName"test2025"Merchant API username.
    6APISecret"test5000$"Merchant API password.
    7ModulesList
    Array of strings.
    "Direct Debit", "Payment Landing Pages", "Low Profile"An array containing the list of modules.
    8UpayAPIKey(String)UPAY API key.
    9ShowErrorToEndUserBoolean – true / falseWhether to display an error to the customer.
    10CardComSapakNumber(String)Cardcom provider number, if available.
    11CompanyNumber21351Merchant internal number.

    Below is sample code for the function together with the response.

    Request example:

    {
      "SupplierUserName": "string",
      "SupplierPassword": "string",
      "Secret": "string",
      "CompanyInfo": {
        "Activity": "string",
        "BusinessRegistrationNumber": "string",
        "ContactPerson": "string",
        "Email": "string",
        "Name": "string",
        "Fax": "string",
        "PhoneNumber": "string",
        "MobilePhone": "string",
        "ZipCode": "string",
        "IsVatFreeCompany": true,
        "Citizenship": "Israel",
        "CompanyInternalID": "string",
        "NameEng": "string",
        "CityCode": 0,
        "StreetCode": 0,
        "HouseNumber": "string",
        "WebSiteUrl": "string",
        "Entrance": "string",
        "CountryCode": 0,
        "NameLegalCorporation": "string",
        "AgreementInfo": {
          "AgreementId": 0
        }
      },
      "UserInfo": {
        "StreetCode": 0,
        "CityCode": 0,
        "Email": "string",
        "IdentityNumber": "string",
        "LogInName": "strings",
        "LogInPassword": "strings",
        "FirstName": "string",
        "Fax": "string",
        "PhoneNumber": "string",
        "MobilePhone": "string",
        "ZipCode": "string",
        "LastName": "string",
        "BirthDate": "string",
        "Gender": "Unknown",
        "IdentityIssueDate": "string",
        "PassportIssueCountryCode": 1,
        "IdIssueDateOrPassportIDTypes": "IDNumber",
        "PersonalIdentificationCode": "string"
      },
      "TerminalInfo": {
        "BankCode": "string",
        "BankBranchCode": "string",
        "BankAccountNumber": "string",
        "ModuleList": [
          {
            "ModuleID": "string"
          }
        ]
      },
      "KycInfo": {
        "KycInfoGeneric": {
          "CountriesTargetedMarket": "string",
          "NamesOfRelatedBusinesses": "string",
          "ExpectedPercentagePaymentOfOnePayment": 0,
          "ExpectedPercentageOfPaymentTransactions": 0,
          "ExpectedPercentageOfCreditPaymentTransactions": 0,
          "ExpectedPercentageOfTouristTransactions": 0,
          "ExpectedPaymentNumberForAverageTransaction": 0,
          "SalePlatform": "PhysicalSale",
          "SalePlatforms": [
            0
          ],
          "IsPaymentsFacilitator": true,
          "IsBusinessFacilitateCashWithdrawls": true,
          "IsBusinessFacilitateVoucherOrRechargingCardsSales": true,
          "IsBusinessFacilitateCreditForTransactionsOutsideBusinessScope": true,
          "IsBusinessPlaceCashRegistersInOtherBusinesses": true,
          "TypeOfPlannedService": "string",
          "MinimumAmountOfCreditTransaction": 0,
          "MaximumAmountOfCreditTransaction": 0,
          "IsTheBusinessSeasonal": true,
          "IsTheBusinessPreviouslyClearedCreditCards": true,
          "NumberOfYearsBusinessHasInClrearance": 0,
          "ExpectedStoreSupplyDeliverySchedule": "Immediate",
          "TimeTillProductShips": 0,
          "AvarageTransactionAmountInCreditCard": 0,
          "EstimatedMonthlyTransactionAmount": 0,
          "IsBusinessBeenDeniedActionVersusBankingCorporation": true,
          "GeneralBusinessFieldMccCode": 0,
          "SpecifiedBusinessFieldMccCode": 0,
          "TypeOfRecruitment": "Independent"
        },
        "KycInfoOsekMurshe": {
          "IsOwnerAddressDifferentFromBusinessAddress": true,
          "BusinessOwnerHomeNumber": "string",
          "BusinessOwnerEntranceNumber": "string",
          "BusinessOwnerStreetCode": 0,
          "BusinessOwnerCityCode": 0,
          "BusinessOwnerZipCode": "string",
          "MotherMaidenName": "string"
        }
      }
    }

    Example response:

    {
      "ResponseCode": 0,
      "Description": "string",
      "CompanyInternalID": "string",
      "TerminalNumber": 0,
      "APIUserName": "string",
      "APISecret": "string",
      "ModulesList": [
        "string"
      ],
      "UpayAPIKey": "string",
      "ShowErrorToEndUser": true,
      "CardComSapakNumber": "string",
      "CompanyNumber": 0
    }

    Was this article helpful?