• Home
  • Merchants
  • Developers
  • Partners
  • Contact
  • Home
  • Merchants
  • Developers
  • Partners
  • Contact
  • Semi-Integration Guide
  • Android SDK Integration
  • Payment Form Specifications
  • Payment Form Quick Start Guide
  • Tokenization
  • Payment Gateway Specifications
  • Transactions Export API
  • Remote Key Injection (RKI)
  • Cloud Connect Specifications
  • Advanced Integration Protocol
  • Bill Presentment API
  • Bill Pay User Guide
  • How to maintain battery in terminal
  • Customers API Specifications
  • Device Setup Guide

Customers API Specifications

102 views 0

1. Introduction

The Customers API is designed for managing customer-related data. It streamlines operations concerning customer profiles, payment details, and recurring transactions. This API allows for efficient execution of tasks such as creating, updating, and retrieving customer information, managing payment methods, and administering recurring payment schedules.

Executing an API Call

Web Service Location

EnvironmentLocation
Test environmenthttps://sandbox.iotgw.cloud/apis/
Production environmenthttps://www.iotgw.cloud/apis/

Customers API Functions

The Customers API is divided into three main functional areas:

  1. Customer Management
  2. Payment Details Management
  3. Recurring & Installment Payments

Customer Management

Manage customer profiles using the following endpoints:

  • Retrieve Customers: GET api/Customers/GetCustomers – Retrieve customers with various filters.
  • Get Customer Information: GET api/Customers/GetCustomerInfo/{id} – Retrieve specific customer details by ID.
  • Add Customer: POST api/Customers – Create a new customer profile.
  • Update Customer: PUT api/Customers/{id} – Modify details of an existing customer.
  • Delete Customer: DELETE api/Customers/{id} – Remove a customer profile.
  • Search Customers: GET api/Customers/GetCustomersBySearchCriteria – Find customers based on specified criteria.

Payment Details Management

Handle customer payment details through these methods:

  • Retrieve Credit Card Details: GET api/PaymentDetails/GetPayments – Fetch credit card information.
  • Get Credit Card Information: GET api/PaymentDetails/GetPaymentInfo/{id} – Retrieve credit card details by ID.
  • Add Credit Card Details: POST api/PaymentDetails – Submit new credit card information.
  • Update Credit Card Details: PUT api/PaymentDetails/{id} – Update existing credit card data.
  • Delete Credit Card Details: DELETE api/PaymentDetails/{id} – Remove credit card information.
  • Retrieve ACH Payment Details: Same endpoints as the credit card with ACH specifics.
  • Get Primary Payment Method: GET api/PaymentDetails/GetPrimary – Identify the primary payment method for a customer.

Recurring & Installment Payments

Manage recurring and installment payments for customers using:

  • Retrieve Transactions: GET api/RecurringTrans/GetRecurringTrans – Access list of recurring or installment transactions.
  • Get Transaction Details: GET api/RecurringTrans/GetRecurringInfo/{id} – Fetch specific transaction details by ID.
  • Add Transaction: POST api/RecurringTrans – Initiate a new recurring or installment transaction.
  • Update Transaction: PUT api/RecurringTrans/{id} – Modify an existing transaction.
  • Delete Transaction: DELETE api/RecurringTrans/{id} – Cancel a recurring or installment transaction.
  • Suspend Transaction: PUT api/RecurringTrans/Suspend?{id} – Suspend a recurring or installment transaction.
  • Resume Transaction: DUTE api/RecurringTrans/Resuem?{id} – Resume a recurring or installment transaction.

2. Common Fields

2.1 Customer Management

The following table contains JSON fields and descriptions related to customer management using Customers API.

