API Overview

Sections

Theme switcher

API Overview

PayGuardian Cloud (Card Present Solutions)

PayGuardian Cloud makes payments weightless with no local software install! A true omni-channel solution for a merchant looking to solve for counter top or wireless devices, PCs or tablets, IOS or Android — it's all in our cloud solution. PG Cloud is highly scalable and allows the end user to view and manage all devices across multiple locations via our online portal.

PayGuardian Cloud is Rectangle's web-based hosted service used to interact with EMV devices for securely processing transactions with your Point of Sale. The RESTful API allows for easy interactiosn via simple JSON requests.

Highlights include:

  • Hosted web services gives you the ability to POST a transaction request to any terminal at any location
  • Automated network discovery establishes and maintains a persistent connection to the gateway
  • Multiple registers and credit card terminals can be used simultaneously
  • Automates updates-no software installation necessary
  • PA-DSS compliant & TLS 1.2
  • No access to sensitive card data

Transaction API

The Rectangle Health Transaction API is a RESTful API for interfacing with the Rectangle Health Gateway. The API includes familiar transaction types from the BridgeComm API in a user friendly JSON interface.

Rectangle Health's Transaction API can be used to process Card Not Present transactions. This API works in conjunction with both TokenPay.js and PayGuardian Cloud.

TokenPay.js

TokenPay.js maximizes the user experience by allowing for the capture of sensitive card data within the payment form on the merchant's website. The consumer remains on the merchant's payment page at all times.

TokenPay.js is an integration interface for the Payment Gateway that primarily facilitates online card payments in a manner that ensures that no sensitive card data ever needs to reach your servers so your integration can operate in a PCI compliant way.

To ensure that merchants are eligible for the simplest PCI validation method, Self-Assessment Questionnaire (SAQ A)*, TokenPay.js utilizes:

  • Isolation — Payment Gateway hosts the card sensitive data input fields. The fields are injected into your form as an HTML iframe thus isolating your page and your server from card sensitive data.
  • Tokenization — in order to execute transactions against the user's card, TokenPay.js tokenizes the card sensitive data. The card token is generated via the user of the TokenPay.js JavaScript library and your payment form.
  • Segregation — Requests for charges against the user's card are made server-to-server not in the browser where it is publicly visible. The tokenized card data is submitted to your server where a secure server-to-server request is made to execute the transaction.
  • Public/Private Keys — The injection of the TokenPay.js hosted input fields and card tokenization is authenticated via a public key assigned to the merchant. API requests to execute charges against the tokenized card information are made by the backend server and are authenticated with a private key assigned to the merchant.

Wallet API

The Wallet API securely stores and manages customers' payment information, including credit card details and bank account numbers. It employs tokenization to replace sensitive data with unique tokens, facilitating secure transactions without exposing actual payment details.

Businesses can create customer profiles (customer wallets), enabling seamless checkout experiences and recurring billing. The API ensures compliance with PCI DSS while streamlining payment processing and providing a secure way to store sensitive payment details.

Transaction Reporting API

The Transaction Reporting API allows a technology partner to offer their users the ability access transaction data for reporting purposes. This API enables providers to extract valuable insights from their data by retrieving their transaction history.

Credentials Management API

The Credentials Management API provides a secure and streamlined interface for creating, retrieving, and managing user and TokenPay credentials. This API enables technology partners to manage authentication credentials required for accessing resources and services.

Whether you're onboarding new users, managing secure token-based accesss via TokenPay, or maintaining credential lifecycles, the Credential Management API offers a robust and scalable solution.

Was this section helpful?

What made this section unhelpful for you?

User Guide

The User Guide section provides comprehensive instructions and guidelines for effectively utilizing the APIs within the project. Users can learn how to navigate the API's functionalities, understand its various features, and optimize their integration process for seamless operations. This section serves as a valuable resource for developers seeking clarity and guidance on leveraging the APIs to its full potential.

Transaction API

Introduction