NameDescriptionJSON FieldValue
Customer NumberUnique customer identifierCustomerNumberan..50
IDUnique identifier for the customerIdint
Company IDUnique identifier for the companyCompanyIdan..50
Billing First NameFirst name associated with billingBillingFirstNamean..50
Billing Last NameLast name associated with billingBillingLastNamean..50
Billing Company NameCompany name associated with billingBillingCompanyNamean..50
Billing AddressAddress associated with billingBillingAddressan..100
Billing CityCity associated with billingBillingCityan..50
Billing StateState associated with billingBillingStatean..2
Billing Zip CodeZip code associated with billingBillingZipCodean..9
Billing CountryCountry associated with billingBillingCountryan..50
Billing PhonePhone number associated with billingBillingPhonean..50
Billing FaxFax number associated with billingBillingFaxan..50
Billing EmailEmail address associated with billingBillingEmailan..50
Shipping First NameFirst name associated with shippingShippingFirstNamean..50
Shipping Last NameLast name associated with shippingShippingLastNamean..50
Shipping Company NameCompany name associated with shippingShippingCompanyNamean..50
Shipping AddressAddress associated with shippingShippingAddressan..100
Shipping CityCity associated with shippingShippingCityan..50
Shipping StateState associated with shippingShippingStatean..2
Shipping Zip CodeZip code associated with shippingShippingZipCodean..9
Shipping CountryCountry associated with shippingShippingCountryan..50
Shipping PhonePhone number associated with shippingShippingPhonean..50
Shipping FaxFax number associated with shippingShippingFaxan..50
Shipping EmailEmail address associated with shippingShippingEmailan..50

2.2 Payment Details Management

The following table contains JSON fields and descriptions related to payment details management using Customers API.

NameDescriptionJSON FieldValue
Payment TypeIdentifier for the type of paymentPaymentTypeint
Customer IDUnique identifier associated with a customerCustomerIdan..50
IDUnique identifier for the payment recordIdan..50
isPrimaryIndicates if the payment method is primaryisPrimaryint
ExpDateExpiration date of the payment methodExpDatedatetime
AddressBilling address for the payment methodAddressan..50
ZipCodeZip code for the payment methodZipCodean..9
Full NameFull name associated with the payment methodFullNamean..50
Card TypeType of card, if applicableCardTypeint
Account NumberAccount number, if applicableAccountNumberint
DescriptionDescription of the payment methodDescriptionan..50
Card NumberCard number, if applicableCardNumberint
Routing NumberRouting number for bank transactionsRoutingNumberan..50
Account TypeType of bank accountAccountTypeint
Bank NumberBank identification numberBankNumberint

2.3 Recurring & Installment Payments

The following table contains JSON fields and descriptions related to recurring payments and installments using Customers API.

NameDescriptionJSON FieldValue
Recurring IdUnique identifier for recurring transactionsRecurringIdan..50
Customer IDUnique identifier associated with a customerCustomerIdan..20
IdentificationUnique identifier for the transaction or itemIdentificationan..50
Effective DateThe date when the transaction becomes effectiveEffectiveDatedatetime (MM/DD/YY)
FrequencyFrequency of the paymentFrequencyint
Number of PaymentsTotal number of paymentsNumberOfPaymentsint
Payment TypeIdentifier for the type of paymentPaymentTypeint
Payment Info IdUnique identifier for payment informationPaymentInfo_Idan..50
Invoice NumberUnique identifier for the invoiceInvoiceNumberan..50
Plan TypeType of payment plan (1-Recurring, 2- Installment)PlanTypeint
UnlimitedIndicates if the plan has unlimited paymentsUnlimitedboolean (0 or 1)
Recurring AmountAmount for recurring paymentsRecurringAmountfloat
Total AmountTotal amount for installment paymentsTotalAmountfloat
Swipe Fee AmountAmount charged as a service feeSwipeFeeAmountfloat
Swipe Fee LabelLabel for the service feeSwipeFeeLabelan..20
Customer NumberSecondary identifier for a customerCustomerNumberan..20
Full NameFull name of the customerFullNamean..50
Billing Company NameName of the billing companyBillingCompanyNamean..50
Remaining Number of PaymentsNumber of remaining paymentsRemainingNumberOfPaymentsint
AmountAmount for the paymentAmountfloat
Date CreatedThe date when the record was createdDateCreateddatetime (MM/DD/YY)

2.4 Additional filters