The TransactionAPI is a RESTful API for interfacing with the Gateway. The API includes familiar transaction types from the BridgeComm API in a user friendly JSON interface.

Key Elements


The Transaction API request and response structure is made up of a core set of data elements plus specific objects and their sub-elements. Each object handles a subsection of API data elements like payment data, Healthcare, or Level II/III information elements. The core data elements are within the main request body and will include basic information like accountType, holderType, and transactionType.

A list of all required and optional data elements can be found in each section.

In the live environment, transactions must be initiated over an SSL-protected connection using a minimum of 128-bit encryption to protect sensitive data. Initial testing can be performed over an unencrypted connection; however, testing must be performed over an SSL-encrypted channel before a client can be certified to production. Only test card/ACH account data may be transmitted. No live payment information should ever be transmitted to the test system.

Timeouts


The Transaction API has an internal timeout of 100 seconds. Integrating applications can expect all transactions to take less than 100 seconds, and if 100 seconds are exceeded without a response from the Transaction API, you may close your connection. If a transaction as attempted leveraging an invoiceNumber, you may use a Find Transaction request using your unique invoiceNumber to confirm the outcome of the transaction.

Authentication Information


Each call to the Transaction API requires credentials; however, these credentials are not submitted in the request body. The username and password are values created in MyBridgePay, and they will be submitted in the request headers as Basic HTTP authentication.

The Credentials object is used as a property of other objects in the API. The Credentials Object contains two properties: username and password.

Base URL

Sandbox:

https://services-sandbox.rectanglehealth.com

Production:

https://services.rectanglehealth.com

Card Not Present - TokenPay.js

Overview


The TokenPay.js provides users to securely collect card information and execute transaction in a PCI compliant manner. The base integration solutions for TokenPay.js include:

  • TransactionAPI - a web services API for payment processing. The use of Transaction API (without TokenPay.js) for payment capture places 100% of PCI Compliance responsibility on the Customer's integration
  • TokenPay.js - is an extension of the Transaction API that combines client-side and server-side technologies for PCI-compliant online payment capture.

TokenPay.js maximizes the user experience by allowing for the capture of sensitive card data within the payment form on the merchant's website. The consumer remains on the merchant's payment page at all times. The payment ‘token’ is only valid for use within 15 minutes of being generated or until used for the Transaction API transaction.

TokenPay.js is an integration interface for the Payment Gateway that primarily facilitates online card payments in a manner that ensures that no sensitive card data ever needs to reach your servers so your integration can operate in a PCI compliant way.

To ensure that merchants are eligible for the simplest PCI validation method, Self-Assessment Questionnaire (SAQ A)*, TokenPay.js utilizes:

  • Isolation - Payment Gateway hosts the card sensitive data input fields. The fields are injected into your form as an HTML iframe thus isolating your page and your server from card sensitive data.
  • Tokenization - in order to execute transactions against the user's card, TokenPay.js tokenizes the card sensitive data. The card token is generated via the use of the TokenPay.js JavaScript library and your payment form.
  • Public/Private Keys - The injection of the TokenPay.js hosted input fields and card tokenization is authenticated via a public key assigned to the merchant. API requests to execute charges against the tokenized card information are made by the backend server and are authenticated with a private key assigned to the merchant.
  • If you are processing more than six million transactions per year, you are not eligible to use a SAQ to prove PCI compliance. Payment brands require you to complete a Report on Compliance (RoC) to validate your PCI compliance annually.

Authentication


TokenPay.js transactions will not use Basic Authorization like other transaction types in the Transaction API. To authenticate a TokenPay.js transaction, Basic Authorization must be disabled and an Authorization header must be included.

The Authorization header value is a combination of a static text value (TokenPay) and a base64 encoded combination of the AuthenticationTokenID and the TokenPay.js PrivateKey separated by a colon (:). Examples of how this is achieved are provided in this collection, and the process for compiling is exemplified in the pre-request script for these examples.