NameDescriptionJSON FieldValue
Customer NumberUnique identifier for the customerCustomerNumberan..50
Phone NumberContact phone number of the customerPhoneNumberint
EmailEmail address of the customerEmailan..50
Company NameName of the companyCompanyNamean..50
First NameFirst name of the customerFirstNamean..50
Last NameLast name of the customerLastNamean..50
Company IDUnique identifier for the companyCompanyIdan..50
Sort ExpressionField to sort the results bySortExpressionan..20
Sort DirectionDirection of sorting (ASC or DESC)SortDirectionan..20
Page NumberPage number for paginationPageNumberint
Payment TypeType of payment (e.g., credit, debit)PaymentTypeint
Customer IDUnique customer identifierCustomerIdint
Search CriteriaCriteria used for searchingSearchCriteriaan..50

3. Postman Collection

Explore our comprehensive Postman Collection for the Customers API, featuring an extensive selection of requests along with successful responses.

Appendix A – Communicate with Customer API

Gateway Test Environment:

URL: https://sandbox.hipfinity.co

Gateway Production Environment:

URL: https://connect.hipfinity.co

Processing your requests with Customers API®:

Path: /apis/api/

Authentication

To authenticate requests with the Customers API, you must use Basic Authentication. This method involves using Client Key and Client Secret respectively as the username and password fields respectively.

SpecificationDescriptionExample/Format
Authentication TypeMethod used for API authentication.Basic Authentication
UsernameIdentifier for the API user.Client Key
PasswordSecret used for verifying identity.Client Secret

Retrieve Your Credentials

Before you can authenticate, you need to obtain your Client Key and Client Secret, which serve as your API credentials. For detailed instructions on how to retrieve these credentials, please refer to How to Retrieve Client Key and Client Secret.

Note: For Sample Code to process your requests with the Customer Test environment, please see Appendix B.

Appendix B – Sample Customer API Requests and Responses

The following are the samples for requests formatted using the JSON-based Customer Test environment. To customize your information, refer to the specification’s details in the Common Fields section.

Sending an HTTP Request

Get Customers

Request

CustomerNumber:0001
PhoneNumber:
Email:
CompanyName:
FirstName:
LastName:
CompanyId:
SortExpression:CustomerNumber
SortDirection:ASC

Response

[
    {
        "Id": "CFB11B68B3EE0C30C1EF7E590251D918",
        "CustomerNumber": "0001000",
        "BillingFirstName": "",
        "BillingLastName": "",
        "BillingCompanyName": "",
        "BillingAddress": "",
        "BillingCity": "",
        "BillingState": "",
        "BillingZipCode": "",
        "BillingCountry": "",
        "BillingPhone": "",
        "BillingFax": "",
        "BillingEmail": "",
        "ShippingFirstName": "",
        "ShippingLastName": "",
        "ShippingCompanyName": "",
        "ShippingAddress": "",
        "ShippingCity": "",
        "ShippingState": "",
        "ShippingZipCode": "",
        "ShippingCountry": "",
        "ShippingPhone": "",
        "ShippingFax": "",
        "ShippingEmail": "",
        "DateTime": "6/18/2020 4:43:18 PM",
        "CompanyId": 27680,
        "AccountType": 1
    },
    {
        "Id": "8FE1820E8859262D532AD5AE3A903779",
        "CustomerNumber": "201030001055101",
        "BillingFirstName": "",
        "BillingLastName": "",
        "BillingCompanyName": "",
        "BillingAddress": "",
        "BillingCity": "",
        "BillingState": "",
        "BillingZipCode": "",
        "BillingCountry": "",
        "BillingPhone": "",
        "BillingFax": "",
        "BillingEmail": "",
        "ShippingFirstName": "",
        "ShippingLastName": "",
        "ShippingCompanyName": "",
        "ShippingAddress": "",
        "ShippingCity": "",
        "ShippingState": "",
        "ShippingZipCode": "",
        "ShippingCountry": "",
        "ShippingPhone": "",
        "ShippingFax": "",
        "ShippingEmail": "",
        "DateTime": "10/29/2020 8:10:55 PM",
        "CompanyId": 27680,
        "AccountType": 1
    },
    {
        "Id": "95522A200AC7AD2334336BBFB9646B74",
        "CustomerNumber": "201030001241346",
        "BillingFirstName": "",
        "BillingLastName": "",
        "BillingCompanyName": "",
        "BillingAddress": "",
        "BillingCity": "",
        "BillingState": "",
        "BillingZipCode": "",
        "BillingCountry": "",
        "BillingPhone": "",
        "BillingFax": "",
        "BillingEmail": "",
        "ShippingFirstName": "",
        "ShippingLastName": "",
        "ShippingCompanyName": "",
        "ShippingAddress": "",
        "ShippingCity": "",
        "ShippingState": "",
        "ShippingZipCode": "",
        "ShippingCountry": "",
        "ShippingPhone": "",
        "ShippingFax": "",
        "ShippingEmail": "",
        "DateTime": "10/29/2020 8:12:41 PM",
        "CompanyId": 27680,
        "AccountType": 1
    }
]

Get Customer Info by ID

Request

Id:3F6D23E473FD96798587868EA937ABF0

Response

{
    "Id": null,
    "CustomerNumber": "Kanishk",
    "BillingFirstName": "Kanishk",
    "BillingLastName": "Singh",
    "BillingCompanyName": "",
    "BillingAddress": "",
    "BillingCity": "",
    "BillingState": "",
    "BillingZipCode": "",
    "BillingCountry": "",
    "BillingPhone": "",
    "BillingFax": "",
    "BillingEmail": "ksingh@hipfinity.co",
    "ShippingFirstName": "Kanishk",
    "ShippingLastName": "Singh",
    "ShippingCompanyName": "",
    "ShippingAddress": "",
    "ShippingCity": "",
    "ShippingState": "",
    "ShippingZipCode": "",
    "ShippingCountry": "",
    "ShippingPhone": "",
    "ShippingFax": "",
    "ShippingEmail": "ksingh@hipfinity.co",
    "DateTime": null,
    "CompanyId": 0,
    "AccountType": 0
}

Add Customer

Request

{
  "CustomerNumber": "Kanishk",
  "BillingFirstName": "Kanishk",
  "BillingLastName": "Singh",
  "BillingCompanyName": "",
  "BillingAddress": "",
  "BillingCity": "",
  "BillingState": "",
  "BillingZipCode": "",
  "BillingCountry": "",
  "BillingPhone": "",
  "BillingFax": "",
  "BillingEmail": "ksingh@hipfinity.co",
  "ShippingFirstName": "Kanishk",
  "ShippingLastName": "Singh",
  "ShippingCompanyName": "",
  "ShippingAddress": "",
  "ShippingCity": "",
  "ShippingState": "",
  "ShippingZipCode": "",
  "ShippingCountry": "",
  "ShippingPhone": "",
  "ShippingFax": "",
  "ShippingEmail": "ksingh@hipfinity.co"
}

Response

{
    "StatusCode": 200,
    "StatusText": "3F6D23E473FD96798587868EA937ABF0"
}

Update Customer

Request

{
  "Id": "76B6DF0AD4E4F40C9DFF8C117D41D4BF",
  "CustomerNumber": "rasheed",
  "BillingFirstName": "Rasheed",
  "BillingLastName": "Almuslimani",
  "BillingCompanyName": "Company",
  "BillingAddress": "",
  "BillingCity": "",
  "BillingState": "",
  "BillingZipCode": "",
  "BillingCountry": "",
  "BillingPhone": "",
  "BillingFax": "",
  "BillingEmail": "rasheed@osgpro.com",
  "ShippingFirstName": "",
  "ShippingLastName": "",
  "ShippingCompanyName": "",
  "ShippingAddress": "",
  "ShippingCity": "",
  "ShippingState": "",
  "ShippingZipCode": "",
  "ShippingCountry": "",
  "ShippingPhone": "",
  "ShippingFax": "",
  "ShippingEmail": "TestMail@gmail.com"
}

Response

{
    "StatusCode": 200,
    "StatusText": "OK"
}

Delete Customer

Request

Id:343F360F6BDF41CFF9A04F72E436FD03

Response

{
    "StatusCode": 200,
    "StatusText": "OK"
}

Get Customer Credit Card Details

Request

PaymentType:2
CustomerId:3F6D23E473FD96798587868EA937ABF0
PageSize:
PageNumber:

Response