Below is an example of the raw and Base64 encoded values:

  • RAW: TokenPay f5021ddf-afe1-4db6-961c-a65185e79d13:TtXNMYZUXRSZWfw4
  • Base64: TokenPay ZjUwMjFkZGYtYWZIMS00ZGI2LTk2MWMtYTY1MTg1ZTc5ZDEzOIR0WE5NWVpVWFJTWIdmdzQ=

Client Side


TokenPay.js is the JavaScript library for building payment flows within the Payment Gateway. With it you can collect card sensitive data from the user and create payment tokens for securely sending the data to your server in a PCI compliant manner.

TokenPay.js provides a ready-made UI component for collecting the card sensitive data from the user. TokenPay.js then tokenizes the information without ever having to touch your server.

The TokenPay.js UI component includes:

  • Automatically format card information as it is entered
  • Validation of card information as it is entered
  • Responsive Design that works on user's screen or mobile device
  • Customizable styling to match your look and feel

Payment Form Submission Best Practices


When implementing payment forms, it is recommended that the integrator utilize reCAPTCHA. reCAPTCHA protects payment forms from SPAM and bot abuse. Using reCAPTCHA on your payment forms reduces the risk of fraudulent transactions on the merchant's eCommerce sites by performing a Completely Automated Public Turing Test to Tell Computers and Humans Apart (CAPTCHA) test to tell humans and bots apart.

For more information on reducing form SPAM and bot abuse visit: https://developers.google.com/recaptcha/intro

Public and Private Keys


When a Payment Gateway Merchant using the Transaction API wants to utilize TokenPay.js for online transactions, a public/private key pair is assigned to the merchant for use with TokenPay.js. The public/private key is tied to a merchant account and merchant account code combination.

The public key is utilized by the TokenPay.js JavaScript library on your payment web page and is publicly visible, but this key only allows for the injection of the Payment Gateway hosted input fields. This key cannot be used to execute transactions against the user's card.

The private key MUST be secured and never shared. The combination of the TokenPay.js generated card payment token and private key allows for charges to be made against the associated user's card.

HTTP Requirements


All submission of payment information using TokenPay.js is made via a secure HTTPS connection. To protect yourself from man-in-the-middle attacks and to prevent your users from experiencing mixed content warnings in their browser, you MUST server the page with your payment form over HTTPS.

The URL of the page containing TokenPay.js MUST begin with https://

< Test URL >

https://rhuat.bridgepaynetsecuretest.com/WebSecurity/TokenPay/plain-js/tokenPay.js

< Production URL >

https://api.rectanglehealth.com/WebSecurity/TokenPay/plain-js/tokenPay.js

Step 1: Setting Up TokenPay.js

To get started, include this script on your page (sample code is using the Test URL):

HTML
<html>
<head>
   <title>Payment</title>
   <script type="text/javascript" src="https://www.bridgepaynetsecuretest.com/WebSecurity/TokenPay/plain-js/tokenpay.js"></script>
   <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css" integrity="sha384-BVYiiSIFeK1dGmJRAkycuHAHRg32OmUcww7on3RYdg4Va+PmSTsz/K68vbdEjh4u" crossorigin="annoymous">
   <style>
       #amount {
           width: 75px;
       }
   </style>
</head>

Step 2: Create Your Payment Form

To securely collect card sensitive details from your users, TokenPay.js creates UI components for you that are hosted by gateway. They are then inserted into your payment form.

To determine where to insert the UI components, create empty DOM elements with unique IDs within your payment form. If you want to modify and customize the style of the card entry area, create a hidden element to contain your styling. The id of this element MUST be ‘customStyles’.

HTML
<body>
<form id="paymentForm" action="rhuat.bridgepaynetsecuretest.com/WebSecurity/echo.aspx" method="post" style="margin: 10px">
    <select class="form-control" name="amount" id="amount" style="width:100px;">
         <option value="25">$25</option>
         <option value="50">$50</option>
    </select>
    <div id="card" style="border: solid 1px red; min=height: 200px; width: 470px; padding: 20px 10px; border-radius: 10px; margin: 10px 0px;"></div>
    <div id="errorMessage" style="margin-bottom: 10px; color: #c0392b;"></div>
    <button type="submit" class="btn btn-default">Submit</button>