[
    {
        "Id": "021AB5BCF68FD10FA6A2E7EB973A672F",
        "CompanyId": null,
        "CustomerId": "3F6D23E473FD96798587868EA937ABF0",
        "isPrimary": false,
        "ExpDate": "1225",
        "Address": "Adress1",
        "ZipCode": "12547",
        "FullName": "Thami Smires",
        "RoutingNumber": null,
        "AccountType": null,
        "AccountNumber": null,
        "Description": "Desc12",
        "PaymentType": null,
        "CardNumber": "400300xxxx6781"
    }
]

Get Customer Credit Card Details by ID

Request

PaymentType:2
Id:3FE6D05F2B397E928B013F04835257D8

Response

{
    "CustomerId": "0C1495FA0D25E554B21FABBC09BE07C8",
    "CardNumber": "549999xxxx6781",
    "ExpDate": "1126",
    "Description": "Desc12",
    "FullName": "CustomerFullName",
    "Address": "Adress1",
    "ZipCode": "12547",
    "isPrimary": false
}

Add Customer Credit Card Details

Request

{
  "isPrimary": false,
  "ExpDate": "1225",
  "Address": "Adress1",
  "ZipCode": "12547",
  "FullName": "Thami Smires",
  "CardType": null,
  "Description": "Desc12",
  "CustomerId": "3F6D23E473FD96798587868EA937ABF0",
  "PaymentType": "2",
  "CardNumber": "4003000123456781"
}

Response

{
    "StatusCode": 200,
    "StatusText": "021AB5BCF68FD10FA6A2E7EB973A672F"
}

Update Customer Credit Card Details

Request

{
  "isPrimary": false,
  "ExpDate": "1126",
  "Address": "Adress1",
  "ZipCode": "12547",
  "FullName": "CustomerFullName",
  "Id" : "8EB0FF860147A34DF26C96293B5AC7B1",
  "CardType": null,
  "AccountNumber": null,
  "Description": "Desc12",
  "CustomerId": "76B6DF0AD4E4F40C9DFF8C117D41D4BF",
  "PaymentType": "2",
  "CardNumber": "5499990123456781"
}

Response

{
    "StatusCode": 200,
    "StatusText": "OK"
}

Delete Customer Credit Card Details

Request

Id:4091C15398B6A4696E87ED8CDE3DE309

Response

{
    "StatusCode": 200,
    "StatusText": "Payment Method Deleted successfully!"
}

Get Customer ACH Details

Request

PaymentType:3
CustomerId:3F6D23E473FD96798587868EA937ABF0
PageSize:
PageNumber:

Response

[
    {
        "Id": "7F563A42860520DAD8DB1F5013F2A090",
        "CompanyId": null,
        "CustomerId": "3F6D23E473FD96798587868EA937ABF0",
        "isPrimary": true,
        "ExpDate": null,
        "Address": null,
        "ZipCode": null,
        "FullName": "Kanishk Singh",
        "RoutingNumber": "xxxx4789",
        "AccountType": "0",
        "AccountNumber": "xxxx3456",
        "Description": "Desc2341",
        "PaymentType": null,
        "CardNumber": null
    }
]

Get Customer ACH Details by ID

Request

PaymentType:3
Id:D3F3921D633BAEE29BC6E691ACDC2C52

Response

{
    "CustomerId": "0C1495FA0D25E554B21FABBC09BE07C8",
    "RoutingNumber": "xxxx4788",
    "AccountNumber": "xxxx8742",
    "Description": "Desc2341",
    "FullName": "Chandrakanth",
    "AccountType": "0",
    "isPrimary": false
}

Add Customer ACH Details

Request

{
  "RoutingNumber": "123654789",
  "AccountNumber": "123456",
  "AccountType": "0",
  "BankNumber": "963258741",
  "isPrimary": true,
  "FullName": "Kanishk Singh",
  "Description": "Desc2341",
  "CustomerId": "3F6D23E473FD96798587868EA937ABF0",
  "PaymentType": "3"
}

Response

{
    "StatusCode": 200,
    "StatusText": "7F563A42860520DAD8DB1F5013F2A090"
}

Update Customer ACH Details

Request

{
  "RoutingNumber": "123654789",
  "AccountNumber": "123456",
  "AccountType": "0",
  "BankNumber": "963258741",
  "isPrimary": true,
  "FullName": "Kanishk Singh",
  "Description": "Desc2341",
  "CustomerId": "3F6D23E473FD96798587868EA937ABF0",
  "PaymentType": "3",
  "Id" : "7F563A42860520DAD8DB1F5013F2A090"
}

Response

{
    "StatusCode": 200,
    "StatusText": "OK"
}

Delete Customer ACH Details

Request

Id:19B85DED3EEAA6B4CAADCF3A04F7F33F

Response

{
    "StatusCode": 200,
    "StatusText": "Payment Method Deleted successfully!"
}

Get Recurring or Installments

Request

EffectiveDate:
DateCreated:
Frequency:-1
CustomerNumber:12365488
CompanyName:
IdentificationNum:
Amount:
CardNumber:
InvoiceNumber:
Active:-1
Status:-1
SortExpression:
SortDirection:DESC
PageSize:
PageNumber:

Response

[
    {
        "RecurringID": "1B81182C8F92195177D03F37F2D474DD",
        "CustomerNumber": "12365488",
        "FullName": "CustomerFullName",
        "BillingCompanyName": "Hipfinity",
        "Identification": "DEFLT.27680.0004",
        "PaymentInfo_Id": "3FE6D05F2B397E928B013F04835257D8",
        "InvoiceNumber": "8521479",
        "PlanType": "1",
        "EffectiveDate": "2/28/2024 12:00:00 AM",
        "Frequency": "3",
        "NumberOfPayments": "6",
        "RemainingNumberOfPayments": "6",
        "PaymentType": "2",
        "SwipeFeeAmount": "0.01",
        "SwipeFeeLabel": "Service Fee",
        "Amount": "0.11",
        "Unlimited": "0",
        "DateCreated": "2/25/2024 2:56:40 AM"
    },
    {
        "RecurringID": "C851B9A8388A3998B8DDF2DC45C30DD8",
        "CustomerNumber": "12365488",
        "FullName": "CustomerFullName",
        "BillingCompanyName": "Hipfinity",
        "Identification": "DEFLT.27680.0004",
        "PaymentInfo_Id": "3FE6D05F2B397E928B013F04835257D8",
        "InvoiceNumber": "8547963",
        "PlanType": "2",
        "EffectiveDate": "2/28/2024 12:00:00 AM",
        "Frequency": "3",
        "NumberOfPayments": "6",
        "RemainingNumberOfPayments": "6",
        "PaymentType": "3",
        "SwipeFeeAmount": "0.17",
        "SwipeFeeLabel": "Service Fee",
        "Amount": "16.84",
        "Unlimited": "0",
        "DateCreated": "2/25/2024 2:54:07 AM"
    },
    {
        "RecurringID": "4EDF8E7A11D6E041DEF9E609FE14C9E2",
        "CustomerNumber": "12365488",
        "FullName": "CustomerFullName",
        "BillingCompanyName": "Hipfinity",
        "Identification": "DEFLT.27680.0004",
        "PaymentInfo_Id": "3FE6D05F2B397E928B013F04835257D8",
        "InvoiceNumber": "8521479",
        "PlanType": "1",
        "EffectiveDate": "12/30/2023 12:00:00 AM",
        "Frequency": "3",
        "NumberOfPayments": "7",
        "RemainingNumberOfPayments": "1",
        "PaymentType": "2",
        "SwipeFeeAmount": "0.05",
        "SwipeFeeLabel": "Service Fee",
        "Amount": "0.2",
        "Unlimited": "0",
        "DateCreated": "12/20/2023 4:37:37 PM"
    },
    {
        "RecurringID": "FB4F1EFF52216C7014111BE7B493588F",
        "CustomerNumber": "12365488",
        "FullName": "CustomerFullName",
        "BillingCompanyName": "Hipfinity",
        "Identification": "DEFLT.27680.0004",
        "PaymentInfo_Id": "3FE6D05F2B397E928B013F04835257D8",
        "InvoiceNumber": "8521479",
        "PlanType": "1",
        "EffectiveDate": "12/30/2023 12:00:00 AM",
        "Frequency": "3",
        "NumberOfPayments": "6",
        "RemainingNumberOfPayments": "4",
        "PaymentType": "2",
        "SwipeFeeAmount": "0.03",
        "SwipeFeeLabel": "Service Fee",
        "Amount": "0.18",
        "Unlimited": "0",
        "DateCreated": "12/20/2023 4:22:26 PM"
    },
    {
        "RecurringID": "37E9648B964C7412CB489BF5058EA9A8",
        "CustomerNumber": "12365488",
        "FullName": "CustomerFullName",
        "BillingCompanyName": "Hipfinity",
        "Identification": "DEFLT.27680.0004",
        "PaymentInfo_Id": "3FE6D05F2B397E928B013F04835257D8",
        "InvoiceNumber": "8547963",
        "PlanType": "2",
        "EffectiveDate": "12/28/2023 12:00:00 AM",
        "Frequency": "3",
        "NumberOfPayments": "6",
        "RemainingNumberOfPayments": "6",
        "PaymentType": "3",
        "SwipeFeeAmount": "0.25",
        "SwipeFeeLabel": "Service Fee",
        "Amount": "2.25",
        "Unlimited": "0",
        "DateCreated": "12/20/2023 4:20:21 PM"
    },
    {
        "RecurringID": "7D57F21A1B732AD0A652959B8CEBFF3E",
        "CustomerNumber": "12365488",
        "FullName": "CustomerFullName",
        "BillingCompanyName": "Hipfinity",
        "Identification": "DEFLT.27680.0004",
        "PaymentInfo_Id": "3FE6D05F2B397E928B013F04835257D8",
        "InvoiceNumber": "8547963",
        "PlanType": "2",
        "EffectiveDate": "12/28/2023 12:00:00 AM",
        "Frequency": "3",
        "NumberOfPayments": "6",
        "RemainingNumberOfPayments": "6",
        "PaymentType": "3",
        "SwipeFeeAmount": "0.21",
        "SwipeFeeLabel": "Service Fee",
        "Amount": "1.88",
        "Unlimited": "0",
        "DateCreated": "12/20/2023 1:16:12 PM"
    },
    {
        "RecurringID": "0D05D73A477AC505733193B0DF6AAF3E",
        "CustomerNumber": "12365488",
        "FullName": "CustomerFullName",
        "BillingCompanyName": "Hipfinity",
        "Identification": "DEFLT.27680.0004",
        "PaymentInfo_Id": "3FE6D05F2B397E928B013F04835257D8",
        "InvoiceNumber": "8521479",
        "PlanType": "1",
        "EffectiveDate": "12/30/2023 12:00:00 AM",
        "Frequency": "3",
        "NumberOfPayments": "6",
        "RemainingNumberOfPayments": "6",
        "PaymentType": "2",
        "SwipeFeeAmount": "0.02",
        "SwipeFeeLabel": "Service Fee",
        "Amount": "0.13",
        "Unlimited": "0",
        "DateCreated": "12/20/2023 1:08:04 PM"
    }
]