</form>

When the form is loaded, initialize the Pay element:

  • Replace the phrase your-public-key, shown below, with your publishable public key tied to your merchant account and merchant account codes.
  • To display ACH instead of credit card fields set ‘eACH’ to ‘true’.
  • To disable zip code field (prevent zip code field from displaying) set ‘disableCVV’ to ‘true’
HTML
<script>
   var tokenpay = TokenPay('tokenpay22725api20250527120554796');
   tokenpay.initialize({
        dataElement: ‘card’,
        errorElement: ‘errorMessage’,
        amountElement: ‘amount’,
        useACH: false,
        useStyles: false,
        disableZip: false,
        disableCvv: false
    });

The TokenPay element simplifies the form and minimizes the fields required by inserting a single input field that securely collects all needed card data.

If you have created the customStyles element to style the card entry area, change the value of ‘useStyles’ to ‘true’.

Step 3: Submit the Token

The card data collected by the TokenPay element returns a payment token to be used with the private key for the transaction request to the Transaction API. If there are any errors in the collection of the card data or creation of the payment token, information is automatically displayed in the ‘errorElement’ of your payment form.

HTML
var form =
document.getElementById
('paymentForm);

form.addEventListener
('submit', function(event) {
        event.preventDefault();
        tokenpay.createToken(function (result) {
            var hiddenInput = document.createElement('input');
            hiddenInput.setAttribute('type', ‘hidden’);
            hiddenInput.setAttribute('name', ‘token’);
            hiddenInput.setAttribute('value', result.token);
            form.appendChild(hiddenInput);
            form.submit();
        }, function (result) {
            console.log("error: " + result);
        });
    });
</script>
</body>
</html>

Server Side


Once you have securely collected and tokenized your user's card payment data using TokenPay.js, you will have a 15 minutes window in which to complete the transaction request. The payment token expires after the 15 minutes window or when used.

To complete the transaction, you must perform a sale, validation or multi-use token request in a call to the Transaction API.

Base URL

Sandbox:

https://services-sandbox.rectanglehealth.com

Production:

https://services.rectanglehealth.com

Card Present - PayGuardian Cloud

Overview


PayGuardian Cloud is a web-based hosted service used to interact with EMV devices for securely processing transactions with your Point of Sale. The RESTful API allows for easy interactions via simple JSON requests.

Highlights include:

  • Hosted web services gives you the ability to POST a transaction request to any terminal at any location

  • Automated network discovery establishes and maintains a persistent connection to the gateway

  • Multiple registers and credit card terminals can be used simultaneously

  • Automates updates-no software installation necessary

  • PA-DSS compliant & TLS 1.2

  • No access to sensitive card data

Connection Strings


< TEST >

The mode key should always be set to UAT when POSTing to this URL.

< PRODUCTION >

The mode key should always be set to PROD when POSTing to this URL

Key Elements


Prerequisites

Before continuing, you should have test merchant account credentials and a Cloud certified device.

Devices

Terminals intended for use in production must be injected with the Production Rectangle Health P2PE key.
Terminals intended for use in UAT must be injected with the Test Rectangle Health P2PE key. Please reach out to Payments (payments@rectanglehealth.com) for key
information.

< PAX >

PAX A Series devices are WiFi enabled and complete the same integration process for PG Cloud. The A Series requires a download of the PayGuardian Cloud Mobile App from the PAXStore to load onto the device. For PAXStore access or app related issues, please email [paxstore.support@pax.us](mailto: paxstore.support@pax.us). PAX requires anyone using their device to be registered with the PAXStore.

The following PAX A Series devices are currently supported:

  • A920 Max

  • A80

  • A800

< Ingenico >

Ingenico Tetra Lane devices are ethernet based processing terminals and require basic configuration to install PayGuardian Cloud.
The following Ingenico Tetra Series devices are currently supported.

  • Lane 3000

  • Lane 7000

Process Flow


PayGuardian Cloud acts as middleware to save the integrator from interfacing directly with the device itself. The process flow is a simple request and response; however, the request
will trigger the device to prompt for the card and process the transaction.
Once the transaction is processed, the response data is fed back up the chain to the gateway and the integrated POS system.

Authentication Information


Each request to PayGuardian cloud requires credentials to authorize. These values are defined in full in the Request and Response information section, and they are listed below:

  • username

  • password

  • merchantAccountCode

  • merchantCode

Base URL

Sandbox:

https://services-sandbox.rectanglehealth.com

Production:

https://services.rectanglehealth.com

WalletAPI

Introduction


The Wallet API provides the ability to create and manage wallet views usable.

Construct


Components that make up the structure on the Wallet API and its usage.

  • WalletSite - a collection of wallets. It is agnostic in that it has no requirement to be associated with any given merchant account, merchant group, or reseller. It can also be shared among multiple merchant accounts, belonging to multiple merchant groups, and even resellers.
  • Wallet - a wallet belongs to a wallet site and represents a single payment method (Credit Card/ACH).
  • Payment Method - contains all the necessary information to perform a transaction (Token, Expiration Date/Routing Number) and AVS information.
  • Merchant Account Subscribes to a Wallet Site - multiple merchant accounts can subscribe to the same wallet site (effectively sharing payment information data), but one merchant account cannot subscribe to multiple wallet sites.
  • Contract in Recurring Billing - exists between a merchant account and a customer of the merchant account.
  • Customer Account - describes the customer (one of the parties in the contract)
  • Financially Responsible Party - a person or business that has access to one or more wallets. A customer account can have multiple financially responsible parties

Order of Process Flow


The order in which each Wallet API component must be created or used is below.

1. Create a WalletView

  • Use CreateWalletView endpoint to create a new Wallet.

2. Get all the Wallet Details

  • Use WalletView Model endpoints to get the details for the created wallet.

3. Call Transaction API with the Wallet Details

  • Call Transaction API using the relevant data elements instead of using Token, Card Number, Expiration Date, Bank Account Number, Routing Number, etc. For Transaction API, use walletPaymentMethodId and customerWalletId.

Authentication


Each call to the Wallet API requires credentials. The Credentials object is used as a property of other objects in the API. The Credentials Object contains two properties: UserName and Password.

Both properties are strings.

Testing and Integration Support


In the live environment, transactions must be initiated over an SSL-protected connection using a minimum of 128-bit encryption to protect sensitive data. Initial testing can be performed over an unencrypted connection; however, testing must be performed over an SSL-encrypted channel before a client can be certified to production. Only test card/ACH account data may be transmitted -no live payment information should ever be transmitted to the test system.

You may use the following test payment account information in testing:

Payment Type

Token

Routing Number

Expiry Date

Security Code

MasterCard

5439750001500347

Visa

4005550000000019

Discover

60011111111111117

Diners

36999999999999

AMEX

374255312721002

ACH

11110000000000279992

021000021

Reporting API

Introduction


The Transaction Reporting API allows users to retrieve transaction data through a SOAP request made to the service. Users can include parameters in the SOAP method to filter the data and receive a response containing the requested information.

Key Elements


Skip and Take fields are required when calling the API. Transaction Rows and Batch Details will be limited to 1000 at a time. Using take and Skip you can obtain larger data sets in multiple calls. For instance, if 1,500 records are available based on the filter information sent in, the first 1000 records would be obtained by sending in 1000 for Take and 0 for skip. The next 500 records would be obtained by sending in Take for 500 and skip for 1000.

Authentication Information


Credentials are required to access the Transaction Reporting API.

See below for the Data Access Rule:

  • Merchant Account Users only have access to data within their merchant account.
  • Merchant Group Users have access to data within their merchant group where access has been granted, reporting API results will exclude data associated to merchant accounts where access has not been granted.
  • Sales Agent Users have access to data within their sales agent hierarchy where access has been granted, reporting API results will exclude data associated to merchant accounts where access has not been granted.
  • Reseller Users have access to data within their reseller hierarchy where access has been granted, reporting API results will exclude data associated to merchant accounts where access has not been granted.

Request Information


The following table outlines the available data elements for filtering the transaction data.

Condition
Data Element
Date Type
Validations
Description

Optional

AccountHolderName

string

Exact Match

When provided, limits the results to those transactions that have an account / card holder name matching the submitted value exactly.

Optional

AccountTypeIndicator

string

Exact Match

When provided, limits the results to those transactions with the matching Account Type Indicator. Valid Values: A = Amex, B = Bank Card, C = CUP, D = Discover, E = EBT, G = Gift, M = MasterCard, N = Diners, V = Visa

Optional

AccountTypeTransform

string

Exact Match

When provided, limits the results to those transactions with the matching AccountTypeTransform.

Valid Values: AMEX, FSA VISA, FSA MASTERCARD, VISA, MASTER CARD, DINERS CLUB, BANK CARD DEBIT, PAPER CHECK, CHECKING, SAVINGS, DISCOVER, CASH BENEFIT, FOOD STAMPS, GIFT CARD, CASH, CHINA UNIONPAY

Optional

AmountRangeFrom

Interger (Implied Decimal)

Greater Than or Equal To

When provided, limits the results to those transactions that meet or exceed the amount provided. Integer 100 is $1.00

Optional

AmountRangeTo

Interger (Implied Decimal)

Less Than or Equal To

When provided, limits the results to those transactions that are less than or equal to the amount provided. Integer 100 is $1.00

Optional

AuthorizationCode

string

Exact Match

When provided, limits the results to those transactions that have an authorization code returned from the processor matching the submitted value exactly.

Optional

BatchID

integer

Exact Match

When provided, limits the results to those transactoins that are part of the requested batch.

Optional

CardBrand

string

Exact Match

When provided, limits the results to those transactions that match the submitted value exactly.

Valid Values: AMEX, DISCOVER, MASTERCARD, DINERS and VISA

Optional

CardholderFirstName

string

Exact Match

When provided, limits the results to those transactions where the first name matches the data provided.

Optional

CardholderLastName

string

Partial Match

When provided, limits the results to those transactions where the last name contains the data provided.

Optional

ClerkId

string

Exact Match

When provided, limits the results to those transactions where the clerk ID matches the data provided.

Optional

ContractID

integer

Exact Match

When provided, limits the results to those transactions where the Contract ID used in recurring billing matches the data provided.

Optional

CustomFields

list

Exact Match (Key and Value)

When provided, limits the results to those transactions where the Key Value pair match exactly the data provided. Attempting to filter by custom fields is only applicable if custom fields were previously defined.

Optional

DateRangeFrom

DateTime (YYYY-MM-DDTHH:MM:SS)

On or After

When provided, limits the results to those transactions whose sale dates are on or after the date and timestamp provided.

Optional

DateRangeTo

DateTime (YYYY-MM-DDTHH:MM:SS)

On or Before

When provided, limits the results to those transactions whose sale dates are on or before the date and timestamp provided.

Optional

EndPartialAccountNumber

string

Exact Match

When provided, limits the results where the last four of the account / card number match the data provided.

Optional

EntryModeTransform

string

Exact Match

When provided, limits the results to EntryModes as defined.

Valid Values: SWIPE, CHIP READ, KEYED, CONTACTLESS

Optional

FeeIsSurcharge

boolean

Exact Match

When provided, limits the results to those where FeeIsSurcharge matches the boolean value provided.

Optional

ID

integer

Exact Match

When provided, limits the results to those transaction where the gateway Transaction ID matches the data provided.

Optional

InvoiceNumber

string

Exact Match

When provided, limits the results to those transactions whose Invoice Number matches the data provided.

Optional

MerchantAccountID

integer

Exact Match

When provided, limits the results to those transactions processed for the provided Merchant Account ID. This is the Merchant Account Code.

Optional

MerchantID

integer

Exact Match

When provided, limits the results to those transactions processed for the provided Merchant ID. This is the Merchant Code.

Optional

OrderByList

list

Exact Match (Key and Value)

When provided, the results will be sorted by the value in either ‘Ascending’ or ‘Descending’ order. Note: This property replaces SortBy. Example is: ‘Key: BatchID, Value: Descending’ (BatchID Descending)

Optional

OrganizationId

integer

Exact Match

When provided, limits the results to those transactions whose Organization ID matches the data provided.

Optional

PaymentMethodID

string

Exact Match

When provided, limits the results to those transactions whose Payment Method ID matches the data provided. Two letter code that identifies the payment method transaction type.

Valid Values: AC (Amex), BC (Bank Checking), BS (Bank Savings), DC (Discover Credit), DD (Discover Debit), EC (EBT Cash Benefit), EF (FoodStamps), FL (Fleet One), GF (Fuelman Fleet Wide), GG (General Gift), MC (MasterCard Credit), MD (MasterCard Debit), MF (MasterCard Fleet), MP (MasterCard Prepaid), NC (Diner's Club), VC (Visa Credit), VD (Visa Debit), VF (Voyager), VP (Visa Prepaid), VS (VisaFleet), WX (WrightExpress)

Optional

PaymentMethodIndicator

string

Exact Match

When provided, limits the results to those transactions whose Payment Method Indicator matches the data provided.

Optional

PaymentMethodTransform

string

Exact Match

When provided, limits the results to those payment methods.

Valid Values: ACH, CASH, CHECK, CREDIT, DEBIT, EBT, GIFT

Optional

PurchaseOrderNumber

string

Exact Match

When provided, limits the results to those transactions whose Purchase Order Number matches the data provided.

Optional

ResellerID

integer

Exact Match

When provided, limits the results to those transactions processed for the provided Reseller ID.

Optional

ResponseCode

string

Partial Match

When provided, limits the results to those transactions where the response code contains the data provided. Please refer to Response Code Table.

Optional

SettlementStatus

string

Exact Match

When provided, limits the results to those transactions that match the status provided. Settled or Unsettled are acceptable values.

Required

Skip

integer

Determines how many records should be skipped before returning results. Required for paging.

Required

Take

integer

Determines how many records will be returned in the results.

Optional

TransactionSourceIP

string

Exact Match

When provided, limits the results to those transactions that were sent from the IP address provided in the filter. Example: 192.168.15.155:65010

Optional

TransactionStatus

string

Exact Match

When provided, limits the results to those transactions whose current status matches the filter provided.

Valid Values: Open, Confirmed and Voided

Optional

TransactionType

string

Exact Match

When provided, limits the results to those transactions whose current Type matches the filter provided.

Valid Values: Auth, Sale, Refund, Activate, Deactivate, Reactivate, Inquiry, Unknown, Error, Decline

Optional

TransactionTypeTransform

string

Exact Match

When provided, limits the results to those transactions whose current Type matches the filter provided.

Valid Values: Auth Only, Sale, Refund, Activate, Deactivate, Reactivate, Inquiry, Unknown, Error, Decline, Void, Verification

Optional

TransResults

Multi-Match (comma separated list)

When provided, limits the results to those transactions where the Response Code matches one of the provided filters.

Optional

UseMerchantTimeZone

boolean

Exact Match

When provided, setting the value to true will cause the API to display date time fields as the Time Zone configured for the merchant instead of the Easter Time Zon default.

Credentials Management API

Introduction


This API provides the ability to create and manage user and TokenPay credentials.

Authentication


Each call to the Credentials Management API requires credentials. The Credentials object is used as a property of other objects in the API. The Credentials Object contains two properties: UserName and Password.

Both properties are strings.

Base URL

Sandbox:

https://services-sandbox.rectanglehealth.com

Production:

https://services.rectanglehealth.com

Language Box

Product Release Notes