Get Recurring or Installments by ID

Request

Id:7D57F21A1B732AD0A652959B8CEBFF3E

Response

{
    "RecurringID": "7D57F21A1B732AD0A652959B8CEBFF3E",
    "CustomerNumber": "12365488",
    "Identification": "DEFLT.27680.0004",
    "PaymentInfo_Id": "3FE6D05F2B397E928B013F04835257D8",
    "InvoiceNumber": "8547963",
    "PlanType": "2",
    "EffectiveDate": "12/28/2023 12:00:00 AM",
    "Frequency": "3",
    "NumberOfPayments": "6",
    "RemainingNumberOfPayments": "6",
    "PaymentType": "3",
    "SwipeFeeAmount": "0.21",
    "SwipeFeeLabel": "Service Fee",
    "Amount": "1.88",
    "Unlimited": "0",
    "DateCreated": "12/20/2023 1:16:12 PM"
}

Add Recurring

Request

{
  "CustomerId": "0C1495FA0D25E554B21FABBC09BE07C8",
  "Identification": "DEFLT.27680.0004",
  "EffectiveDate": "2/28/24",
  "Frequency": "3",
  "NumberOfPayments": "6",
  "PaymentType": "2",
  "PaymentInfo_Id": "3FE6D05F2B397E928B013F04835257D8",
  "InvoiceNumber": "8521479",
  "PlanType": "1", //(1-Recurring, 2- Installment)
  "Unlimited": "0",
  "RecurringAmount": "0.10",
  "SwipeFeeAmount":"0.01",
  "SwipeFeeLabel":"Service Fee"
}

Response

{
    "StatusCode": 200,
    "StatusText": "1B81182C8F92195177D03F37F2D474DD"
}

Update Recurring

Request

{
  "CustomerId": "0C1495FA0D25E554B21FABBC09BE07C8",
  "Identification": "DEFLT.27680.0004",
  "EffectiveDate": "12/30/23",
  "Frequency": "3",
  "NumberOfPayments": "6",
  "PaymentType": "2",
  "PaymentInfo_Id": "3FE6D05F2B397E928B013F04835257D8",
  "InvoiceNumber": "8521479",
  "PlanType": "1", //(1-Recurring, 2- Installment)
  "Unlimited": "0",
  "RecurringAmount": "0.11",
  "SwipeFeeAmount":"0.02",
  "SwipeFeeLabel":"Service Fee",
  "RecurringId": "0D05D73A477AC505733193B0DF6AAF3E"
}

Response

{
    "StatusCode": 200,
    "StatusText": "0D05D73A477AC505733193B0DF6AAF3E"
}

Suspend Recurring

Request: PUT api/RecurringTrans/Suspend?{id}

Id:DF2C8DFA9FF340007631AFA2569F819A

Response

{
    "StatusCode": 200,
    "StatusText": "OK"
}

Resume Recurring

Request: PUT api/RecurringTrans/Resume?{id}

Id:DF2C8DFA9FF340007631AFA2569F819A

Response

{
    "StatusCode": 200,
    "StatusText": "OK"
}

Add Installment

Request

{
  "CustomerId": "0C1495FA0D25E554B21FABBC09BE07C8",
  "Identification": "DEFLT.27680.0004",
  "EffectiveDate": "2/28/24",
  "Frequency": "3",
  "NumberOfPayments": "6",
  "PaymentType": "3",
  "PaymentInfo_Id": "3FE6D05F2B397E928B013F04835257D8",
  "InvoiceNumber": "8547963",
  "PlanType": "2", //(1-Recurring, 2- Installment)
  "TotalAmount": "100.00",
  "SwipeFeeAmount": "0.17",
  "SwipeFeeLabel":"Service Fee"
}

Response

{
    "StatusCode": 200,
    "StatusText": "C851B9A8388A3998B8DDF2DC45C30DD8"
}

Update Installment

Request

{
  "CustomerId": "0C1495FA0D25E554B21FABBC09BE07C8",
  "Identification": "DEFLT.27680.0004",
  "EffectiveDate": "12/28/23",
  "Frequency": "3",
  "NumberOfPayments": "6",
  "PaymentType": "3",
  "PaymentInfo_Id": "3FE6D05F2B397E928B013F04835257D8",
  "InvoiceNumber": "8547963",
  "PlanType": "2", //(1-Recurring, 2- Installment)
  "TotalAmount": "10.00",
  "SwipeFeeAmount": "0.21",
  "SwipeFeeLabel":"Service Fee",
  "RecurringId": "7D57F21A1B732AD0A652959B8CEBFF3E"
}

Response

{
    "StatusCode": 200,
    "StatusText": "7D57F21A1B732AD0A652959B8CEBFF3E"
}

Delete Recurring or Installment

Request

Id:C2EFC385CCEBBE44876DBFDB45FC47DC

Response

{
    "StatusCode": 200,
    "StatusText": "OK"
}

Get Customer by Search Criteria

Request

SearchCriteria:12365489

Response

[
    {
        "Id": "1DAE18DF426C3EEC3C6D816489F08A9B",
        "CustomerNumber": "12365489",
        "BillingCompanyName": "Hipfinity",
        "BillingFirstName": "ChanduFirstName",
        "BillingLastName": "ChanduLastName"
    }
]

Get Primary

Request

CustomerId:3F6D23E473FD96798587868EA937ABF0
PaymentType:3

Response

"7F563A42860520DAD8DB1F5013F2A090"

Was this helpful?

Yes  No
Previously
How to maintain battery in terminal
Up Next
Device Setup Guide

  • Terms of Use
  • Copyright 2024 Hipfinity. All Rights Reserved