Forte REST API v3

Forte’s REST API enables merchants and partners to perform a variety of powerful tasks such as creating and updating credit card, echeck, and scheduled transactions, securely managing customer and payment data, querying and tracking settlement information, and creating and submitting merchant applications for new Forte organizations and locations. Forte uses standard HTTP protocols within a PCI-compliant architecture that is simple to integrate.

Getting Started

To begin using Forte's REST web services, complete the following steps:

  1. Sign up for a Test Account.
  2. Create your API Credentials.
  3. Create your Authentication Headers.
  4. Craft a call.
  5. Test your calls.

Step 1: Sign Up for a Test Account

If you are a merchant, navigate to the Forte Developer's Test Account sign-up page and enter your First Name, Last Name, Company Name, and Email address in the applicable fields. Forte uses this email address for verification purposes and as your Username for registering and signing into Dex, Forte's newest payment processing portal.

If you are a partner, contact Forte's Sales Team and request a partner sandbox account. Partner accounts in Dex have different permissions and different menu options.

After you verify your email address, Forte sends you a Dex invitation email where you can register for a sandbox account. Dex registration requires a mobile phone number that can receive SMS messages for account verification.

After registering and verifying your mobile number, Dex logs you in with your Organization ID. Your Organization ID represents a legal entity that can own multiple sub-organizations (for partners) or multiple locations (for merchants) as well as the customers, payment methods, and transactions that belong to those locations. Every request call made to the Forte REST API must contain the organization_id within the URI.

Every Dex sandbox account also comes with a Location ID. Your Location ID represents locations, which are processing endpoints that merchant organizations use to initiate transactions (in Forte legacy applications like Virtual Terminal, locations were known as MIDs). Locations own all the transaction data including sensitive payment method data and tokens. Tokens are random, alpha-numeric strings that represent stored, encrypted data. Tokenization is a common practice in the payment industry to protect sensitive data.

For questions or help with Dex registration or setup, contact Forte Technical Support at 888-235-4635 option 5.

Step 2: Create Your API Credentials

To begin integration with Forte's REST API, you first have to create your API authentication credentials. These include an API Access ID, which acts as your username, and an API Secure Key, which acts as a password. You will create and maintain these credentials in Dex.

Complete the following steps to generate your API Access ID and API Secure Key:

  1. From your Google Chrome browser, log into your Dex Account.
  2. Select Developer > API Credentials from the Dex Main Menu.
  3. Click the CREATE button. The Create API Credentials screen displays.
  4. Enter a name for this set of API credentials in the Name field.
  5. Click the CREATE NEW API KEY button. The API Access ID and API Secure Key values display in their corresponding fields.
  6. Click the COPY button next to the API Access ID and API Secure Key fields to record both of these newly generated values in a secure location to use in authenticating your REST API requests.

Once you save your API Secure Key, you will not be able to see the value again. If you forget your API Secure Key or it becomes compromised, you will have to regenerate the value in Dex.

Step 3: Create Your Authentication Headers

Requests to Forte's REST API must be authenticated using the Authorization header field and the custom header property, X-Forte-Auth-Organization-Id.

				
					{{baseURI}}/organizations/org_{{organizationID}}/locations/loc_{{locationID}}/customers/
				
			
The Authorization Header

Forte's REST web services rely on Basic access authentication over HTTPS using the API Access ID and an API Secure Key as the username and password values. These unique values are combined with a colon and then encoded using the RFC2045-MIME variant of Base64. The encoded string is then added to the HTTP Authorization header. For example, if you created the following API credentials:

  1. API Access ID = 315c7649520edde96c5cbad59a5b265f

  2. API Secure Key = c233f2958bd855d09d98397e74950640

The value of the Authorization header field would look like the following:

				
					Authorization=Basic MzE1Yzc2NDk1MjBlZGRlOTZjNWNiYWQ1OWE1YjI2NWY6YzIzM2YyOTU4YmQ4NTVkMDlkOTgzOTdlNzQ5NTA2NDA=
				
			

Several different online tools can help you create your `Authorization` header, such as Postman. You can also add Base64 encoding to HMAC requests to automatically convert the API Access ID and API Secure Key values into the encoded ASCII string. To do so, use the following code:

				
					Convert.ToBase64String(Encoding.Default.GetBytes(APIAccessID + ":" + APISecureKey)).Trim()
				
			
The X-Forte-Auth-Organization-Id Header

The custom header property X-Forte-Auth-Organization-Id specifies at which organization Forte should authenticate the request. A partner can authenticate his or her Organization ID in the X-Forte-Auth-Organization-Id header property and then can access merchant sub-organizations by specifying the merchant Organization ID in the URI of the request.

The Accept Header

Forte’s REST service supports Content Negotiation through the Accept header sent in the request call.

The default value for Accept headers is application/json which returns JSON responses. However, you can also use application/xml which returns XML responses.

The Content-Type Header

The Content-Type header is only required for POST and PUT calls. Like the Accept header, the Content-Type header supports both application/json and application/xml. The default value for Content-Type headers is application/json.

Putting it All Together

In summary, you must include the following headers for every POST and PUT request call made to the Forte REST API. For GET and DELETE request calls, the Content-Type header is optional:

  1. Content-Type - This header is only required for POST and PUT calls. This field defaults to application/json, but also supports application/xml.

  2. Accept - Defaults to application/json, but also supports application/xml

  3. X-Forte-Auth-Organization-Id - A custom header property that specifies at which organization Forte should authenticate the request (i.e., org_{AuthOrganizationID})

  4. Authorization - The API Access ID and API Secure Key encoded using the RFC2045-MIME variant of Base64.

Step 4: Craft a Call

The following sections detail everything you'll need to create a request call. The API Reference section lists and explains all the resources you can use and provides samples of common requests and responses.

Base URI

When constructing a call, append the resource endpoint to the following base URIs in the specified environments:

For example, to find a specific customer in Sandbox, you would append the customer endpoint /organizations/{organization_id}/locations/{location_id}/customers/{customer_token} to the base URI https://sandbox.forte.net/api/v3 and perform a GET call. The complete URI, https://sandbox.forte.net/api/v3/organizations/{organization_id}/locations/{location_id}/customers/{customer_token} will return all the customer data attached to that customer’s token.

ID Formatting

All resources in Forte’s REST API require object prefixing to identify the specific resource and aid in troubleshooting in the event of errors. The resource ID is created by combining the object prefix with a unique ID number or token. The following table displays the prefixing standards used by Forte:

Object

Prefix

Example

organizations

org_ + ID

org_200000

locations

loc_ + ID

loc_100000

customers

cst_ + Token

cst_SoGUG6mcLUS1nVzYBIbk3g

addresses

add_ + Token

add_jUYRwbRjKUWgswNrFpSdKg

paymethods

mth + Token

mth_ymC20TMkHE-YmYxMt0UvMA

transactions

trn_ + GUID

trn_55c98c85-d3e8-4230-85e9-21d7d522eec0

fundings

fnd_ + ID

fnd_ACH-0226-173C5

settlements

stl_ + GUID

stl_51cf4633-1767-484f-8784-be76a4076791

schedules

sch_ + GUID

sch_2e5770ae-c120-414f-ae8c-d065753567e7

scheduleitems

sci_ + GUID

sci_4690fbfb-0b77-4477-a066-2c07ca2e5a3c

disputes

dsp_ + ID

dsp_2365435-e4ae-4ff4-a91e-abd8kjjfjffffc

applications

app_ + ID

app_258741

documents

doc_ + ID

doc_3131dddgwef0gpV2eYlo5

Supported Actions

Use the following HTTP verbs to perform an action on REST API resources:

Action

HTTP Method

Description

Create

POST

Creates the resource that corresponds to the data type defined in the endpoint. For example, making a POST call to the transactions URI creates a new transaction.

Find

GET

Returns summary information for all the resources that match the provided query parameters. For example, performing a GET call to the customers URI returns all the customers associated with that specific merchant location. To return comprehensive/detailed information on a specific resource, provide the resource’s ID to the defined URI. For example, to find a specific customer associated with a merchant location, perform a GET call to the customers endpoint and include the customer_token parameter in the URI

Update

PUT

Modifies the existing resource for the provided URI. All PUT calls require the resource’s ID.

Delete

DELETE

Deletes the existing resource for the provided URI. All DELETE calls require the resource’s ID.

Request Filters for General GET Requests

Forte REST web services support the following filtering parameters for GET requests without resource IDs (i.e., general resource searches). Use these search filters for all resources.

Some resources (e.g., transactions and settlements) may have additional filter parameters that you can use to narrow down your search results.

Parameter

Description

orderby

- Sets the order of the results during a search request
- Uses the same fields accepted by the resource_filters
- Can be followed by a space and one of the following values designating the order to use
- asc - ascending (default if not specified)
- desc - descending

page_size

- Sets the number of records returned on a page during a search request
- Accepts values between 50 and 10000
- If no value is defined, this parameter uses the default value of 50

page_index

- Sets the index of the page of results returned during a search request
- Index starts at 0 (zero) and has no upper limit
- The given value must be a positive number
- An index number set to a value higher than the max page value in a search request will return empty search results

When using search filters, the search_criteria object will display in the response and echo back all the resource parameters included in the search in the resource_specific object.

Understanding Responses

Forte includes the applicable parameters of the response object in all response calls returned to the client that made the request.

Optional request parameters whose values are null do not echo back in responses. The following table displays the response object and the parameters returned for each resource request.

Parameter

Description

Type

response_desc

A short description of the action's response. All resources use this parameter.

string

environment

The environment in which the user made the request. The value for this field can be either live or sandbox. All resources use this parameter.

string

authorization_code

The code indicating whether or not the transaction was authorized. This field is not used for voiding transactions.

string

response_type

The type of response this action generated:
A - Approved
D - Declined
E - Error
_____

The type of responses generated by authenticate action:

O-Overall match

M- FirstName/LastName match

B- Business name match

P- Conditional match

N- No match

U- No Info

E- Timeout or Invalid response/internal error or Bad request

string

response_code

The response code of the action.

string

preauth_result

Pre-authorization check result from Forte Verify with the following possible values:
NOTE: The test account numbers below may be used on Sandbox (with any valid ABA number) to force the indicated response.




NEG - P15: High Risk — Test Account # 99915

NEG - P14: Negative Info — Test Account # 99941

UNK - P50: No info — Test Account # 99950

POS - P70: Validated — Test Account # 99970

POS - P71: Low Risk Approval — Test Account # 99971

POS - P73: Medium Risk Approval — Test Account # 99973

UNK - P80: Preauth Vendor Busy — Test Account # 99980

UNK - P90: Preauth Vendor Unavail — Test Account # 99990

UNK - P91: Preauth Vendor Error — Test Account # 99991

UNK - P92: Preauth Server Unavail — Test Account # 99992
_____

Pre-authorization check result from Authenticate with the following possible values:

NOTE: The test account numbers below may be used on Sandbox (with any valid ABA number) to force the indicated response.

POS-P60: Match - Test Account #99801

CON-P75: Conditional Match - Test Account #99809

NEG-P10: No Match - Test Account #99806

NEG-P94: Invalid Routing Number - Test Account #99824

NEG-P94: Invalid Account Number - Test Account #99828

NEG-P95: Bad Account - Test Account #99826

UNK-P50: No Info - Test Account #99820

UNK-P90: Preauth Vendor Unavail - Test Account #99821

UNK-P91: Preauth Vendor Error - Test Account #99822

ERROR-P94: Error - Test Account #99827

string

preauth_desc

Pre-authorization check description from Forte Verify with the following possible values:
POS - Positive



NEG - Negative

UNK - No information available

___

Pre-authorization check description from Authenticate with the following possible values:
P60: Match

P75: Conditional Match

P10: No Match

string

ownership_match

Provides ownership results based on the name fields being inquired upon, in a pipe delimited format. Possible values are Y, N, C or blank (Y-Match, N-Not Match, C-Conditional Match, Blank-No Info)

The name fields in the result are:
FirstNameMatch I LastNameMatch I NameMatch I BusinessNameMatch

E.g., If First name match is Y, Last name match is N, no response in name match and Business name match is C, then the parameter will return the response as: ownership_match = Y I N I IC

string

preauth_neg_report

Negative database response information (unformatted) when pg_preauth_result=NEG.

string

avs_result

Forte only returns this field if the merchant passes any combination of billing address parameters from the physical_address object in the request. To test this service in Sandbox, see the testing parameters in the Verifying Credit Cards tutorial and Response Codes section. Supported values for this field include the following:



- X - Match: Street address and 9-digit zip code both match
- Y = Match: Street address and 5-digit zip code both match
- A = Partial Match: Street address matches, but both 5-digit and 9-digit zip code do not match
- W = Partial Match: Street address does not match, but 9-digit zip code matches
- Z = Partial Match: Street address does not match, but 5-digit zip code matches
- N = No Match: Street address, 5-digit zip code, and 9-digit zip code all do not match
- U = System unavailable: Address information unavailable. Forte returns this response if the street address is a non-US address, if the AVS service is unavailable, or if the AVS service for a particular US bank is not functioning properly
- R = System unavailable: Forte will retry the AVS check because the issuer's system is unavailable or the request times out
- E = Invalid: AVS data is invalid
- S = Not supported: The US issuing bank does not support AVS checks

string

cvv_result

The card verification value response. Supported values for this field include the following:



- M = Match
- N = No Match
- E = Error (Unrecognized or Unknown Response)
- I = Invalid or Null
- P = Not Processed
- S = Service Not Supported
- U = Issuer Unable to Process
- X = No Response
- " "= A space will be sent as this response, only for Token transactions, where CVV must not be present in the request.

string

available_card_balance

The available balance on the credit card if a credit card is used for the transaction.

string

requested_amount

The transaction amount

string

Hypermedia

Forte’s REST API returns the following format for hypermedia responses. Result availability depends on the resource/action in the request.

The following sample of hypermedia responses are merely formatting examples provided for reference.

				
					{
   "links": {
     "self":"/customers?page_index=1",
     "prev":"/customers?page_index=0",
     "next":"/customers?page_index=2",
     "paymethod":"/customers/cst_SoGUG6mcLUS1nVzYBIbk3g/paymethods",
     "transactions":"/customers/cst_SoGUG6mcLUS1nVzYBIbk3g/transactions",
     "addresses":"/customers/cst_SoGUG6mcLUS1nVzYBIbk3g/addresses",
   }
}
				
			
Status Codes

Forte's web services use standard HTTP status codes along with messages where appropriate. The table below displays the most common codes:

Code

Text

Description

200

Ok

This code indicates a successful HTTP request; the actual response depends on the request method. For example, responses for GET requests contain entities corresponding to the requested resource while responses for POST requests contain entities describing the result of the action.

201

Created

This code indicates that the server has fulfilled the request and has created a new resource.

400

Bad Request or Failed Transaction

This code indicates that the server cannot fulfill the request because of bad syntax (e.g., a create echeck request with a missing routing number) or the transaction failed (responses for failed transactions also contain the failed transaction information).

401

Unauthorized

This code occurs when the user sends a bad username, password, and X-Forte-Auth-Organization-Id combination with the request.

403

Forbidden

This code indicates that the server understands the request but refuses to authorize it. Unlike a 401 unauthorized response, authenticating will make no difference.

404

Not Found

This code occurs when the user attempts an ID GET request, but the ID he/she provides does not exist in the database.

500

Internal Error

This generic error code indicates that the server has encountered an unexpected condition and cannot provide a more specific or suitable error message.

For status codes in the 400s, ensure that you correctly formatted the JSON (or XML) in the original request, especially when the system returns a descriptive error message along with the status code such as the following example messages:

Example 1

				
					{
    message: "Authentication Organization ID in header is missing or invalid."
}
				
			

Example 2

				
					{
    message: "Authentication Organization ID in header is missing or invalid."
}
				
			
Understanding Webhooks

Webhooks provide near-real-time notifications about the events that occur during a transaction through POSTs to a customer-defined endpoint. Forte notifies merchants about events through subscriptions. Depending on these subscriptions, multiple events can occur during an operation. For example, a POST transaction request that creates tokens for a customer and a paymethod causes three events to be fired: transaction.salecustomer.create, and paymethod.create. These three events can be combined under a common event ID (e.g., evt_xxxxxx) for easier information management.

Depending on how you configure your event subscriptions, the same data may be generated twice in separate webhooks. For example, a POST to the customer object that includes the creation of a paymethod could (if subscribed) generate a customer webhook with both customer and paymethod data as well as a paymethod webhook.

Merchants can subscribe to the following webhook events:

* transaction.authorize
* transaction.capture
* transaction.credit
* transaction.inquiry
* transaction.sale
* transaction.verify
* transaction.authenticate
* transaction.void
* customer.create
* customer.update
* customer.delete
* paymethod.create
* paymethod.update
* paymethod.delete
* schedule.create
* schedule.update
* schedule.delete

Partners can subscribe to the following merchant application webhook events:

* merchantapplication.approved
* merchantapplication.declined
* merchantapplication.pending
* merchantapplication.recalled
* merchantapplication.received
* merchantapplication.rejected

Note: Merchant application webhooks provide the status of an application as the application status events trigger during the application process.

If a webhook post fails (i.e., does not result in an HTTP 200 response), Forte retries the webhook post up to twenty times adding one minute for each retry.

For more information on Webhooks, see Using Webhooks.

Step 5: Test Your Calls

To help you gain a greater understanding of how Forte's REST API works, we've built a Postman collection of sample REST requests that you can use to test each resource. NOTE: While we've included sample body parameters in this collection of request calls, you'll still need to add the URLs and Authentication Headers described in Step 3 above.

Postman maintains a thorough documentation repository. Use it to set up your own environment and create your own global variables to perform tests with your unique Organization IDLocation IDAPI Access ID, and API Secure Key.

Tokens

A token is a unique string ID that references stored customer information, including payment, customer, and address data. Tokens provide customers convenient, secure access to their information, making the checkout process faster and easier. For merchants, tokens provide a convenient method of collecting scheduled recurring payments. For more information on tokens, see the Understanding Tokens tutorial on DevDocs.

Response Codes

For more information on response codes, see the Transaction Codes page on DevDocs.

Rate Limits

Forte throttles API requests to 10 per second. Once the request limit is met, Forte drops the connection and displays the following error: 403 - Forbidden: Access is denied. For general synchronization of your transaction data, query the settlements and fundings endpoints using strategic date and timestamp filters in the request. Do not query individual transactions; this will bog down your connection and limit your payment processing ability. We recommend using single transaction queries on a limited basis for user-initiated, real-time status updates.

Versions

Versions

Description

Version 3
NOTE: This is the only




supported version

1. Authentication using the API Access ID and API Secure Key that the developer creates in Dex. 2. Endpoints now using Organization IDs and Location ID.

Version 2
NOTE: Only version 3 is supported at this time. View version 2 here.


1. Authentication using an API Access ID and an API Secure Key provided by Forte Integration Team. 2. Endpoints using Account IDs and Location IDs. 3. Available for both Sandbox and Live.

Version 1
NOTE: Only


version 3




is supported at this time.

1. Included only the following objects: Accounts, Locations, Customers, Addresses, Paymethods. 2. Authentication done using an API Login ID and a Secure Transaction Key provided by Forte Integration Team. 3.Only available in Sandbox.

Devices

CSG Forte offers multiple devices for a card present solution. The devices and supported processors are listed here.

Addresses

The addresses object represents the customer's billing and/or shipping addresses and includes the physical_address sub-object. NOTE: For token payments, Forte will use the default shipping and billing addresses. Set the customers default shipping and billing addresses prior to creating a token payment.

Addresses Object

Parameter

Description

Type

Req

address_token

A unique string used to represent an address. For example, add_tq0hemmmtf-zsxgq689rew. [max length = 26]

string

R

customer_token

A unique string used to represent a customer. For example, cst_SoGUG6mcLUS1nVzYBIbk3g. [max length = 26]

string

R

organization_id

The identification number of the associated organization. For example, org_5551236.

string

R

location_id

The identification number of the associated location. For example, loc_1234568.

string

R

first_name

The first name of the user associated with this billing or shipping address [max length = 25]. NOTE: Either the first_name, last_name, or company_name parameters are required when creating addresses.

string

O

last_name

The last name of the user associated with this billing or shipping address [max length = 25]. NOTE: Either the first_name, last_name, or company_name parameters are required when creating addresses.

string

O

company_name

The name of the company associated with this billing or shipping address [max length = 20]. NOTE: Either the first_name, last_name, or company_name parameters are required when creating addresses.

string

O

phone

The phone number associated with this billing or shipping address. This field supports both U.S. and Canadian phone numbers. [max length = 15]

string

O

email

The email address associated with this billing or shipping address [max length = 50]

string

O

label

A label that succinctly identifies the address. For example, "Work" or "Home." [max length = 50]

string

O

address_type

The type of address. Use one of the following values:
default_billing - The default billing address
 

default_shipping - The default shipping address
 

none - The address is not a default address)
 

both - The address is both a default shipping and default billing address

string

O

shipping_address_type

Indicates whether the address is a residential or commercial address.

string

R

physical_address

The Physical Address Object.

object

O

physical_address.street_line1

The first line of the street address [max length = 35]

string

O

physical_address.street_line2

The second line of the street address [max length = 35]

string

O

physical_address.locality

Locality or city/town/village [max length = 25]

string

O

physical_address.region

Region or state/province. [max length = 10]

string

O

physical_address.country

The ISO 3166-1 alpha-2 country abbreviation. [max length = 2]

string

O

physical_address.postal_code

Postal Code [max length = 15].

string

O

POST Customer Address (Simple)

				
					{{baseURI}}/organizations/org_{{organizationID}}/locations/loc_{{locationID}}/customers/cst_{{customertoken}}/addresses
				
			

This URI creates a new address record for the customer and returns a new address_token.

AUTHORIZATION Basic Auth
Username      {{apiaccessid}}
Password       {{apisecurekey}}
Body raw
				
					{
       "physical_address": {
          "street_line1": "8003 Clock Tower Ln",
          "street_line2": "Suite 200",
          "locality": "Hill Valley",
          "region": "CA",
          "country": "US",
          "postal_code": "95420"
       }
}
				
			

Example Request

				
					curl --location -g 'https://api.forte.net/v3/organizations/org_{{organizationID}}/locations/loc_{{locationID}}/customers/cst_{{customertoken}}/addresses' \
--header 'Authorization: {{Authorization}}' \
--header 'Accept: application/json' \
--header 'X-Forte-Auth-Organization-Id: org_{{AuthOrganizationID}}' \
--header 'Content-Type: application/json' \
--data '{
       "physical_address": {
          "street_line1": "8003 Clock Tower Ln",
          "street_line2": "Suite 200",
          "locality": "Hill Valley",
          "region": "CA",
          "postal_code": "95420"
       }
}'
				
			

Example Response

				
					{
  "address_token": "add_kVu82mnKcUumx0qoWsBZzw",
  "location_id": "loc_192642",
  "customer_token": "cst_h_TrrHANEU6XjmMV_EMVrA",
  "physical_address": {
    "street_line1": "8003 Clock Tower Ln",
    "street_line2": "Suite 200",
    "locality": "Hill Valley",
    "region": "CA",
    "country": "US",
    "postal_code": "95420"
  },
  "response": {
    "environment": "live",
    "response_desc": "Create Successful."
  },
  "links": {
    "self": "https://api.forte.net/v3/addresses/add_kVu82mnKcUumx0qoWsBZzw"
  }
}
				
			

POST Customer Address (Alternate URI)

				
					{{baseURI}}/organizations/org_{{organizationID}}/customers/cst_{{customertoken}}/addresses
				
			

This URI creates a new address for the customer and returns a new address_token; however, you must include the location_id in the body of the request since this value is not included in the specified route. The Location ID identifies the location from where you are processing transactions.

AUTHORIZATION Basic Auth
Username      {{apiaccessid}}
Password       {{apisecurekey}}
Body raw
				
					{
       "location_id": "loc_192642"
       "physical_address": {
          "street_line1": "8003 Clock Tower Ln",
          "street_line2": "Suite 200",
          "locality": "Hill Valley",
          "region": "CA",
          "country": "US",
          "postal_code": "95420"
       }
}
				
			

Example Request

				
					curl --location -g 'https://api.forte.net/v3/organizations/org_{{organizationID}}/customers/cst_{{customertoken}}/addresses' \
--header 'Authorization: {{Authorization}}' \
--header 'Accept: application/json' \
--header 'X-Forte-Auth-Organization-Id: org_{{AuthOrganizationID}}' \
--header 'Content-Type: application/json' \
--data '{
       "location_id": "loc_192642",
       "physical_address": {
          "street_line1": "8003 Clock Tower Ln",
          "street_line2": "Suite 200",
          "locality": "Hill Valley",
          "region": "CA",
          "postal_code": "95420"
       }
}'
				
			

Example Response

				
					{
  "address_token": "add_rFNRVpagIEaUKPOD5-bqnQ",
  "location_id": "loc_192642",
  "customer_token": "cst_h_TrrHANEU6XjmMV_EMVrA",
  "physical_address": {
    "street_line1": "8003 Clock Tower Ln",
    "street_line2": "Suite 200",
    "locality": "Hill Valley",
    "region": "CA",
    "country": "US",
    "postal_code": "95420"
  },
  "response": {
    "environment": "live",
    "response_desc": "Create Successful."
  },
  "links": {
    "self": "https://api.forte.net/v3/addresses/add_rFNRVpagIEaUKPOD5-bqnQ"
  }
}
				
			

POST Customer Address

				
					{{baseURI}}/organizations/org_{{organizationID}}/locations/loc_{{locationID}}/customers/cst_{{customertoken}}/addresses
				
			

This URI creates a new address for the customer and returns a new address_token.

AUTHORIZATION Basic Auth
Username      {{apiaccessid}}
Password       {{apisecurekey}}
Body raw
				
					{
       "label": "Shipping",
       "first_name": "Marty",
       "last_name": "McFly",
       "company_name": "Brown Associates",
       "phone": "444-444-4444",
       "email": "m.mcfly@brown.net",
       "physical_address":{
          "street_line1": "8003 Clock Tower Ln",
          "street_line2": "Suite 200",
          "locality": "Hill Valley",
          "region": "CA",
          "country": "US",
          "postal_code": "95420"
       }
} 
				
			

Example Request

				
					curl --location -g 'https://api.forte.net/v3/organizations/org_{{organizationID}}/locations/loc_{{locationID}}/customers/cst_{{customertoken}}/addresses' \
--header 'Authorization: {{Authorization}}' \
--header 'Accept: application/json' \
--header 'X-Forte-Auth-Organization-Id: org_{{AuthOrganizationID}}' \
--header 'Content-Type: application/json' \
--data-raw '{
       "label": "Shipping",
       "first_name": "Marty",
       "last_name": "McFly",
       "company_name": "Brown Associates",
       "phone": "444-444-4444",
       "email": "m.mcfly@brown.net",
       "physical_address":{
          "street_line1": "8003 Clock Tower Ln",
          "street_line2": "Suite 200",
          "locality": "Hill Valley",
          "postal_code": "95420"
       }
} '
				
			

Example Response

				
					{
  "address_token": "add_pb_F96SUt0Cv_K7NObXhGg",
  "location_id": "loc_192642",
  "customer_token": "cst_-mFhHBHVdkqwmQ4V27x-Xg",
  "first_name": "Marty",
  "last_name": "McFly",
  "company_name": "Brown Associates",
  "phone": "444-444-4444",
  "email": "m.mcfly@brown.net",
  "label": "Shipping",
  "physical_address": {
    "street_line1": "8003 Clock Tower Ln",
    "street_line2": "Suite 200",
    "locality": "Hill Valley",
    "region": "CA",
    "country": "US",
    "postal_code": "95420"
  },
  "response": {
    "environment": "live",
    "response_desc": "Create Successful."
  },
  "links": {
    "self": "https://api.forte.net/v3/addresses/add_pb_F96SUt0Cv_K7NObXhGg"
  }
}
				
			

GET Address by ID

				
					{{baseURI}}/organizations/org_{{organizationID}}/locations/loc_{{locationID}}/addresses/add_{{addresstoken}}
				
			

This URI returns detailed address data using the address_token.

AUTHORIZATION Basic Auth
Username      {{apiaccessid}}
Password       {{apisecurekey}}

Example Request

				
					curl --location -g 'https://api.forte.net/v3/organizations/org_{{organization}}/locations/loc_{{location}}/addresses/add_{{addresstoken}}' \
--header 'Authorization: {{Authorization}}' \
--header 'Accept: application/json' \
--header 'X-Forte-Auth-Organization-Id: org_{{AuthOrganizationID}}'
				
			

Example Response

				
					{
  "address_token": "add_KDbwcbrv-Uu6eSSn1rBl6A",
  "organization_id": "org_334316",
  "location_id": "loc_192642",
  "customer_token": "cst_h_TrrHANEU6XjmMV_EMVrA",
  "first_name": "Jennifer",
  "last_name": "Parker-McFly",
  "company_name": "Brown Associates",
  "phone": "444-444-4444",
  "email": "j.mcfly@brown.net",
  "label": "Shipping",
  "address_type": "none",
  "shipping_address_type": "commercial",
  "physical_address": {
    "street_line1": "58003 Clock Tower Ln",
    "street_line2": "Suite 101",
    "locality": "Hill Valley",
    "region": "CA",
    "country": "US",
    "postal_code": "95420"
  },
  "response": {
    "environment": "live",
    "response_desc": "Get Successful."
  },
  "links": {
    "self": "https://api.forte.net/v3/addresses/add_KDbwcbrv-Uu6eSSn1rBl6A"
  }
}
				
			

GET Customer's Address(es)

				
					{{baseURI}}/organizations/org_{{organizationID}}/locations/loc_{{locationID}}/customers/cst_{{customertoken}}/addresses/
				
			

This URI returns all address(es) associated with a customer based on the customer_token.

AUTHORIZATION Basic Auth
Username      {{apiaccessid}}
Password       {{apisecurekey}}

Example Request

				
					curl --location -g 'https://api.forte.net/v3/organizations/org_{{organizationID}}/locations/loc_{{locationID}}/customers/cst_{{customertoken}}/addresses/' \
--header 'Authorization: {{Authorization}}' \
--header 'Accept: application/json' \
--header 'X-Forte-Auth-Organization-Id: org_{{AuthOrganizationID}}'
				
			

Example Response

				
					{
  "number_results": 2,
  "search_criteria": {
    "page_size": 50,
    "page_index": 0,
    "home_organization_id": "org_334316",
    "resource_specific": {
      "location_id": "loc_192642",
      "customer_token": "cst_h_TrrHANEU6XjmMV_EMVrA"
    }
  },
  "results": [
    {
      "address_token": "add_Qk4ZwL2QrUKf72LxHa2ZOQ",
      "organization_id": "org_334316",
      "location_id": "loc_192642",
      "customer_token": "cst_h_TrrHANEU6XjmMV_EMVrA",
      "first_name": "Marty",
      "last_name": "McFly",
      "company_name": "Brown and Associates",
      "address_type": "",
      "shipping_address_type": "residential",
      "physical_address": {
        "street_line1": "8003 Clock Tower Ln",
        "street_line2": "Suite 200",
        "locality": "Hill Valley",
        "region": "CA",
        "country": "US",
        "postal_code": "95420"
      },
      "links": {
        "self": "https://api.forte.net/v3/addresses/add_Qk4ZwL2QrUKf72LxHa2ZOQ"
      }
    },
    {
      "address_token": "add_0KGuO6nwZUeD8HepNxlJEg",
      "organization_id": "org_334316",
      "location_id": "loc_192642",
      "customer_token": "cst_h_TrrHANEU6XjmMV_EMVrA",
      "first_name": "Marty",
      "last_name": "McFly",
      "company_name": "Brown Associates",
      "phone": "444-444-4444",
      "email": "m.mcfly@brown.net",
      "label": "Shipping",
      "address_type": "none",
      "shipping_address_type": "commercial",
      "physical_address": {
        "street_line1": "8003 Clock Tower Ln",
        "street_line2": "Suite 200",
        "locality": "Hill Valley",
        "region": "CA",
        "country": "US",
        "postal_code": "95420"
      },
      "links": {
        "self": "https://api.forte.net/v3/addresses/add_0KGuO6nwZUeD8HepNxlJEg"
      }
    }
  ],
  "response": {
    "environment": "live",
    "response_desc": "Get Successful."
  },
  "links": {
    "self": "https://api.forte.net/v3/addresses/",
    "next": "https://api.forte.net/v3/addresses/?page_index=1"
  }
}
				
			

GET All Addresses for a Location

				
					{{baseURI}}/organizations/org_{{organizationID}}/locations/loc_{{locationID}}/addresses/
				
			

This URI returns all addresses owned by a location. Remember, a location is a processing endpoints that merchant organizations use to initiate transactions. To narrow your search data, use the customer_token parameter to filter your results.

AUTHORIZATION Basic Auth
Username      {{apiaccessid}}
Password       {{apisecurekey}}

Example Request

				
					curl --location -g 'https://api.forte.net/v3/organizations/org_{{organization}}/locations/loc_{{location}}/addresses/' \
--header 'Authorization: {{Authorization}}' \
--header 'Accept: application/json' \
--header 'X-Forte-Auth-Organization-Id: org_{{AuthOrganizationID}}'
				
			

Example Response

				
					{
  "number_results": 7,
  "search_criteria": {
    "page_size": 50,
    "page_index": 0,
    "home_organization_id": "org_300005",
    "resource_specific": {
      "location_id": "loc_115161"
    }
  },
  "results": [
    {
      "address_token": "add_28067617",
      "organization_id": "org_300005",
      "location_id": "loc_115161",
      "customer_token": "cst_26557171",
      "first_name": "Marty",
      "last_name": "McFly",
      "label": "Default - Shipping",
      "address_type": "default_shipping",
      "shipping_address_type": "residential",
      "physical_address": {
        "street_line1": "123 Fake Street",
        "street_line2": "Suite 500",
        "locality": "Plano",
        "region": "TX",
        "country": "US",
        "postal_code": "75555"
      },
      "links": {
        "self": "https://api.forte.net/v3/addresses/add_28067617"
      }
    },
    {
      "address_token": "add_28067618",
      "organization_id": "org_300005",
      "location_id": "loc_115161",
      "customer_token": "cst_26557172",
      "first_name": "Jennifer",
      "last_name": "McFly",
      "phone": "444-444-4444",
      "email": "j.mcfly@brownenterprises",
      "label": "Default - Billing",
      "address_type": "default_billing",
      "shipping_address_type": "residential",
      "physical_address": {
        "street_line1": "500 W Bethany DR",
        "street_line2": "Suite 200",
        "locality": "Allen",
        "region": "TX",
        "country": "US",
        "postal_code": "75033"
      },
      "links": {
        "self": "https://api.forte.net/v3/addresses/add_28067618"
      }
    },
    {
      "address_token": "add_28067619",
      "organization_id": "org_300005",
      "location_id": "loc_115161",
      "customer_token": "cst_26557172",
      "first_name": "Emmett",
      "last_name": "Brown",
      "label": "Default - Shipping",
      "address_type": "default_shipping",
      "shipping_address_type": "residential",
      "physical_address": {
        "street_line1": "550 E Bethany Dr",
        "street_line2": "Suite 500",
        "locality": "Plano",
        "region": "TX",
        "country": "US",
        "postal_code": "75555"
      },
      "links": {
        "self": "https://api.forte.net/v3/addresses/add_28067619"
      }
    },
    {
      "address_token": "add_28067620",
      "organization_id": "org_300005",
      "location_id": "loc_115161",
      "customer_token": "cst_26557173",
      "first_name": "Griff",
      "last_name": "Tannen",
      "phone": "444-444-4444",
      "email": "TestUd@achdirect.com",
      "label": "Default - Billing",
      "address_type": "default_billing",
      "shipping_address_type": "residential",
      "physical_address": {
        "street_line1": "500 W Bethany DR",
        "street_line2": "Suite 200",
        "locality": "Allen",
        "region": "TX",
        "country": "US",
        "postal_code": "75033"
      },
      "links": {
        "self": "https://api.forte.net/v3/addresses/add_28067620"
      }
    },
    {
      "address_token": "add_28067621",
      "organization_id": "org_300005",
      "location_id": "loc_115161",
      "customer_token": "cst_26557173",
      "first_name": "Biff",
      "last_name": "Tannen",
      "label": "Default - Shipping",
      "address_type": "default_shipping",
      "shipping_address_type": "residential",
      "physical_address": {
        "street_line1": "123 Fake Street",
        "street_line2": "Suite 500",
        "locality": "Allen",
        "region": "TX",
        "country": "US",
        "postal_code": "75555"
      },
      "links": {
        "self": "https://api.forte.net/v3/addresses/add_28067621"
      }
    },
    {
      "address_token": "add_28067622",
      "organization_id": "org_300005",
      "location_id": "loc_115161",
      "customer_token": "cst_26557174",
      "first_name": "Martin",
      "last_name": "McFly",
      "phone": "444-444-4444",
      "email": "TestUd@achdirect.com",
      "label": "Default - Billing",
      "address_type": "default_billing",
      "shipping_address_type": "residential",
      "physical_address": {
        "street_line1": "500 W Bethany DR",
        "street_line2": "Suite 200",
        "locality": "Allen",
        "region": "TX",
        "country": "US",
        "postal_code": "75033"
      },
      "links": {
        "self": "https://api.forte.net/v3/addresses/add_28067622"
      }
    },
    {
      "address_token": "add_28067623",
      "organization_id": "org_300005",
      "location_id": "loc_115161",
      "customer_token": "cst_26557174",
      "first_name": "Shipping",
      "last_name": "NameUd",
      "label": "Default - Shipping",
      "address_type": "default_shipping",
      "shipping_address_type": "residential",
      "physical_address": {
        "street_line1": "550 E Bethany DrUd",
        "street_line2": "Suite 500Ud",
        "locality": "PlanoUd",
        "region": "TX",
        "country": "US",
        "postal_code": "75555"
      },
      "links": {
        "self": "https://api.forte.net/v3/addresses/add_28067623"
      }
    }
  ],
  "response": {
    "environment": "live",
    "response_desc": "Get Successful."
  },
  "links": {
    "self": "https://api.forte.net/v3/addresses/",
    "next": "https://api.forte.net/v3/addresses/?page_index=1"
  }
}
				
			

GET All Addresses for an Organization

				
					{{baseURI}}/organizations/org_{{organizationID}}/addresses/
				
			

This URI returns all address(es) owned by an Organization. To narrow your search data using specific criteria, use the following parameters to filter your results:

  1. location_id

  2. customer_token

Note: Please note that sending a request at the partner (org) level may result in a large data set and may cause timeout errors depending on the request. We recommend sending your GET request at the Merchant (Organization) level.

AUTHORIZATION Basic Auth
Username      {{apiaccessid}}
Password       {{apisecurekey}}

Example Request

				
					curl --location -g 'https://api.forte.net/v3/organizations/org_{{organization}}/addresses' \
--header 'Authorization: {{Authorization}}' \
--header 'Accept: application/json' \
--header 'X-Forte-Auth-Organization-Id: org_{{AuthOrganizationID}}'
				
			

Example Response

				
					{
  "number_results": 5,
  "search_criteria": {
    "page_size": 50,
    "page_index": 0,
    "home_organization_id": "org_334316",
    "resource_specific": {}
  },
  "results": [
    {
      "address_token": "add_cagThS8ehE61jwEpVSJJ1w",
      "organization_id": "org_334316",
      "location_id": "loc_192642",
      "customer_token": "cst_E5v1yG3AdkiVIe6TWKuxgQ",
      "first_name": "test",
      "last_name": "test",
      "label": "Default - Billing",
      "address_type": "default_billing",
      "shipping_address_type": "residential",
      "links": {
        "self": "https://api.forte.net/v3/addresses/add_cagThS8ehE61jwEpVSJJ1w"
      }
    },
    {
      "address_token": "add_ipLhxWZzkU2p4dfDG_I0RA",
      "organization_id": "org_334316",
      "location_id": "loc_192642",
      "customer_token": "cst_ySC0CBRmWU64c_5fceYosg",
      "first_name": "test",
      "last_name": "test",
      "label": "Default - Billing",
      "address_type": "default_billing",
      "shipping_address_type": "residential",
      "links": {
        "self": "https://api.forte.net/v3/addresses/add_ipLhxWZzkU2p4dfDG_I0RA"
      }
    },
    {
      "address_token": "add_g7gnKpd9aEGuN3s6qB8Tgg",
      "organization_id": "org_334316",
      "location_id": "loc_192642",
      "customer_token": "cst_NmI9Wlc3aUa9yYoLsBtbTw",
      "first_name": "Emmett",
      "last_name": "Brown",
      "company_name": "Brown Associates",
      "phone": "444-444-4444",
      "email": "e.brown@brown.net",
      "label": "Brown Shipping",
      "address_type": "default_shipping",
      "shipping_address_type": "residential",
      "physical_address": {
        "street_line1": "123 Hill Valley Rd.",
        "street_line2": "APT 1001",
        "locality": "Hill Valley",
        "region": "CA",
        "country": "US",
        "postal_code": "95420"
      },
      "links": {
        "self": "https://api.forte.net/v3/addresses/add_g7gnKpd9aEGuN3s6qB8Tgg"
      }
    },
    {
      "address_token": "add_0YP3dXBvEUupRmN8oBqzIg",
      "organization_id": "org_334316",
      "location_id": "loc_192642",
      "customer_token": "cst_N5I5RGuPu0u6IjZLw0Re5Q",
      "first_name": "Jennifer",
      "last_name": "McFly",
      "company_name": "McFly's McCreations",
      "phone": "444-444-4444",
      "email": "e.brown@brown.net",
      "label": "Brown Shipping",
      "address_type": "default_shipping",
      "shipping_address_type": "residential",
      "physical_address": {
        "street_line1": "123 Hill Valley Rd.",
        "street_line2": "APT 1001",
        "locality": "Hill Valley",
        "region": "CA",
        "country": "US",
        "postal_code": "95420"
      },
      "links": {
        "self": "https://api.forte.net/v3/addresses/add_0YP3dXBvEUupRmN8oBqzIg"
      }
    },
    {
      "address_token": "add_6jpyQMMQ9UysAu7Gkh0JmA",
      "organization_id": "org_334316",
      "location_id": "loc_192642",
      "customer_token": "cst_h_TrrHANEU6XjmMV_EMVrA",
      "first_name": "Marty",
      "last_name": "McFly",
      "company_name": "Brown Associates",
      "phone": "444-444-4444",
      "email": "m.mcfly@brown.net",
      "label": "Shipping",
      "address_type": "none",
      "shipping_address_type": "commercial",
      "physical_address": {
        "street_line1": "8003 Clock Tower Ln",
        "street_line2": "Suite 200",
        "locality": "Hill Valley",
        "region": "CA",
        "country": "US",
        "postal_code": "95420"
      },
      "links": {
        "self": "https://api.forte.net/v3/addresses/add_6jpyQMMQ9UysAu7Gkh0JmA"
      }
    }
  ],
  "response": {
    "environment": "live",
    "response_desc": "Get Successful."
  },
  "links": {
    "self": "https://api.forte.net/v3/addresses/",
    "next": "https://api.forte.net/v3/addresses/?page_index=1"
  }
}
				
			

PUT Update an Address (Simple)

				
					{{baseURI}}/organizations/org_{{organizationID}}/locations/loc_{{locationID}}/customers/cst_{{customertoken}}/addresses/add_{{addresstoken}}
				
			

This URI updates the specified address record.

AUTHORIZATION Basic Auth
Username      {{apiaccessid}}
Password       {{apisecurekey}}
Body raw
				
					{
       "physical_address": {
          "street_line1": "8003 Clock Tower Ln",
          "street_line2": "Suite 101",
          "locality": "Hill Valley",
          "region": "CA",
          "country": "US"
       }
}
				
			

Example Request

				
					curl --location -g --request PUT 'https://api.forte.net/v3/organizations/org_{{organizationID}}/locations/loc_{{locationID}}/customers/cst_{{customertoken}}/addresses/add_{{addresstoken}}' \
--header 'Authorization: {{Authorization}}' \
--header 'Accept: application/json' \
--header 'X-Forte-Auth-Organization-Id: org_{{AuthOrganizationID}}' \
--header 'Content-Type: application/json' \
--data '{
       "physical_address": {
          "street_line1": "8003 Clock Tower Ln",
          "street_line2": "Suite 101",
          "locality": "Hill Valley",
          "region": "CA",
          "country": "US"
       }
}'
				
			

Example Response

				
					{
  "address_token": "add_KDbwcbrv-Uu6eSSn1rBl6A",
  "location_id": "loc_192642",
  "customer_token": "cst_h_TrrHANEU6XjmMV_EMVrA",
  "physical_address": {
    "street_line1": "8003 Clock Tower Ln",
    "street_line2": "Suite 101",
    "locality": "Hill Valley",
    "region": "CA",
    "country": "US"
  },
  "response": {
    "environment": "live",
    "response_desc": "Update Successful."
  },
  "links": {
    "self": "https://api.forte.net/v3/addresses/add_KDbwcbrv-Uu6eSSn1rBl6A"
  }
}
				
			

PUT Update an Address

				
					{{baseURI}}/organizations/org_{{organizationID}}/locations/loc_{{locationID}}/customers/cst_{{customertoken}}/addresses/add_{{addresstoken}}
				
			

This URI updates the specified address record.

AUTHORIZATION Basic Auth
Username      {{apiaccessid}}
Password       {{apisecurekey}}
Body raw
				
					{
       "label": "Shipping",
       "first_name": "Jennifer",
       "last_name": "Parker-McFly",
       "company_name": "Brown Associates",
       "phone": "444-444-4444",
       "email": "j.mcfly@brown.net",
       "shipping_address_type": "commercial",
       "address_type": "none",
       "physical_address": {
          "street_line1": "58003 Clock Tower Ln",
          "street_line2": "Suite 101",
          "locality": "Hill Valley",
          "region": "CA",
          "postal_code": "95420",
          "country": "US"
       }
}
				
			

Example Request

				
					curl --location -g --request PUT 'https://api.forte.net/v3/organizations/org_{{organizationID}}/locations/loc_{{locationID}}/customers/cst_{{customertoken}}/addresses/add_{{addresstoken}}' \
--header 'Authorization: {{Authorization}}' \
--header 'Accept: application/json' \
--header 'X-Forte-Auth-Organization-Id: org_{{AuthOrganizationID}}' \
--header 'Content-Type: application/json' \
--data-raw '{
       "label": "Shipping",
       "first_name": "Jennifer",
       "last_name": "Parker-McFly",
       "company_name": "Brown Associates",
       "phone": "444-444-4444",
       "email": "j.mcfly@brown.net",
       "shipping_address_type": "commercial",
       "address_type": "none",
       "physical_address": {
          "street_line1": "58003 Clock Tower Ln",
          "street_line2": "Suite 101",
          "locality": "Hill Valley",
          "region": "CA",
          "postal_code": "95420",
          "country": "US"
       }
}'
				
			

Example Response

				
					{
  "address_token": "add_KDbwcbrv-Uu6eSSn1rBl6A",
  "location_id": "loc_192642",
  "customer_token": "cst_h_TrrHANEU6XjmMV_EMVrA",
  "first_name": "Jennifer",
  "last_name": "Parker-McFly",
  "company_name": "Brown Associates",
  "phone": "444-444-4444",
  "email": "j.mcfly@brown.net",
  "label": "Shipping",
  "address_type": "none",
  "shipping_address_type": "commercial",
  "physical_address": {
    "street_line1": "58003 Clock Tower Ln",
    "street_line2": "Suite 101",
    "locality": "Hill Valley",
    "region": "CA",
    "postal_code": "95420",
    "country": "US"
  },
  "response": {
    "environment": "live",
    "response_desc": "Update Successful."
  },
  "links": {
    "self": "https://api.forte.net/v3/addresses/add_KDbwcbrv-Uu6eSSn1rBl6A"
  }
}
				
			

DELETE Address

				
					{{baseURI}}/organizations/org_{{organizationID}}/locations/loc_{{locationID}}/addresses/add_{{addresstoken}}
				
			

Deletes the address associated with the specified address_token.

AUTHORIZATION Basic Auth
Username      {{apiaccessid}}
Password       {{apisecurekey}}

Example Request

				
					curl --location -g --request DELETE 'https://api.forte.net/v3/organizations/org_{{organizationID}}/locations/loc_{{locationID}}/addresses/add_{{addresstoken}}' \
--header 'Authorization: {{Authorization}}' \
--header 'Accept: application/json' \
--header 'X-Forte-Auth-Organization-Id: org_{{AuthOrganizationID}}' \
--data ''
				
			

Example Response

				
					{
  "address_token": "add_Tbd16HBMkUGmblYf3lfMdA",
  "location_id": "loc_192642",
  "response": {
    "environment": "live",
    "response_desc": "Delete Successful."
  }
}
				
			

Applications

The applications object enables Forte partners to create merchant applications and submit them automatically to Forte's Underwriting and decisioning queues. Partners can upload supporting documentation for applications using the documents object.

Applications Object

The applications object enables Forte partners to create merchant applications and submit them automatically to Forte's Underwriting and decisioning queues. Partners can upload supporting documentation for applications using the documents object.

Parameter

Description

Type

Req

fee_id

The ID of the rate plan, which details the fee values that Forte will charge the merchant. [max length = 6]

string

R

source_ip

The IP Address from which the merchant is applying. [max length = 80]

string

R

annual_volume

The anticipated annual volume of the business. [max length = 10]

double

R

average_transaction_amount

The average transaction amount of the business. NOTE: When testing, use this parameter to test success and fail responses. Passing a value greater than 10,000 in this field will trigger an automatic decline in the test environment. [max length = 5]

double

R

market_type


The method by which the business captures the majority of its transactions. Options for this parameter include the following values:


- internet
- phone
- mail
- point_of_sale

string

R

t_and_c_version

The version of Forte's Terms and Conditions provided to the applying merchant. NOTE: This must match the version associated with the Rate Plan (fee_id).

string

R

t_and_c_time_stamp

The date and/or timestamp when the merchant agreed to Forte's Terms and Conditions. [max length = 20] NOTE: The value of this field can be up to one full day in the future. The following formats are supported:


- YYY/MM/DD, MMDDYYYY
- YYYY-MM-            DDTHH:MM:SSZ, YYYYMM-DDTHH:MM:SS

datetime

R

risk_session_id


A random unique code that partners generate on their client form and include in the API request call prior to sending the application (e.g., s3AH5fDIdXjI7y1disbZChw8Qrgl6Bz7uKZLjRrgNhYmu
WApi2FhdhB5wW4MgqknPHx1WR7s4RX1vWs).

The value of the risk_session_id parameter can be up to 128 characters long and can only consist of the following characters:


- Upper and lowercase English letters (a–z or A–Z)
- Digits (0–9)
- Underscore or hyphen (_ or -)



The script that generates the risk_session_id value must be embedded on a page where the user will be for five or more seconds. For profiling to properly occur, the session must run on the applicant's browser for a minimum of five seconds. Additionally, the applicant's browser or front-end software must have javascript enabled. See the note below. [max length = 128bytes]

string

R

maximum_transaction_amount

The maximum allowable amount for a credit card or ACH transaction.

double

O

average_payable_amount

The average amount the merchant disburses in credit transactions (e.g., refunds, payroll, commissions, etc). NOTE: If either the average_payable_amount,maximum_payable_amount, or the monthly_payable_volume parameters are passed, all three parameters become required.

double

C

maximum_payable_amount

The maximum amount the merchant would disburse in a credit transaction (e.g., refunds, payroll, commissions, etc.). NOTE: If either the average_payable_amount,maximum_payable_amount, or the monthly_payable_volume parameters are passed, all three parameters become required.

double

C

monthly_payable_volume

An estimate of the amount the merchant disburses in credit transactions each month (e.g., refunds, payroll, commissions, etc). NOTE: If either the average_payable_amount,maximum_payable_amount, or the monthly_payable_volume parameters are passed, all three parameters become required.

double

C

received_date

The date and time when the application was received.

datetime

--

updated_date

The date and time when the application was last updated.

datetime

--

sales_rep

The name or ID of the sales representative associated with this application.

string

--

location_id

The merchant's location ID that Forte created after enrolling the applicant.

string

--

status


The status of the application. Supported values include the following:


approved - Forte has approved the application and sent the merchant's data to the enrollment queue.
pending - Forte's Credit and Risk Team needs to review the application and may request additional documentation from the merchant.
declined - The application failed one or more automated underwriting checks and Forte has declined to move forward with the merchant. The reason for the decline displays in the decline_reason field.

• enrolled - Merchant has completed enrollment and is ready to process transactions.

• rejected - Forte is unable to verify the identity data of an application or cannot authenticate the banking data or signatures. The reason for the rejected status displays in the rejected_reason dield.

• recalled - The applicant has stopped responding to requests for information from Forte or the Partner. The reason for the recalled status displays in the recalled_reason field.


decline_reason field.

enrrolled -

string

--

decline_reason

The reason for a declined status. Supported values include the following:


- credit_locked
- ssn_mismatch
- tincheck_failure
- identity
- type_of_business
- credit
- reputation

string

--

applicant_organization

The Applicant Organization Object.

object

R

applicant_organization.legal_name

The legal name of the business. The value of this parameter must match the name associated with the merchant's Tax ID Number. [max length = 50].

string

R

applicant_organization.tax_id_number

The Tax ID Number of the business (e.g., TIN, EIN, SSN, etc.). The following formats are supported [max length = 30]:


SSN = XXXXXXXXX, XXX-XX-XXXX
ITIN = 9XXXXXXXX, 9XX-XX-XXXX
EIN = XXXXXXXXX, XX-XXXXXXX

string

R

applicant_organization.legal_structure


The ownership type of the business. Options for this parameter include the following values:


- c_corporation
- government
-  limited_liability_corporation
partnership_general_or_limited
- publicly_held_corporation
- s_corporation
- sole_proprietorship
- tax_exempt_or_non_profit_organization

string

R

applicant_organization.dba_name

The name of the business as it will appear on your customer's statements. The default value for this parameter is the DBA (Doing Business As) Name. [max length = 50].

string

R

applicant_organization.organization_id

The merchant organization ID that Forte created after enrolling the applicant.

string

--

applicant_organization.street_address1

The physical address of the business. This parameter cannot contain P.O. boxes, including paid mailbox services provided by companies like the UPS Store. [max length = 50]

string

R

applicant_organization.locality

The city where the business is located. [max length = 50]

string

R

applicant_organization.region

The state or province where the business is located. [max length = 2]

string

R

applicant_organization.postal_code


The zip/postal code of the business. The following formats are supported [max length = 15]:


XXXXX
XXXXX-XXXX

string

R

applicant_organization.customer_service_phone

The customer service phone number of the business. [max length = 12]

string

R

applicant_organization.website

The website of the business. The value of this parameter must be in www.yourcompanysite.com format. The www prefix is required. Slashes and underscore punctuation are allowed in the URL. [max length = 100]

string

R

applicant_organization.business_type

The type of business. See Forte's list of Business Classification Codes. [max length = 50]

string

R

applicant_organization.bank_account_type


The type of bank account. This bank account can only be a business checking or business savings account; it cannot be the applicant's personal checking or personal savings account. The following values are supported:


- checking
- savings

string

O

applicant_organization.bank_routing_number

The transit routing number (TRN) of the merchant's bank. This field supports both U.S. and Canadian routing numbers. NOTE: A Canadian routing number displayed on a check needs to be reformatted differently for electronic payments. If a check displays a routing number as BBBBB-AAA (where AAA indicates the Financial Institution and BBBBB is the branch), then the routing number must be changed to 0AAABBBBB to process the payment electronically. For example, if a check from an account issued by the Bank of Montreal showed the routing number 00011-001, then that number would need to be reformatted to 000100011 for the payment to be electronically processed. Click here for a directory of Canadian financial institutions. This field is required when creating or updating a new record and can only contain digits. [max length = 9].

string

R

applicant_organization.bank_account_number

The account number (i.e., DDA) of the applicant's business bank account. The value of this parameter can only contain digits. [max length = 17]

string

R

owner

The primary owner object. All applications must include at least one primary owner. This owner must be the controller of the business.

object

R

owner.percentage


Indicates the percentage of the business owned by the primary owner (i.e., maximum ownership percentage = 100). NOTES:


- The sum of owner.percentage, owner_2.percentage, owner_3.percentage, and owner_4.percentage cannot be greater than 100.
- This field is NOT required for the following legal structures:

  -  government
  -  sole_proprietorship
 - publicly_held_corporation

double

R

owner.title


The primary owner’s official title at the company. Supported values include the following:


ceo
cfo
coo
managing_member
general_partner
president
vice_president
treasurer
other

string

R

owner.first_name

The first name of the account owner. [max length = 50]

string

R

owner.last_name

The last name of the account owner. [max length = 50]

string

R

owner.street_address1

The home address of the account owner. [max length = 50]

string

R

owner.locality

The city of the account owner's home address. [max length = 50]

string

R

owner.region

The state or province of the account owner's home address. [max length = 2]

string

R

owner.postal_code

The zip/postal code of the account owner's home address. [max length = 15]

string

R

owner.country



The country code of the account owner's home address NOTE: This field is NOT required for the following legal structures:


government
sole_proprietorship
publicly_held_corporation



[max length = 3]

string

R

owner.citizenship



The country code of the account owner's country of citizenship. NOTE: This field is NOT required for the following legal structures:


government
sole_proprietorship
publicly_held_corporation



[max length=3]

string

R

owner.email_address

The business email of the account owner. This email address cannot be a generic email address or a distribution list. The value of this parameter must be in a valid email format (e.g., john.doe@email.com). [max length = 100]

string

R

owner.mobile_phone

The cell phone number of the account owner. The value of this parameter can be up to 15 characters (with country code).

string

R

owner.last4_ssn

The last four digits of the account owner's Social Security Number (SSN). [max length = 4]

string

R

owner.date_of_birth

The birth date of the account owner in YYYY/MM/DD format. [max length = 10]

date

R

owner_2

The secondary owner object.NOTE: This object is only required for American merchants with additional owner(s) who own at least 25% of the business. Addtionally, do not pass this object for merchants set up in the following legal structures:


government
sole_proprietorship
publicly_held_corporation

object

C

owner_2.percentage

Indicates the percentage of the business owned by the secondary owner. This value must be 25 or greater.

double

C

owner_2.first_name

The first name of the account owner. [max length = 50]

string

C

owner_2.last_name

The last name of the account owner. [max length = 50]

string

C

owner_2.street_address1

The home address of the account owner. [max length = 50]

string

C

owner_2.locality

The city of the account owner's home address. [max length = 50]

string

C

owner_2.region

The state or province of the account owner's home address. [max length = 2]

string

C

owner_2.postal_code

The zip/postal code of the account owner's home address. [max length = 15]

string

C

owner_2.country

The country code of the account owner's home address. [max length=3]

string

C

owner_2.citizenship

The country code of the account owner's country of citizenship. [max length=3]

string

C

owner_2.email_address

The business email of the account owner. This email address cannot be a generic email address or a distribution list. The value of this parameter must be in a valid email format (e.g., john.doe@email.com). [max length = 100]

string

C

owner_2.mobile_phone

The cell phone number of the account owner. The value of this parameter can be up to 15 characters (with country code).

string

C

owner_2.last4_ssn

The last four digits of the account owner's Social Security Number (SSN). [max length = 4]

string

C

owner_2.date_of_birth

The birth date of the account owner in YYYY/MM/DD format. [max length = 10]

date

C

owner_3


The tertiary owner object. NOTE: This object is only required for American merchants with additional owner(s) who own at least 25% of the business. Addtionally, do not pass this object for merchants set up in the following legal structures:


government
sole_proprietorship
publicly_held_corporation

object

C

owner_3.percentage

Indicates the percentage of the business owned by the tertiary owner. This value must be 25 or greater.

double

C

owner_3.first_name

The first name of the account owner. [max length = 50]

string

C

owner_3.last_name

The last name of the account owner. [max length = 50]

string

C

owner_3.street_address1

The home address of the account owner. [max length = 50]

string

C

owner_3.locality

The city of the account owner's home address. [max length = 50]

string

C

owner_3.region

The state or province of the account owner's home address. [max length = 2]

string

C

owner_3.postal_code

The zip/postal code of the account owner's home address. [max length = 15]

string

C

owner_3.country

The country code of the account owner's home address. [max length=3]

string

C

owner_3.citizenship

The country code of the account owner's country of citizenship. [max length=3]

string

C

owner_3.email_address

The business email of the account owner. This email address cannot be a generic email address or a distribution list. The value of this parameter must be in a valid email format (e.g., john.doe@email.com). [max length = 100]

string

C

owner_3.mobile_phone

The cell phone number of the account owner. The value of this parameter can be up to 15 characters (with country code).

string

C

owner_3.last4_ssn

The last four digits of the account owner's Social Security Number (SSN). [max length = 4]

string

C

owner_3.date_of_birth

The birth date of the account owner in YYYY/MM/DD format. [max length = 10]

date

C

owner_4


The quaternary owner object. NOTE: This object is only required for American merchants with additional owner(s) who own at least 25% of the business. Addtionally, do not pass this object for merchants set up in the following legal structures:


government
sole_proprietorship
publicly_held_corporation

object

C

owner_4.percentage

Indicates the percentage of the business owned by the quaternary owner. This value must be 25 or greater.

double

C

owner_4.first_name

The first name of the account owner. [max length = 50]

string

C

owner_4.last_name

The last name of the account owner. [max length = 50]

string

C

owner_4.street_address1

The home address of the account owner. [max length = 50]

string

C

owner_4.locality

The city of the account owner's home address. [max length = 50]

string

C

owner_4.region

The state or province of the account owner's home address. [max length = 2]

string

C

owner_4.postal_code

The zip/postal code of the account owner's home address. [max length = 15]

string

C

owner_4.country

The country code of the account owner's home address. [max length=3]

string

C

owner_4.citizenship

The country code of the account owner's country of citizenship. [max length=3]

string

C

owner_4.email_address

The business email of the account owner. This email address cannot be a generic email address or a distribution list. The value of this parameter must be in a valid email format (e.g., john.doe@email.com). [max length = 100]

string

C

owner_4.mobile_phone

The cell phone number of the account owner. The value of this parameter can be up to 15 characters (with country code).

string

C

owner_4.last4_ssn

The last four digits of the account owner's Social Security Number (SSN). [max length = 4]

string

C

owner_4.date_of_birth

The birth date of the account owner in YYYY/MM/DD format. [max length = 10]

date

C

gateway

The gateway object. Use for gateway-only merchant applications.

object

C

gateway.provider

The processor the gateway-only merchant will use. Supported options include the following:


vantiv
global
vital
firstdata
Elavon
Chase

string

C

gateway.bank_id_number

The banking ID associated with Vantiv, Global, or Vital merchants.

string

C

gateway.merchant_id

The merchant ID associated with Vantiv, Global, or FirstData merchants.

string

C

gateway.terminal_id

The terminal ID associated with Global, Vital, or FirstData merchants.

string

C

gateway.agent

The Agent number associated with Vital merchants.

string

C

gateway.chain

The Chain number associated with Vantiv or Vital merchants.

string

C

gateway.store

The Store number associated with Vantiv or Vital merchants.

string

C

gateway.terminal

The Terminal number associated with Vital merchants.

string

C

NOTE: The following PHP code sample uses the uniqid() function to generate the risk_session_id value:

				
					{
  "address_token": "add_Tbd16HBMkUGmblYf3lfMdA",
  "location_id": "loc_192642",
  "response": {
    "environment": "live",
    "response_desc": "Delete Successful."
  }
}
				
			

To add this parameter to the applications object, complete the following steps:

STEP 1: Generate a unique risk_session_id code that fulfills the formatting requirements described above by using the PHP code sample provided or an alternative method.

STEP 2: Add the generated value to the following script (i.e., in place of UNIQUE_SESSION_ID). This script can be executed only once by the applicant’s browser.

				
					<script data-minify="1" type="text/javascript" src="https://developers.forte.net/wp-content/cache/min/1/fp/tags.js?ver=1715133984" defer> 
</script> 
<noscript> 
<iframe style="width: 100px; height: 100px; border: 0;position: absolute; top: -5000px;"  data-src="https://img3.forte.net/tags?org_id=xdzpgyj7&session_id=UNIQUE_SESSION_ID&pageid=1" class="lazyload" src="data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==">
</iframe> 
</noscript>
				
			

STEP 3: When generating the applications POST request, assign the unique code value created in step 1 to the risk_session_id parameter.

STEP 4: Submit the application.

POST Application

				
					{{baseURI}}/organizations/org_{{organizationID}}/applications/
				
			

This URI creates the merchant application, routes the information to Forte’s Underwriting and decisioning queues, and returns one of the following status codes:

  • approved

  • pending

  • declined

  • enrolled

  • rejected

  • recalled

NOTE: The organization_id referenced in this URI must be the home_organization_id of the Partner.

AUTHORIZATION Basic Auth
Username      {{apiaccessid}}
Password       {{apisecurekey}}
Body raw
				
					{
       "fee_id": 1648,
       "source_ip":"55.5.55.555",
       "annual_volume":"100000", 
       "average_transaction_amount": "10000",
       "maximum_transaction_amount":"5000",
       "average_payable_amount":"2500",
       "maximum_payable_amount":"10000",
       "monthly_payable_volume":"1000",
       "market_type":"internet",
       "t_and_c_version" : "Tc1",
       "t_and_c_time_stamp": "4/3/2016",
       "risk_session_id":"s3AH5fDIdXjI7y1disbZChw8Qrgl6Bz7uKZLjRrgNhYmuWApi2FhdhB5wW4MgqknPHx1WR7s4RX1vWs",
       "applicant_organization": {
          "legal_name":"George McFly Enterprises",
          "tax_id_number":"123456789",
          "legal_structure":"partnership_general_or_limited",
          "dba_name":"GMF Enterprises",
          "street_address1":"503 DeLorean Way",
          "locality":"Hill Valley",
          "region":"CA",
          "postal_code":"95420-4344",
          "customer_service_phone":"5555236987",
          "website":"www.GMFEnterprises.com",
          "business_type":"A10100",
          "bank_routing_number":"211170101",
          "bank_account_number":"121245611",
          "bank_account_type":"checking"
       },
       "owner": {
          "first_name":"George",
          "last_name":"McFly",
          "title:"ceo",
          "street_address1":"49 Great Scott! Drive",
          "locality":"Hill Valley", 
          "region":"CA",
          "postal_code":"95420-4345",
          "country": "USA",
          "citizenship": "USA",
          "email_address":"george.mcfly@GMFEnterprises.com",
          "mobile_phone":"214-448-5393",
          "last4_ssn":"6789",
          "date_of_birth":"3/3/1938",
          "percentage":"40"
       },
       "owner_2": {
          "first_name":"Marty",
          "last_name":"McFly",
          "street_address1":"52 Great Scott! Drive",
          "locality":"Hill Valley", 
          "region":"CA",
          "postal_code":"95420-4345",
          "country": "USA",
          "citizenship": "USA",
          "email_address":"martin.mcfly@GMFEnterprises.com",
          "mobile_phone":"972-712-3019",
          "last4_ssn":"5896",
          "date_of_birth":"11/3/1969",
          "percentage":"30"
       },
       "owner_3": {
          "first_name":"Jennifer",
          "last_name":"McFly",
          "street_address1":"54 Great Scott! Drive",
          "locality":"Hill Valley", 
          "region":"CA",
          "postal_code":"95420-4345",
          "country": "USA",
          "citizenship": "USA",
          "email_address":"j.mcfly@GMFEnterprises.com",
          "mobile_phone":"469-222-0608",
          "last4_ssn":"4455",
          "date_of_birth":"8/31/1969",
          "percentage":"30"
       }
}   
				
			

Example Request

				
					{
       "fee_id": 1648,
       "source_ip":"55.5.55.555",
       "annual_volume":"100000", 
       "average_transaction_amount": "10000",
       "maximum_transaction_amount":"5000",
       "average_payable_amount":"2500",
       "maximum_payable_amount":"10000",
       "monthly_payable_volume":"1000",
       "market_type":"internet",
       "t_and_c_version" : "Tc1",
       "t_and_c_time_stamp": "4/3/2016",
       "risk_session_id":"s3AH5fDIdXjI7y1disbZChw8Qrgl6Bz7uKZLjRrgNhYmuWApi2FhdhB5wW4MgqknPHx1WR7s4RX1vWs",
       "applicant_organization": {
          "legal_name":"George McFly Enterprises",
          "tax_id_number":"123456789",
          "legal_structure":"partnership_general_or_limited",
          "dba_name":"GMF Enterprises",
          "street_address1":"503 DeLorean Way",
          "locality":"Hill Valley",
          "region":"CA",
          "postal_code":"95420-4344",
          "customer_service_phone":"5555236987",
          "website":"www.GMFEnterprises.com",
          "business_type":"A10100",
          "bank_routing_number":"211170101",
          "bank_account_number":"121245611",
          "bank_account_type":"checking"
       },
       "owner": {
          "first_name":"George",
          "last_name":"McFly",
          "title:"ceo",
          "street_address1":"49 Great Scott! Drive",
          "locality":"Hill Valley", 
          "region":"CA",
          "postal_code":"95420-4345",
          "country": "USA",
          "citizenship": "USA",
          "email_address":"george.mcfly@GMFEnterprises.com",
          "mobile_phone":"214-448-5393",
          "last4_ssn":"6789",
          "date_of_birth":"3/3/1938",
          "percentage":"40"
       },
       "owner_2": {
          "first_name":"Marty",
          "last_name":"McFly",
          "street_address1":"52 Great Scott! Drive",
          "locality":"Hill Valley", 
          "region":"CA",
          "postal_code":"95420-4345",
          "country": "USA",
          "citizenship": "USA",
          "email_address":"martin.mcfly@GMFEnterprises.com",
          "mobile_phone":"972-712-3019",
          "last4_ssn":"5896",
          "date_of_birth":"11/3/1969",
          "percentage":"30"
       },
       "owner_3": {
          "first_name":"Jennifer",
          "last_name":"McFly",
          "street_address1":"54 Great Scott! Drive",
          "locality":"Hill Valley", 
          "region":"CA",
          "postal_code":"95420-4345",
          "country": "USA",
          "citizenship": "USA",
          "email_address":"j.mcfly@GMFEnterprises.com",
          "mobile_phone":"469-222-0608",
          "last4_ssn":"4455",
          "date_of_birth":"8/31/1969",
          "percentage":"30"
       }
}   
				
			

Example Response

				
					{
       "fee_id": 1648,
       "source_ip":"55.5.55.555",
       "annual_volume":"100000", 
       "average_transaction_amount": "10000",
       "maximum_transaction_amount":"5000",
       "average_payable_amount":"2500",
       "maximum_payable_amount":"10000",
       "monthly_payable_volume":"1000",
       "market_type":"internet",
       "t_and_c_version" : "Tc1",
       "t_and_c_time_stamp": "4/3/2016",
       "risk_session_id":"s3AH5fDIdXjI7y1disbZChw8Qrgl6Bz7uKZLjRrgNhYmuWApi2FhdhB5wW4MgqknPHx1WR7s4RX1vWs",
       "applicant_organization": {
          "legal_name":"George McFly Enterprises",
          "tax_id_number":"123456789",
          "legal_structure":"partnership_general_or_limited",
          "dba_name":"GMF Enterprises",
          "street_address1":"503 DeLorean Way",
          "locality":"Hill Valley",
          "region":"CA",
          "postal_code":"95420-4344",
          "customer_service_phone":"5555236987",
          "website":"www.GMFEnterprises.com",
          "business_type":"A10100",
          "bank_routing_number":"211170101",
          "bank_account_number":"121245611",
          "bank_account_type":"checking"
       },
       "owner": {
          "first_name":"George",
          "last_name":"McFly",
          "title:"ceo",
          "street_address1":"49 Great Scott! Drive",
          "locality":"Hill Valley", 
          "region":"CA",
          "postal_code":"95420-4345",
          "country": "USA",
          "citizenship": "USA",
          "email_address":"george.mcfly@GMFEnterprises.com",
          "mobile_phone":"214-448-5393",
          "last4_ssn":"6789",
          "date_of_birth":"3/3/1938",
          "percentage":"40"
       },
       "owner_2": {
          "first_name":"Marty",
          "last_name":"McFly",
          "street_address1":"52 Great Scott! Drive",
          "locality":"Hill Valley", 
          "region":"CA",
          "postal_code":"95420-4345",
          "country": "USA",
          "citizenship": "USA",
          "email_address":"martin.mcfly@GMFEnterprises.com",
          "mobile_phone":"972-712-3019",
          "last4_ssn":"5896",
          "date_of_birth":"11/3/1969",
          "percentage":"30"
       },
       "owner_3": {
          "first_name":"Jennifer",
          "last_name":"McFly",
          "street_address1":"54 Great Scott! Drive",
          "locality":"Hill Valley", 
          "region":"CA",
          "postal_code":"95420-4345",
          "country": "USA",
          "citizenship": "USA",
          "email_address":"j.mcfly@GMFEnterprises.com",
          "mobile_phone":"469-222-0608",
          "last4_ssn":"4455",
          "date_of_birth":"8/31/1969",
          "percentage":"30"
       }
}   
				
			

POST Gateway-Only Application

				
					{{baseURI}}/organizations/org_{{organizationID}}/applications/
				
			

This URI creates an application for gateway-only merchants and places it into an approved status.

NOTE: The organization_id referenced in this URI must be the home_organization_id of the Partner.

AUTHORIZATION Basic Auth
Username      {{apiaccessid}}
Password       {{apisecurekey}}
Body raw
				
					{
       "fee_id": 1648,
       "source_ip":"55.5.55.555",
       "annual_volume":"100000", 
       "average_transaction_amount": "10000",
       "maximum_transaction_amount":"5000",
       "average_payable_amount":"2500",
       "maximum_payable_amount":"10000",
       "monthly_payable_volume":"1000",
       "market_type":"internet",
       "t_and_c_version" : "Tc1",
       "t_and_c_time_stamp": "4/3/2016",
       "risk_session_id":"s%3AH5fDIdXjI7y1disbZChw8Qrgl6Bz7uKZ.LjRrgNhYmuWApi%2FhdhB5wW4MgqknPHx1WR7s4RX1vWs",
       "applicant_organization": {
          "legal_name":"George McFly Enterprises",
          "tax_id_number":"123456789",
          "legal_structure":"partnership_general_or_limited",
          "dba_name":"GMF Enterprises",
          "street_address1":"503 DeLorean Way",
          "locality":"Hill Valley",
          "region":"CA",
          "postal_code":"95420-4344",
          "customer_service_phone":"5555236987",
          "website":"www.GMFEnterprises.com",
          "business_type":"A10100",
          "bank_routing_number":"211170101",
          "bank_account_number":"121245611",
          "bank_account_type":"checking"
       },
       "owner": {
          "first_name":"George",
          "last_name":"McFly",
          "street_address1":"49 Great Scott! Drive",
          "locality":"Hill Valley", 
          "region":"CA",
          "postal_code":"95420-4345",
          "country": "USA",
          "citizenship": "USA",
          "email_address":"george.mcfly@GMFEnterprises.com",
          "mobile_phone":"214-448-5393",
          "last4_ssn":"6789",
          "date_of_birth":"3/3/1938",
          "percentage":"40"
       },
       "owner_2": {
          "first_name":"Marty",
          "last_name":"McFly",
          "street_address1":"52 Great Scott! Drive",
          "locality":"Hill Valley", 
          "region":"CA",
          "postal_code":"95420-4345",
          "country": "USA",
          "citizenship": "USA",
          "email_address":"martin.mcfly@GMFEnterprises.com",
          "mobile_phone":"972-712-3019",
          "last4_ssn":"5896",
          "date_of_birth":"11/3/1969",
          "percentage":"30"
       },
       "owner_3": {
          "first_name":"Jennifer",
          "last_name":"McFly",
          "street_address1":"54 Great Scott! Drive",
          "locality":"Hill Valley", 
          "region":"CA",
          "postal_code":"95420-4345",
          "country": "USA",
          "citizenship": "USA",
          "email_address":"j.mcfly@GMFEnterprises.com",
          "mobile_phone":"469-222-0608",
          "last4_ssn":"4455",
          "date_of_birth":"8/31/1969",
          "percentage":"30"
       },
       "gateway": {
    	  "provider": "firstdata",
    	  "bank_id_number": "",
    	  "merchant_id": "987456321",
    	  "terminal_id": "123456789",
    	  "agent": "",
    	  "chain": "",
    	  "store": "",
    	  "terminal": ""
    	}
}
				
			

Example Request

				
					curl --location -g '{{baseURI}}/v3/organizations/org_{{organizationID}}/applications/' \
--header 'Authorization: {{Authorization}}' \
--header 'Accept: application/json' \
--header 'X-Forte-Auth-Organization-Id: org_{{AuthOrganizationID}}' \
--header 'Content-Type: application/json' \
--data-raw '{
       "fee_id": 1648,
       "source_ip":"55.5.55.555",
       "annual_volume":"100000", 
       "average_transaction_amount": "10000",
       "maximum_transaction_amount":"5000",
       "average_payable_amount":"2500",
       "maximum_payable_amount":"10000",
       "monthly_payable_volume":"1000",
       "market_type":"internet",
       "t_and_c_version" : "Tc1",
       "t_and_c_time_stamp": "4/3/2016",
       "risk_session_id":"s%3AH5fDIdXjI7y1disbZChw8Qrgl6Bz7uKZ.LjRrgNhYmuWApi%2FhdhB5wW4MgqknPHx1WR7s4RX1vWs",
       "applicant_organization": {
          "legal_name":"George McFly Enterprises",
          "tax_id_number":"123456789",
          "legal_structure":"partnership_general_or_limited",
          "dba_name":"GMF Enterprises",
          "street_address1":"503 DeLorean Way",
          "locality":"Hill Valley",
          "region":"CA",
          "postal_code":"95420-4344",
          "customer_service_phone":"5555236987",
          "website":"www.GMFEnterprises.com",
          "business_type":"A10100",
          "bank_routing_number":"211170101",
          "bank_account_number":"121245611",
          "bank_account_type":"checking"
       },
       "owner": {
          "first_name":"George",
          "last_name":"McFly",
          "street_address1":"49 Great Scott! Drive",
          "locality":"Hill Valley", 
          "region":"CA",
          "postal_code":"95420-4345",
          "country": "USA",
          "citizenship": "USA",
          "email_address":"george.mcfly@GMFEnterprises.com",
          "mobile_phone":"214-448-5393",
          "last4_ssn":"6789",
          "date_of_birth":"3/3/1938",
          "percentage":"40"
       },
       "owner_2": {
          "first_name":"Marty",
          "last_name":"McFly",
          "street_address1":"52 Great Scott! Drive",
          "locality":"Hill Valley", 
          "region":"CA",
          "postal_code":"95420-4345",
          "country": "USA",
          "citizenship": "USA",
          "email_address":"martin.mcfly@GMFEnterprises.com",
          "mobile_phone":"972-712-3019",
          "last4_ssn":"5896",
          "date_of_birth":"11/3/1969",
          "percentage":"30"
       },
       "owner_3": {
          "first_name":"Jennifer",
          "last_name":"McFly",
          "street_address1":"54 Great Scott! Drive",
          "locality":"Hill Valley", 
          "region":"CA",
          "postal_code":"95420-4345",
          "country": "USA",
          "citizenship": "USA",
          "email_address":"j.mcfly@GMFEnterprises.com",
          "mobile_phone":"469-222-0608",
          "last4_ssn":"4455",
          "date_of_birth":"8/31/1969",
          "percentage":"30"
       }
}   '
				
			

Example Response

				
					{
  "application_id": "app_133180",
  "fee_id": "1648",
  "status": "pending",
  "annual_volume": 100000,
  "average_transaction_amount": 10000,
  "maximum_transaction_amount": 5000,
  "monthly_payable_volume": 1000,
  "average_payable_amount": 2500,
  "maximum_payable_amount": 10000,
  "source_ip": "55.5.55.555",
  "t_and_c_version": "Tc1",
  "t_and_c_time_stamp": "2016-04-03T00:00:00",
  "market_type": "internet",
  "risk_session_id": "s%3AH5fDIdXjI7y1disbZChw8Qrgl6Bz7uKZ.LjRrgNhYmuWApi%2FhdhB5wW4MgqknPHx1WR7s4RX1vWs",
  "applicant_organization": {
    "dba_name": "GMF Enterprises",
    "legal_name": "George McFly Enterprises",
    "street_address1": "503 DeLorean Way",
    "locality": "Hill Valley",
    "region": "CA",
    "postal_code": "95420-4344",
    "country": "US",
    "website": "www.GMFEnterprises.com",
    "customer_service_phone": "555-523-6987",
    "legal_structure": "partnership_general_or_limited",
    "business_type": "A10100",
    "bank_routing_number": "211170101",
    "bank_account_type": "checking"
  },
  "owner": {
    "first_name": "George",
    "last_name": "McFly",
    "last4_ssn": "6789",
    "date_of_birth": "1938-03-03T00:00:00",
    "email_address": "george.mcfly@GMFEnterprises.com",
    "mobile_phone": "214-448-5393",
    "street_address1": "49 Great Scott! Drive",
    "locality": "Hill Valley",
    "region": "CA",
    "postal_code": "95420-4345",
    "country": "USA",
    "citizenship": "US",
    "percentage": 40
  },
  "owner_2": {
    "first_name": "Marty",
    "last_name": "McFly",
    "last4_ssn": "5896",
    "date_of_birth": "1969-11-03T00:00:00",
    "email_address": "martin.mcfly@GMFEnterprises.com",
    "mobile_phone": "972-712-3019",
    "street_address1": "52 Great Scott! Drive",
    "locality": "Hill Valley",
    "region": "CA",
    "postal_code": "95420-4345",
    "country": "US",
    "citizenship": "US",
    "percentage": 30
  },
  "owner_3": {
    "first_name": "Jennifer",
    "last_name": "McFly",
    "last4_ssn": "4455",
    "date_of_birth": "1969-08-31T00:00:00",
    "email_address": "j.mcfly@GMFEnterprises.com",
    "mobile_phone": "469-222-0608",
    "street_address1": "54 Great Scott! Drive",
    "locality": "Hill Valley",
    "region": "CA",
    "postal_code": "95420-4345",
    "country": "US",
    "citizenship": "US",
    "percentage": 30
  },
  "gateway": {
    "provider": "firstdata",
    "bank_id_number": "",
    "merchant_id": "987456321",
    "terminal_id": "123456789",
    "agent": "",
    "chain": "",
    "store": "",
    "terminal": ""
  },
  "response": {
    "environment": "live",
    "response_desc": "Application submitted is pending review."
  },
  "links": {
    "documents": "https://api-live-testlan.4ta.com/v3/applications/app_133180/documents",
    "self": "https://api-live-testlan.4ta.com/v3/applications/app_133180"
  }
}
				
			

GET All Applications for an Organization

				
					{{baseURI}}/organizations/org_{{organizationID}}/applications?filter=start_received_date+eq+'2017-01-01'+and+end_received_date+eq+'2017-06-30'
				
			

This URI returns all applications submitted by the partner organization, including their current status. Supported statuses include the following:

  • `approved` – Forte has approved the application and sent the merchant’s data to the enrollment queue.

  • `pending` – Forte’s Credit and Risk Team needs to review the application and may request additional documentation from the merchant.

  • `declined` – The application failed one or more automated underwriting checks and Forte has declined to move forward with the merchant. The reason for the decline displays in the `decline_reason` field.

  • `enrolled` – Merchant has completed enrollment and is ready to process transactions.

  • `rejected` – Forte is unable to verify the identity data of an application or cannot authenticate the banking data or signatures. The reason for the rejected status displays in the reject_reason field.

  • `recalled` – The applicant has stopped responding to requests for information from Forte or the Partner. The reason for the recalled status displays in the recalled_reason field.

To narrow your search data using specific criteria, use the following filter parameters:

  • start_updated_date / end_updated_date

  • start_received_date / end_received_date

  • status

NOTES: The organization_id referenced in this URI must be the home_organization_id of the partner.

Please note that sending a request at the partner (org) level may result in a large data set and may cause timeout errors depending on the request. We recommend sending your GET request at the Merchant (Organization) level.

AUTHORIZATION Basic Auth
Username      {{apiaccessid}}
Password       {{apisecurekey}}
PARAMS
filter                start_received_date+eq+'2017-01-  01'+and+end_received_date+eq+'2017-06-30'

Example Request

				
					curl --location -g 'https://api.forte.net/v3/organizations/org_{{organizationID}}/applications?filter=start_received_date%2Beq%2B%272017-01-01%27%2Band%2Bend_received_date%2Beq%2B%272017-06-30%27' \
--header 'Authorization: {{Authorization}}' \
--header 'Accept: application/json' \
--header 'X-Forte-Auth-Organization-Id: org_{{AuthOrganizationID}}'
				
			

Example Response

				
					{
  "number_results": 2,
  "search_criteria": {
    "page_size": 50,
    "page_index": 0,
    "home_organization_id": "org_334316",
    "resource_specific": {
      "start_received_date": "2017-01-01T00:00:00",
      "end_received_date": "2017-06-30T00:00:00"
    }
  },
  "results": [
    {
      "application_id": "app_111234",
      "location_id": "loc_123000",
      "status": "declined",
      "decline_reason": "reputation",
      "fee_id": "8258",
      "source_ip": "55.5.55.555",
      "annual_volume": 100000,
      "average_transaction_amount": 10000,
      "average_payable_amount": 1000,
      "maximum_payable_amount": 6000,
      "monthly_payable_volume": 600,
      "market_type": "internet",
      "t_and_c_version": "Tc1",
      "t_and_c_time_stamp": "2/3/2017",
      "risk_session_id": "s%3AH5fDIdXjI7y1disbZChw8Qrgl6Bz7uKZ.LjRrgNhYmuWApi%2FhdhB5wW4MgqknPHx1WR7s4RX1vWs",
      "applicant_organization": {
        "organization_id": "org_123456",
        "legal_name": "Biff Tannen Innovations",
        "legal_structure": "sole_proprietorship",
        "dba_name": "BTI",
        "street_address1": "503 DeLorean Way",
        "locality": "Hill Valley",
        "region": "CA",
        "postal_code": "95420-4344",
        "customer_service_phone": "5555236987",
        "website": "www.BTInnovations.com",
        "business_type": "A10100",
        "bank_routing_number": "211170101",
        "bank_account_type": "checking"
      },
      "received_date": "2017-02-03T09:22:34.63",
      "updated_date:": "2017-02-05T03:14:43.72",
      "sales_rep": "JohnnyBGoode",
      "fee_plan": "gold",
      "owner": {
        "first_name": "Biff",
        "last_name": "Tannen",
        "street_address1": "49 Great Scott! Drive",
        "locality": "Hill Valley",
        "region": "CA",
        "postal_code": "95420-4345",
        "country": "USA",
        "citizenship": "USA",
        "email_address": "b.tannen@BTInnovations.com",
        "mobile_phone": "5555698965",
        "date_of_birth": "3/3/1968",
        "percentage": 100
      },
      "links": {
        "documents": "https://api.forte.net/v3/applications/app_111234/documents",
        "self": "https://api.forte.net/v3/applications/app_111234"
      }
    },
    {
      "application_id": "app_998877",
      "location_id": "loc_456789",
      "status": "approved",
      "fee_id": "14081",
      "source_ip": "55.5.55.555",
      "annual_volume": 100000,
      "average_transaction_amount": 10000,
      "average_payable_amount": 2500,
      "maximum_payable_amount": 10000,
      "monthly_payable_volume": 1000,
      "market_type": "internet",
      "t_and_c_version": "Tc1",
      "t_and_c_time_stamp": "5/25/2017",
      "risk_session_id": "s%3AH5fDIdXjI7y1disbZChw8Qrgl6Bz7uKZ.LjRrgNhYmuWApi%2FhdhB5wW4MgqknPHx1WR7s4RX1vWs",
      "applicant_organization": {
        "organization_id": "org_987654",
        "legal_name": "George McFly Enterprises",
        "legal_structure": "sole_proprietorship",
        "dba_name": "GMF Enterprises",
        "street_address1": "503 DeLorean Way",
        "locality": "Hill Valley",
        "region": "CA",
        "postal_code": "95420-4344",
        "customer_service_phone": "5555236987",
        "website": "www.GMFEnterprises.com",
        "business_type": "A10100",
        "bank_routing_number": "211170101",
        "bank_account_type": "checking"
      },
      "received_date": "2017-05-25T05:29:48.62",
      "updated_date:": "2017-05-27T03:22:14.31",
      "sales_rep": "JohnnyBGoode",
      "fee_plan": "gold",
      "owner": {
        "first_name": "George",
        "last_name": "McFly",
        "street_address1": "49 Great Scott! Drive",
        "locality": "Hill Valley",
        "region": "CA",
        "postal_code": "95420-4345",
        "country": "USA",
        "citizenship": "USA",
        "email_address": "george.mcfly@GMFEnterprises.com",
        "mobile_phone": "5555698965",
        "date_of_birth": "3/3/1938",
        "percentage": 100
      },
      "links": {
        "documents": "https://api.forte.net/v3/applications/app_998877/documents",
        "self": "https://api.forte.net/v3/applications/app_998877"
      }
    }
  ],
  "response": {
    "environment": "live",
    "response_desc": "Get Successful."
  },
  "links": {
    "self": "https://api.forte.net/v3/applications/?filter=start_received_date+eq+%272017-01-01%27+and+end_received_date+eq+%272017-06-30%27"
  }
}
				
			

GET Applications by ID

				
					{{baseURI}}/organizations/org_{{organizationID}}/applications?filter=start_received_date+eq+'2017-01-01'+and+end_received_date+eq+'2017-06-30'
				
			

This URI returns a specific application submitted by the partner using the application_idNOTE: The organization_id referenced in this URI must be the home_organization_id of the partner.
Applications can have the following statuses:

  • `approved` – Forte has approved the application and sent the merchant’s data to the enrollment queue.

  • `pending` – Forte’s Credit and Risk Team needs to review the application and may request additional documentation from the merchant.

  • `declined` – The application failed one or more automated underwriting checks and Forte has declined to move forward with the merchant. The reason for the decline displays in the `decline_reason` field.

  • `enrolled` – Merchant has completed enrollment and is ready to process transactions.

  • `rejected` – Forte is unable to verify the identity data of an application or cannot authenticate the banking data or signatures. The reason for the rejected status displays in the reject_reason field.

  • `recalled` – The applicant has stopped responding to requests for information from Forte or the Partner. The reason for the recalled status displays in the recalled_reason field.

AUTHORIZATION Basic Auth
Username      {{apiaccessid}}
Password       {{apisecurekey}}

Example Request

				
					curl --location -g 'https://api.forte.net/v3/organizations/org_{{organizationID}}/applications/app_{{applicationID}}' \
--header 'Authorization: {{Authorization}}' \
--header 'Accept: application/json' \
--header 'X-Forte-Auth-Organization-Id: org_{{AuthOrganizationID}}'
				
			

Example Response

				
					{
  "application_id": "app_109630",
  "organization_id": "org_234791",
  "status": "approved",
  "fee_id": "14081",
  "source_ip": "55.5.55.555",
  "annual_volume": 100000,
  "average_transaction_amount": 10000,
  "average_payable_amount": 2500,
  "maximum_payable_amount": 10000,
  "monthly_payable_volume": 1000,
  "market_type": "internet",
  "t_and_c_version": "Tc1",
  "t_and_c_time_stamp": "4/3/2016",
  "risk_session_id": "s%3AH5fDIdXjI7y1disbZChw8Qrgl6Bz7uKZ.LjRrgNhYmuWApi%2FhdhB5wW4MgqknPHx1WR7s4RX1vWs",
  "applicant_organization": {
    "organization_id": "org_852963",
    "legal_name": "George McFly Enterprises",
    "legal_structure": "sole_proprietorship",
    "dba_name": "GMF Enterprises",
    "street_address1": "503 DeLorean Way",
    "locality": "Hill Valley",
    "region": "CA",
    "postal_code": "95420-4344",
    "customer_service_phone": "5555236987",
    "website": "www.GMFEnterprises.com",
    "business_type": "A10100",
    "bank_routing_number": "211170101",
    "bank_account_type": "checking"
  },
  "received_date": "2017-05-25T05:29:48.62",
  "updated_date:": "2017-05-27T03:22:14.31",
  "sales_rep": "JohnnyBGoode",
  "fee_plan": "bronze",
  "owner": {
    "first_name": "George",
    "last_name": "McFly",
    "street_address1": "49 Great Scott! Drive",
    "locality": "Hill Valley",
    "region": "CA",
    "postal_code": "95420-4345",
    "country": "USA",
    "citizenship": "USA",
    "email_address": "george.mcfly@GMFEnterprises.com",
    "mobile_phone": "5555698965",
    "date_of_birth": "3/3/1938",
    "percentage": 100
  },
  "response": {
    "environment": "live",
    "response_desc": "Application submitted has been approved."
  },
  "links": {
    "documents": "https://api.forte.net/v3/applications/app_109630/documents",
    "self": "https://api.forte.net/v3/applications/app_109630"
  }
}
				
			

Customers

The customers object represents a customer's information and enables the merchant to create, maintain, and retrieve customer data that can be tokenized (stored as a Wallet) for a more efficient checkout process. The customer object includes the address and paymethod sub-objects. For more information about tokens, click here.

NOTE: A customer token (Wallet) can be empty or can hold address / payment tokens.

Customers Object

Parameter


Description

Type

Req

organization_id

The identification number of the associated organization. For example, org_5551236.

string

R

location_id

The identification number of the associated location. For example, loc_1234568.

string

R

customer_token

A unique string used to represent a customer. For example, cst_SoGUG6mcLUS1nVzYBIbk3g. [max length = 26]

string

R

customer_id

A merchant-defined string used to identify the customer. [max length = 15]

string

O

default_paymethod_token

The customer's default paymethod token. The system returns this token when creating a customer with a paymethod. [max length = 26]

string

O

default_billing_address_token

A unique string used to represent the customer's default billing address. The system returns this token when creating a customer with a billing address. [max length = 26]

string

O

default_shipping_address_token

A unique string used to represent a customer's default shipping address. This system returns this token when creating a customer with a shipping address. [max length = 26]

string

O

status

Use one of the following values:

active
suspended

string

O

first_name

The first name of the customer. NOTE: To ensure the customer name properly displays for token transactions, include the addresses.first_name and addresses.last_name parameters in addition to the first_name and last_name parameters. [max length = 50]

string

R

last_name

The last name of the customer. NOTE: To ensure the customer name properly displays for token transactions, include the addresses.first_name and addresses.last_name parameters in addition to the first_name and last_name parameters. [max length = 50]

string

R

company_name

The company name of the customer. [max length = 50]

string

O

display_name

Displays the first_name + last_name parameters if the company_name parameter is null. [max length = 100]

string

O

created_date

The date and time when the customer record was created. This parameter is return only.

datetime

--

updated_date

The date and time when the customer record was updated. This parameter is return only.

datetime

--

deleted_date

The date and time when the customer record was deleted. This parameter is return only.

datetime

--

paymethod

The Paymethod Object

object

O

paymethod.organization_id

d
The identification number of the associated organization. For example, org_5551236.

string

R

paymethod.location_id

The identification number of the associated location. For example, loc_1234568.

string

R

paymethod.customer_token

A unique string used to represent a customer. For example, cst_SoGUG6mcLUS1nVzYBIbk3g. NOTE: When a merchant passes a customer token with a transaction, Forte ignores any other customer data in favor of the default data stored with the token. [max length = 26]

string

O

paymethod.paymethod_token

A unique string used to represent a payment method. For example,mth_1578436587. [max length = 26]

string

O

paymethod.label

A friendly, customer-defined name for the payment method. For example, "Moms Credit Card," "Work Credit Card," "Visa - 1234," etc. [max length = 50]

string

R

paymethod.card

The Card Object

object

O

paymethod.card.card_type

The type of credit card [max length = 6]. Options for this field include the following:

visa
mast
amex
disc
dine
jcb

string

R

paymethod.card.name_on_card

The name printed on the on the credit card [max length = 50]. This field is required when creating a new record or creating a permanent token from a one-time token.

string

R

paymethod.card.account_number

The card number. This field is required when creating a new record and can only contain digits. [max length = 16]

string

O

paymethod.card.expire_month

The expiration month. This field is required when creating a new record and must be a valid future date [max length = 2].

string

O

paymethod.card.expire_year

The expiration year. This field is required when creating a new record and must be a valid future date. [max length = 4]

string

O

paymethod.card.card_verification_value

The card verification number. Forte does not store this field with the paymethod token, but echoes it back. [max length = 4]

string

O

paymethod.card.procurement_card

Indicates whether or not this is a procurement card transaction. Accepted values are either true or false. For procurement card transactions, merchants must pass the customer_accounting_code field in the card object and the sales_tax_amount field in the transaction object.

Bool

O

paymethod.card.customer_accounting_code

Lists the procurement card accounting code. Forte does not save this information if the merchant is creating a paymethod. [max length = 17]

string

O

paymethod.card.one_time_token

A single use token generated by Forte.js (e.g., ott_g7vnjqikszabzynu6eowbq). [max length = 26]

string

O

paymethod.echeck

The eCheck Object

object

O

paymethod.echeck.account_holder

The name of the account owner. This field is required when creating or updating a new record. [max length = 50]

string

R

paymethod.echeck.account_number


The DDA or eCheck account number. This field is required when creating or updating a new record and can only contain digits. [max length = 17]

string

O

paymethod.echeck.routing_number

The transit routing number. This field supports both U.S. and Canadian routing numbers. NOTE: A Canadian routing number displayed on a check needs to be reformatted differently for electronic payments. If a check displays a routing number as BBBBB-AAA (where AAA indicates the Financial Institution and BBBBB is the branch), then the routing number must be changed to 0AAABBBBB to process the payment electronically. For example, if a check from an account issued by the Bank of Montreal showed the routing number 00011-001, then that number would need to be reformatted to 000100011 for the payment to be electronically processed. Click here for a directory of Canadian financial institutions. This field is required when creating or updating a new record and can only contain digits. [max length = 9]

string

R

paymethod.echeck.account_type

Use one of the following values for this parameter:

checking
savings

string

O

paymethod.echeck.sec_code

Use one of the following values for this standard-entry class code: ARC, CCD, CIE, CTX, POP, POS, PPD, RCK, TEL, WEB.

string

O

paymethod.notes


A short description of the paymethod. [max length = 50]

string

O

paymethod.vendor

The vendor Object

object

O

paymethod.vendor.vendor_type

The supported vendor types include the following.

PayPal

string

R

paymethod.vendor.vendor_billing_agreement_token

The ID of PayPal billing agreement token

string

R

paymethod.vendor.vendor_billing_agreement_id

The ID of PayPal billing agreement

string

_

addresses


An array of Address Objects.

object

O

addresses.address_token

A unique string used to represent an address. For example, add_tq0hemmmtf-zsxgq689rew. [max length = 26]

string

R

addresses.customer_token

A unique string used to represent a customer. For example, cst_SoGUG6mcLUS1nVzYBIbk3g. [max length = 26]

string

R

addresses.organization_id

The identification number of the associated organization. For example, org_5551236.

string

R

addresses.location_id

The identification number of the associated location. For example, loc_1234568.

string

R

addresses.first_name

The first name of the user associated with this billing or shipping address [max length = 25]. NOTE: The first_name and last_name parameters are required for billing addresses when creating transactions without tokens. For token transactions, add these parameters to dispay the customer name with the transaction.

string

R

addresses.last_name

The last name of the user associated with this billing or shipping address [max length = 25]. NOTE: The first_name and last_name parameters are required for billing addresses when creating transactions without tokens. For token transactions, add these parameters to dispay the customer name with the transaction.

string

R

addresses.company_name

The name of the company associated with this billing or shipping address [max length = 20]. NOTE: The company_name parameter is required for billing addresses when creating transactions without tokens.

string

R

addresses.phone

The phone number associated with this billing or shipping address. This field supports both U.S. and Canadian phone numbers. [max length = 15]

string

O

addresses.email

The email address associated with this billing or shipping address [max length = 50]

string

O

addresses.label

A label that succinctly identifies the address. For example, "Work" or "Home." [max length = 50]

string

O

addresses.address_type


The type of address. Use one of the following values:

- default_billing - The default billing address
- default_shipping - The default shipping address
- none - The address is not a default address
- both - The address is both a default shipping address and a default billing address

string

O

addresses.shipping_address_type

Indicates whether the address is a residential or commercial address.

string

R

addresses.physical_address

The Physical Address Object.

object

R

addresses.physical_address.street_line1

The first line of the street address [max length = 35]

string

O

addresses.physical_address.street_line2

The second line of the street address [max length = 35]

string

O

addresses.physical_address.locality

Locality or city/town/village [max length = 25]

string

O

addresses.physical_address.region

Region or state/province. This field supports both U.S. and Canadian regions. [max length = 2]

string

O

addresses.physical_address.postal_code

Postal Code [max length = 15]. This field supports both U.S. and Canadian postal codes.

string

O

POST Customer (Simple)

				
					{{baseURI}}/organizations/org_{{organizationID}}/locations/loc_{{locationID}}/customers/
				
			

This endpoint creates a customer record with just the First and Last Name and the Customer ID while returning a new customer_token.

NOTE: Token-based transactions will use the default addresses. Token payments require you to set the customer’s default shipping and billing addresses prior to passing the transaction data.

AUTHORIZATION Basic Auth
Username      {{apiaccessid}}
Password       {{apisecurekey}}
Body raw
				
					{
       "first_name": "Emmett",
       "last_name": "Brown",
       "company_name": "Brown Associates",
       "customer_id": "025897"
}
				
			

Example Request

				
					curl --location -g 'https://api.forte.net/v3/organizations/org_{{organizationID}}/locations/loc_{{locationID}}/customers/' \
--header 'Authorization: {{Authorization}}' \
--header 'Accept: application/json' \
--header 'X-Forte-Auth-Organization-Id: org_{{AuthOrganizationID}}' \
--header 'Content-Type: application/json' \
--data '{
       "first_name": "Emmett",
       "last_name": "Brown",
       "company_name": "Brown Associates",
       "customer_id": "025897"
}'
				
			

Example Response

				
					{
  "customer_token": "cst_D7AwlaDpL0OwwVJM9sTtDA",
  "location_id": "loc_192642",
  "first_name": "Emmett",
  "last_name": "Brown",
  "company_name": "Brown Associates",
  "display_name": "Brown Associates",
  "customer_id": "025897",
  "response": {
    "environment": "live",
    "response_desc": "Create Successful."
  },
  "links": {
    "addresses": "https://api.forte.net/v3/customers/cst_D7AwlaDpL0OwwVJM9sTtDA/addresses",
    "paymethods": "https://api.forte.net/v3/customers/cst_D7AwlaDpL0OwwVJM9sTtDA/paymethods",
    "transactions": "https://api.forte.net/v3/customers/cst_D7AwlaDpL0OwwVJM9sTtDA/transactions",
    "settlements": "https://api.forte.net/v3/customers/cst_D7AwlaDpL0OwwVJM9sTtDA/settlements",
    "schedules": "https://api.forte.net/v3/customers/cst_D7AwlaDpL0OwwVJM9sTtDA/schedules",
    "self": "https://api.forte.net/v3/customers/cst_D7AwlaDpL0OwwVJM9sTtDA"
  }
}
				
			

POST Locationless Customer

				
					{{baseURI}}/customers/
				
			

Use this endpoint to create a customer at the merchant organization level (rather than the location level). Partners should authenticate at the partner level while specifying the merchant organization in the body of the request.

NOTE: Token-based transactions will use the default addresses. Token payments require you to set the customer’s default shipping and billing addresses prior to passing the transaction data.

AUTHORIZATION Basic Auth
Username      {{apiaccessid}}
Password       {{apisecurekey}}
Body raw
				
					{
       "first_name": "Emmett",
       "last_name": "Brown",
       "company_name": "Brown Associates",
       "organization_id": "org_115161"
}
				
			

Example Request

				
					curl --location 'https://api.forte.net/v3/customers/' \
--header 'Authorization: {{Authorization}}' \
--header 'Accept: application/json' \
--header 'X-Forte-Auth-Organization-Id: org_{{AuthOrganizationID}}' \
--header 'Content-Type: application/json' \
--data '{
       "first_name": "Emmett",
       "last_name": "Brown",
       "company_name": "Brown Associates",
       "organization_id": "org_115161"
}'
				
			

Example Response

				
					{
  "customer_token": "cst_ZKgFBQUqiEySx6kh9pTi4w",
  "organization_id": "org_115161",
  "first_name": "Emmett",
  "last_name": "Brown",
  "company_name": "Brown Associates",
  "display_name": "Brown Associates",
  "response": {
    "environment": "live",
    "response_desc": "Create Successful."
  },
  "links": {
    "addresses": "https://api.forte.net/v3/customers/cst_ZKgFBQUqiEySx6kh9pTi4w/addresses",
    "paymethods": "https://api.forte.net/v3/customers/cst_ZKgFBQUqiEySx6kh9pTi4w/paymethods",
    "transactions": "https://api.forte.net/v3/customers/cst_ZKgFBQUqiEySx6kh9pTi4w/transactions",
    "settlements": "https://api.forte.net/v3/customers/cst_ZKgFBQUqiEySx6kh9pTi4w/settlements",
    "schedules": "https://api.forte.net/v3/customers/cst_ZKgFBQUqiEySx6kh9pTi4w/schedules",
    "self": "https://api.forte.net/v3/customers/cst_ZKgFBQUqiEySx6kh9pTi4w"
  }
}
				
			

POST Customer with First and Last Name Only

				
					{{baseURI}}/organizations/org_{{organizationID}}/locations/loc_{{locationID}}/customers/
				
			

This endpoint creates a customer record with just the First and Last Name while returning a new customer_token.

NOTE: Token-based transactions will use the default addresses. Token payments require you to set the customer’s default shipping and billing addresses prior to passing the transaction data.

AUTHORIZATION Basic Auth
Username      {{apiaccessid}}
Password       {{apisecurekey}}
Body raw
				
					{
    "first_name": "Emmett",
    "last_name": "Brown"
}
				
			

Example Response

				
					curl --location -g '{{baseURI}}/organizations/org_{{organizationID}}/locations/loc_{{locationID}}/customers/' \
--header 'Authorization: {{Authorization}}' \
--header 'Accept: application/json' \
--header 'X-Forte-Auth-Organization-Id: org_{{AuthOrganizationID}}' \
--header 'Content-Type: application/json' \
--data '{
    "first_name": "Emmett",
    "last_name": "Brown"
}'
				
			

Example Response

				
					{
  "customer_token": "cst_91fOEIP6KEijWBY1j_sNoA",
  "location_id": "loc_124125",
  "first_name": "Emmett",
  "last_name": "Brown",
  "display_name": "Emmett Brown",
  "response": {
    "environment": "live",
    "response_desc": "Create Successful."
  },
  "links": {
    "addresses": "https://api.forte.net/v3/customers/cst_91fOEIP6KEijWBY1j_sNoA/addresses",
    "paymethods": "https://api.forte.net/v3/customers/cst_91fOEIP6KEijWBY1j_sNoA/paymethods",
    "transactions": "https://api.forte.net/v3/customers/cst_91fOEIP6KEijWBY1j_sNoA/transactions",
    "settlements": "https://api.forte.net/v3/customers/cst_91fOEIP6KEijWBY1j_sNoA/settlements",
    "schedules": "https://api.forte.net/v3/customers/cst_91fOEIP6KEijWBY1j_sNoA/schedules",
    "self": "https://api.forte.net/v3/customers/cst_91fOEIP6KEijWBY1j_sNoA/"
  }
}
				
			

POST Customer with Billing/Shipping Addresses

				
					{{baseURI}}/organizations/org_{{organizationID}}/locations/loc_{{locationID}}/customers/
				
			

This endpoint creates a customer record with Billing and Shipping Addresses while returning a new customer_token.

NOTE: Token-based transactions will use the default addresses. Token payments require you to set the customer’s default shipping and billing addresses prior to passing the transaction data.

AUTHORIZATION Basic Auth
Username      {{apiaccessid}}
Password       {{apisecurekey}}
Body raw
				
					{
       "first_name": "Emmett",
       "last_name": "Brown",
       "company_name": "Brown Associates",
       "addresses": [
          {
             "label": "Brown Shipping",
             "first_name": "Emmett",
             "last_name": "Brown",
             "company_name": "Brown Associates",
             "phone": "444-444-4444",
             "email": "e.brown@brown.net",
             "shipping_address_type": "residential",
             "address_type": "default_shipping",
             "physical_address": {
                "street_line1": "123 Hill Valley Rd.",
                "street_line2": "APT 1001",
                "locality": "Hill Valley",
                "region": "CA",
                "postal_code": "95420"
             }
          },
          {
             "label": "Brown Billing",
             "first_name": "Emmett",
             "last_name": "Brown",
             "company_name": "Brown Associates",
             "phone": "444-444-4444",
             "email": "e.brown@forte.net",
             "shipping_address_type": "commercial",
             "address_type": "default_billing",
             "physical_address": {
                "street_line1": "500 Delorean Dr",
                "street_line2": "Suite 200",
                "locality": "Hill Valley",
                "region": "CA",
                "postal_code": "95420"
             }
        }
       ]
}
				
			

Example Response

				
					{
  "customer_token": "cst_hmTr7iMQ0kGWCOJwxrROeA",
  "location_id": "loc_124125",
  "default_shipping_address_token": "add_Z1yopne62k2HxQqXDtNQBw",
  "default_billing_address_token": "add_YQdPbCdRu0ODqexzSCRybg",
  "first_name": "Emmett",
  "last_name": "Brown",
  "company_name": "Brown Associates",
  "display_name": "Brown Associates",
  "addresses": [
    {
      "address_token": "add_YQdPbCdRu0ODqexzSCRybg",
      "location_id": "loc_124125",
      "first_name": "Emmett",
      "last_name": "Brown",
      "company_name": "Brown Associates",
      "phone": "444-444-4444",
      "email": "e.brown@forte.net",
      "label": "Brown Billing",
      "address_type": "default_billing",
      "shipping_address_type": "commercial",
      "physical_address": {
        "street_line1": "500 Delorean Dr",
        "street_line2": "Suite 200",
        "locality": "Hill Valley",
        "region": "CA",
        "postal_code": "95420",
        "country": "US"
      },
      "links": {
        "self": "https://api.forte.net/v3/addresses/add_YQdPbCdRu0ODqexzSCRybg"
      }
    },
    {
      "address_token": "add_Z1yopne62k2HxQqXDtNQBw",
      "location_id": "loc_124125",
      "first_name": "Emmett",
      "last_name": "Brown",
      "company_name": "Brown Associates",
      "phone": "444-444-4444",
      "email": "e.brown@brown.net",
      "label": "Brown Shipping",
      "address_type": "default_shipping",
      "shipping_address_type": "residential",
      "physical_address": {
        "street_line1": "123 Hill Valley Rd.",
        "street_line2": "APT 1001",
        "locality": "Hill Valley",
        "region": "CA",
        "postal_code": "95420",
        "country": "US"
      },
      "links": {
        "self": "https://api.forte.net/v3/addresses/add_Z1yopne62k2HxQqXDtNQBw"
      }
    }
  ],
  "response": {
    "environment": "live",
    "response_desc": "Create Successful."
  },
  "links": {
    "addresses": "https://api.forte.net/v3/customers/cst_hmTr7iMQ0kGWCOJwxrROeA/addresses",
    "paymethods": "https://api.forte.net/v3/customers/cst_hmTr7iMQ0kGWCOJwxrROeA/paymethods",
    "transactions": "https://api.forte.net/v3/customers/cst_hmTr7iMQ0kGWCOJwxrROeA/transactions",
    "settlements": "https://api.forte.net/v3/customers/cst_hmTr7iMQ0kGWCOJwxrROeA/settlements",
    "schedules": "https://api.forte.net/v3/customers/cst_hmTr7iMQ0kGWCOJwxrROeA/schedules",
    "self": "https://api.forte.net/v3/customers/cst_hmTr7iMQ0kGWCOJwxrROeA/"
  }
}
				
			

Example Response

				
					curl --location -g '{{baseURI}}/organizations/org_{{organizationID}}/locations/loc_{{locationID}}/customers/?Authorization={{Authorization}}&Accept=application%2Fjson&X-Forte-Auth-Organization-Id=org_{{AuthOrganizationID}}&Content-Type=application%2Fjson' \
--data '{
       "first_name": "Emmett",
       "last_name": "Brown",
       "company_name": "Brown Associates",
       "paymethod": {
             "label": "Visa - 1243",
             "notes": "Business CC",
             "card": {
                "account_number": "4111111111111111",
                "expire_month": 10,
                "expire_year": 2023,
                "card_verification_value": "693",
                "card_type": "visa",
                "name_on_card": "Emmett L. Brown"
             }
          }
}'
				
			

POST Customer with Payment Method

				
					{{baseURI}}/organizations/org_{{organizationID}}/locations/loc_{{locationID}}/customers/
				
			

This endpoint creates a customer record with a Payment Method while returning a new customer_token.

NOTE: Token-based transactions will use the default addresses. Token payments require you to set the customer’s default shipping and billing addresses prior to passing the transaction data.

AUTHORIZATION Basic Auth
Username      {{apiaccessid}}
Password       {{apisecurekey}}
Body raw
				
					{
    "first_name": "Emmett",
    "last_name": "Brown",
    "company_name": "Brown Associates",
    "addresses": [
          {
             "label": "Brown Billing",
             "first_name": "Emmett",
             "last_name": "Brown",
             "company_name": "Brown Associates",
             "phone": "444-444-4444",
             "email": "e.brown@forte.net",
             "address_type": "default_billing",
             "physical_address": {
                "street_line1": "500 Delorean Dr",
                "street_line2": "Suite 200",
                "locality": "Hill Valley",
                "region": "CA",
                "postal_code": "95420"
             }
          }
          ],
       "paymethod": {
             "label": "Visa - 1243",
             "notes": "Business CC",
             "card": {
                "account_number": "4111111111111111",
                "expire_month": 10,
                "expire_year": 2023,
                "card_verification_value": "693",
                "card_type": "visa",
                "name_on_card": "Emmett L. Brown"
             }
          }
}

				
			

Example Request

				
					curl --location -g '{{baseURI}}/organizations/org_{{organizationID}}/locations/loc_{{locationID}}/customers/?Authorization={{Authorization}}&Accept=application%2Fjson&X-Forte-Auth-Organization-Id=org_{{AuthOrganizationID}}&Content-Type=application%2Fjson' \
--data '{
       "first_name": "Emmett",
       "last_name": "Brown",
       "company_name": "Brown Associates",
       "paymethod": {
             "label": "Visa - 1243",
             "notes": "Business CC",
             "card": {
                "account_number": "4111111111111111",
                "expire_month": 10,
                "expire_year": 2023,
                "card_verification_value": "693",
                "card_type": "visa",
                "name_on_card": "Emmett L. Brown"
             }
          }
}'
				
			

Example Response

				
					{
  "customer_token": "cst_netzN2bKEEeIU5DmrG879w",
  "location_id": "loc_282980",
  "default_paymethod_type": "visa",
  "default_paymethod_token": "mth_MskEONGdvkm2wPBdQEZuDA",
  "default_billing_address_token": "add_D4vKk_RAsUWSlYRlrVEsXw",
  "first_name": "Emmett",
  "last_name": "Brown",
  "company_name": "Brown Associates",
  "display_name": "Brown Associates",
  "addresses": [
    {
      "address_token": "add_D4vKk_RAsUWSlYRlrVEsXw",
      "location_id": "loc_282980",
      "first_name": "Emmett",
      "last_name": "Brown",
      "company_name": "Brown Associates",
      "phone": "444-444-4444",
      "email": "e.brown@forte.net",
      "label": "Brown Billing",
      "address_type": "default_billing",
      "physical_address": {
        "street_line1": "500 Delorean Dr",
        "street_line2": "Suite 200",
        "locality": "Hill Valley",
        "region": "CA",
        "postal_code": "95420",
        "country": "US"
      },
      "links": {
        "self": "https://api.forte.net/v3/addresses/add_D4vKk_RAsUWSlYRlrVEsXw"
      }
    }
  ],
  "paymethod": {
    "paymethod_token": "mth_MskEONGdvkm2wPBdQEZuDA",
    "location_id": "loc_282980",
    "label": "Visa - 1243",
    "notes": "Business CC",
    "card": {
      "name_on_card": "Emmett L. Brown",
      "last_4_account_number": "1111",
      "masked_account_number": "****1111",
      "expire_month": 10,
      "expire_year": 2023,
      "card_type": "visa"
    },
    "links": {
      "transactions": "https://api.forte.net/v3/paymethods/mth_MskEONGdvkm2wPBdQEZuDA/transactions",
      "settlements": "https://api.forte.net/v3/paymethods/mth_MskEONGdvkm2wPBdQEZuDA/settlements",
      "schedules": "https://api.forte.net/v3/paymethods/mth_MskEONGdvkm2wPBdQEZuDA/schedules",
      "self": "https://api.forte.net/v3/paymethods/mth_MskEONGdvkm2wPBdQEZuDA/"
    }
  },
  "response": {
    "environment": "live",
    "response_desc": "Create Successful."
  },
  "links": {
    "addresses": "https://api.forte.net/v3/customers/cst_netzN2bKEEeIU5DmrG879w/addresses",
    "paymethods": "https://api.forte.net/v3/customers/cst_netzN2bKEEeIU5DmrG879w/paymethods",
    "transactions": "https://api.forte.net/v3/customers/cst_netzN2bKEEeIU5DmrG879w/transactions",
    "settlements": "https://api.forte.net/v3/customers/cst_netzN2bKEEeIU5DmrG879w/settlements",
    "schedules": "https://api.forte.net/v3/customers/cst_netzN2bKEEeIU5DmrG879w/schedules",
    "self": "https://api.forte.net/v3/customers/cst_netzN2bKEEeIU5DmrG879w/"
  }
}
				
			

POST Customer with Billing/Shipping Address and Payment Data

				
					{{baseURI}}/organizations/org_{{organizationID}}/locations/loc_{{locationID}}/customers/
				
			

This endpoint creates a customer record with Billing/Shipping Addresses and a Payment Method while returning a new customer_token.

NOTE: Token-based transactions will use the default addresses. Token payments require you to set the customer’s default shipping and billing addresses prior to passing the transaction data.

AUTHORIZATION Basic Auth
Username      {{apiaccessid}}
Password       {{apisecurekey}}
Body raw
				
					{
       "first_name": "Emmett",
       "last_name": "Brown",
       "company_name": "Brown Associates",
       "addresses": [
          {
             "label": "Brown Shipping",
             "first_name": "Emmett",
             "last_name": "Brown",
             "company_name": "Brown Associates",
             "phone": "444-444-4444",
             "email": "e.brown@brown.net",
             "shipping_address_type": "residential",
             "address_type": "default_shipping",
             "physical_address": {
                "street_line1": "123 Hill Valley Rd.",
                "street_line2": "APT 1001",
                "locality": "Hill Valley",
                "region": "CA",
                "postal_code": "95420"
             }
          },
          {
             "label": "Brown Billing",
             "first_name": "Emmett",
             "last_name": "Brown",
             "company_name": "Brown Associates",
             "phone": "444-444-4444",
             "email": "e.brown@forte.net",
             "shipping_address_type": "commercial",
             "address_type": "default_billing",
             "physical_address": {
                "street_line1": "500 Delorean Dr",
                "street_line2": "Suite 200",
                "locality": "Hill Valley",
                "region": "CA",
                "postal_code": "95420"
             }
          }
          ],
          "paymethod": {
             "label": "Visa - 1243",
             "notes": "Business CC",
             "card": {
                "account_number": "4111111111111111",
                "expire_month": 10,
                "expire_year": 2020,
                "card_verification_value": "693",
                "card_type": "visa",
                "name_on_card": "Emmett L. Brown"
             }
          }
}
				
			

Example Request

				
					curl --location -g 'https://api.forte.net/v3/organizations/org_{{organizationID}}/locations/loc_{{locationID}}/customers/' \
--header 'Authorization: {{Authorization}}' \
--header 'Accept: application/json' \
--header 'X-Forte-Auth-Organization-Id: org_{{AuthOrganizationID}}' \
--header 'Content-Type: application/json' \
--data-raw '{
       "first_name": "Emmett",
       "last_name": "Brown",
       "company_name": "Brown Associates",
       "addresses": [
          {
             "label": "Brown Shipping",
             "first_name": "Emmett",
             "last_name": "Brown",
             "company_name": "Brown Associates",
             "phone": "444-444-4444",
             "email": "e.brown@brown.net",
             "shipping_address_type": "residential",
             "address_type": "default_shipping",
             "physical_address": {
                "street_line1": "123 Hill Valley Rd.",
                "street_line2": "APT 1001",
                "locality": "Hill Valley",
                "region": "CA",
                "postal_code": "95420"
             }
          },
          {
             "label": "Brown Billing",
             "first_name": "Emmett",
             "last_name": "Brown",
             "company_name": "Brown Associates",
             "phone": "444-444-4444",
             "email": "e.brown@forte.net",
             "shipping_address_type": "commercial",
             "address_type": "default_billing",
             "physical_address": {
                "street_line1": "500 Delorean Dr",
                "street_line2": "Suite 200",
                "locality": "Hill Valley",
                "region": "CA",
                "postal_code": "95420"
             }
          }
          ],
          "paymethod": {
             "label": "Visa - 1243",
             "notes": "Business CC",
             "card": {
                "account_number": "4111111111111111",
                "expire_month": 10,
                "expire_year": 2020,
                "card_verification_value": "693",
                "card_type": "visa",
                "name_on_card": "Emmett L. Brown"
             }
          }
}'
				
			

Example Response

				
					{
  "customer_token": "cst_n2Gc5zaMAEu8g9A5wdtJGA",
  "location_id": "loc_192642",
  "default_paymethod_type": "visa",
  "default_paymethod_token": "mth_6WlsUkmMPk2xgvX5VbEpzQ",
  "default_shipping_address_token": "add_6CrGDw3RykiklPb82mNqCA",
  "default_billing_address_token": "add_sI_JSBaTv0u-290vdV8kBg",
  "first_name": "Emmett",
  "last_name": "Brown",
  "company_name": "Brown Associates",
  "display_name": "Brown Associates",
  "addresses": [
    {
      "address_token": "add_sI_JSBaTv0u-290vdV8kBg",
      "location_id": "loc_192642",
      "first_name": "Emmett",
      "last_name": "Brown",
      "company_name": "Brown Associates",
      "phone": "444-444-4444",
      "email": "e.brown@forte.net",
      "label": "Brown Billing",
      "address_type": "default_billing",
      "shipping_address_type": "commercial",
      "physical_address": {
        "street_line1": "500 Delorean Dr",
        "street_line2": "Suite 200",
        "locality": "Hill Valley",
        "region": "CA",
        "postal_code": "95420"
      },
      "links": {
        "self": "https://api.forte.net/v3/addresses/add_sI_JSBaTv0u-290vdV8kBg"
      }
    },
    {
      "address_token": "add_6CrGDw3RykiklPb82mNqCA",
      "location_id": "loc_192642",
      "first_name": "Emmett",
      "last_name": "Brown",
      "company_name": "Brown Associates",
      "phone": "444-444-4444",
      "email": "e.brown@brown.net",
      "label": "Brown Shipping",
      "address_type": "default_shipping",
      "shipping_address_type": "residential",
      "physical_address": {
        "street_line1": "123 Hill Valley Rd.",
        "street_line2": "APT 1001",
        "locality": "Hill Valley",
        "region": "CA",
        "postal_code": "95420"
      },
      "links": {
        "self": "https://api.forte.net/v3/addresses/add_6CrGDw3RykiklPb82mNqCA"
      }
    }
  ],
  "paymethod": {
    "paymethod_token": "mth_6WlsUkmMPk2xgvX5VbEpzQ",
    "location_id": "loc_192642",
    "label": "Visa - 1243",
    "notes": "Business CC",
    "card": {
      "name_on_card": "Emmett L. Brown",
      "last_4_account_number": "1111",
      "masked_account_number": "****1111",
      "expire_month": 10,
      "expire_year": 2020,
      "card_type": "visa"
    },
    "links": {
      "transactions": "https://api.forte.net/v3/paymethods/mth_6WlsUkmMPk2xgvX5VbEpzQ/transactions",
      "settlements": "https://api.forte.net/v3/paymethods/mth_6WlsUkmMPk2xgvX5VbEpzQ/settlements",
      "schedules": "https://api.forte.net/v3/paymethods/mth_6WlsUkmMPk2xgvX5VbEpzQ/schedules",
      "self": "https://api.forte.net/v3/paymethods/mth_6WlsUkmMPk2xgvX5VbEpzQ"
    }
  },
  "response": {
    "environment": "live",
    "response_desc": "Create Successful."
  },
  "links": {
    "addresses": "https://api.forte.net/v3/customers/cst_n2Gc5zaMAEu8g9A5wdtJGA/addresses",
    "paymethods": "https://api.forte.net/v3/customers/cst_n2Gc5zaMAEu8g9A5wdtJGA/paymethods",
    "transactions": "https://api.forte.net/v3/customers/cst_n2Gc5zaMAEu8g9A5wdtJGA/transactions",
    "settlements": "https://api.forte.net/v3/customers/cst_n2Gc5zaMAEu8g9A5wdtJGA/settlements",
    "schedules": "https://api.forte.net/v3/customers/cst_n2Gc5zaMAEu8g9A5wdtJGA/schedules",
    "self": "https://api.forte.net/v3/customers/cst_n2Gc5zaMAEu8g9A5wdtJGA"
  }
}
				
			

GET All Customers for an Organization

				
					{{baseURI}}/organizations/org_{{organizationID}}/customers/
				
			

This URI returns all the customers for an Organization. To narrow your search data using specific criteria, use the following parameters to filter your results:

  • location_id

  • status

  • first_name

  • last_name

  • company_name

  • customer_id

Note: Please note that sending a request at the partner (org) level may result in a large data set and may cause timeout errors depending on the request. We recommend sending your GET request at the Merchant (Organization) level.

AUTHORIZATION Basic Auth
Username      {{apiaccessid}}
Password       {{apisecurekey}}

Example Request

				
					curl --location -g 'https://api.forte.net/v3/organizations/org_{{organizationID}}/customers/' \
--header 'Authorization: {{Authorization}}' \
--header 'Accept: application/json' \
--header 'X-Forte-Auth-Organization-Id: org_{{AuthOrganizationID}}'
				
			

Example Response

				
					{
  "number_results": 3,
  "search_criteria": {
    "page_size": 50,
    "page_index": 0,
    "home_organization_id": "org_334316",
    "resource_specific": {}
  },
  "results": [
    {
      "customer_token": "cst_AKnhLS9RM06ZyCLej9Fq5g",
      "organization_id": "org_334316",
      "status": "active",
      "first_name": "Marty",
      "last_name": "McFly",
      "display_name": "Marty McFly",
      "created_date": "2017-05-02T14:15:10.803",
      "updated_date": "2017-05-02T14:15:10.803",
      "links": {
        "addresses": "https://api.forte.net/v3/customers/cst_AKnhLS9RM06ZyCLej9Fq5g/addresses",
        "paymethods": "https://api.forte.net/v3/customers/cst_AKnhLS9RM06ZyCLej9Fq5g/paymethods",
        "transactions": "https://api.forte.net/v3/customers/cst_AKnhLS9RM06ZyCLej9Fq5g/transactions",
        "settlements": "https://api.forte.net/v3/customers/cst_AKnhLS9RM06ZyCLej9Fq5g/settlements",
        "schedules": "https://api.forte.net/v3/customers/cst_AKnhLS9RM06ZyCLej9Fq5g/schedules",
        "self": "https://api.forte.net/v3/customers/cst_AKnhLS9RM06ZyCLej9Fq5g"
      }
    },
    {
      "customer_token": "cst_5bspA0ymlkC4V9_zIWGm4w",
      "organization_id": "org_334316",
      "status": "active",
      "first_name": "Emmett",
      "last_name": "Brown",
      "display_name": "Dr. Emmett Brown",
      "created_date": "2017-05-02T15:14:55.353",
      "updated_date": "2017-05-02T15:14:55.353",
      "links": {
        "addresses": "https://api.forte.net/v3/customers/cst_5bspA0ymlkC4V9_zIWGm4w/addresses",
        "paymethods": "https://api.forte.net/v3/customers/cst_5bspA0ymlkC4V9_zIWGm4w/paymethods",
        "transactions": "https://api.forte.net/v3/customers/cst_5bspA0ymlkC4V9_zIWGm4w/transactions",
        "settlements": "https://api.forte.net/v3/customers/cst_5bspA0ymlkC4V9_zIWGm4w/settlements",
        "schedules": "https://api.forte.net/v3/customers/cst_5bspA0ymlkC4V9_zIWGm4w/schedules",
        "self": "https://api.forte.net/v3/customers/cst_5bspA0ymlkC4V9_zIWGm4w"
      }
    },
    {
      "customer_token": "cst_ceTdKvuEKEmFr7nMxaNeug",
      "organization_id": "org_334316",
      "status": "active",
      "first_name": "Jennifer",
      "last_name": "McFly",
      "display_name": "Jenn McFly",
      "created_date": "2017-05-02T15:26:40.487",
      "updated_date": "2017-05-02T15:26:40.487",
      "links": {
        "addresses": "https://api.forte.net/v3/customers/cst_ceTdKvuEKEmFr7nMxaNeug/addresses",
        "paymethods": "https://api.forte.net/v3/customers/cst_ceTdKvuEKEmFr7nMxaNeug/paymethods",
        "transactions": "https://api.forte.net/v3/customers/cst_ceTdKvuEKEmFr7nMxaNeug/transactions",
        "settlements": "https://api.forte.net/v3/customers/cst_ceTdKvuEKEmFr7nMxaNeug/settlements",
        "schedules": "https://api.forte.net/v3/customers/cst_ceTdKvuEKEmFr7nMxaNeug/schedules",
        "self": "https://api.forte.net/v3/customers/cst_ceTdKvuEKEmFr7nMxaNeug"
      }
    }
  ],
  "response": {
    "environment": "live",
    "response_desc": "Get Successful."
  },
  "links": {
    "self": "https://api.forte.net/v3/customers/",
    "next": "https://api.forte.net/v3/customers/?page_index=1"
  }
}
				
			

GET All Customers for a Location

				
					{{baseURI}}/organizations/org_{{organizationID}}/locations/loc_{{locationID}}/customers
				
			

This URI returns all the customers for a location. To narrow your search data using specific criteria, use the following parameters to filter your results:

  • status
  • first_name
  • last_name
  • company_name
  • customer_id
AUTHORIZATION Basic Auth
Username      {{apiaccessid}}
Password       {{apisecurekey}}

Example Request

				
					curl --location -g 'https://api.forte.net/v3/organizations/org_{{organization}}/locations/loc_{{location}}/customers' \
--header 'Authorization: {{Authorization}}' \
--header 'Accept: application/json' \
--header 'X-Forte-Auth-Organization-Id: org_{{AuthOrganizationID}}'
				
			

Example Response

				
					{
  "number_results": 2,
  "search_criteria": {
    "page_size": 50,
    "page_index": 0,
    "home_organization_id": "org_334316",
    "resource_specific": {
      "location_id": "loc_192642"
    }
  },
  "results": [
    {
      "customer_token": "cst_MvlOPZxkPU66y-6777eEvg",
      "organization_id": "org_334316",
      "location_id": "loc_192642",
      "default_paymethod_type": "visa",
      "default_paymethod_token": "mth_mE5QbOwfbUm47DudO5S0lA",
      "status": "active",
      "first_name": "Biff",
      "last_name": "Tannen",
      "company_name": "468845.9855421111",
      "display_name": "468845.9855421111",
      "created_date": "2017-09-05T02:22:52.05",
      "updated_date": "2017-09-05T02:22:52.147",
      "paymethod": {
        "paymethod_token": "mth_mE5QbOwfbUm47DudO5S0lA",
        "organization_id": "org_334316",
        "location_id": "loc_192642",
        "customer_token": "cst_MvlOPZxkPU66y-6777eEvg",
        "label": "VISA Credit Card - 1111",
        "card": {
          "name_on_card": "Biff Tannen",
          "last_4_account_number": "1111",
          "masked_account_number": "****1111",
          "expire_month": 12,
          "expire_year": 2017,
          "procurement_card": false,
          "card_type": "visa",
          "suppress_account_updater": false
        },
        "links": {
          "transactions": "https://api.forte.net/v3/paymethods/mth_mE5QbOwfbUm47DudO5S0lA/transactions",
          "settlements": "https://api.forte.net/v3/paymethods/mth_mE5QbOwfbUm47DudO5S0lA/settlements",
          "schedules": "https://api.forte.net/v3/paymethods/mth_mE5QbOwfbUm47DudO5S0lA/schedules",
          "self": "https://api.forte.net/v3/paymethods/mth_mE5QbOwfbUm47DudO5S0lA"
        }
      },
      "links": {
        "addresses": "https://api.forte.net/v3/customers/cst_MvlOPZxkPU66y-6777eEvg/addresses",
        "paymethods": "https://api.forte.net/v3/customers/cst_MvlOPZxkPU66y-6777eEvg/paymethods",
        "transactions": "https://api.forte.net/v3/customers/cst_MvlOPZxkPU66y-6777eEvg/transactions",
        "settlements": "https://api.forte.net/v3/customers/cst_MvlOPZxkPU66y-6777eEvg/settlements",
        "schedules": "https://api.forte.net/v3/customers/cst_MvlOPZxkPU66y-6777eEvg/schedules",
        "self": "https://api.forte.net/v3/customers/cst_MvlOPZxkPU66y-6777eEvg"
      }
    },
    {
      "customer_token": "cst_mVLtLD2KSESuQml6A7rOhA",
      "organization_id": "org_334316",
      "location_id": "loc_192642",
      "default_paymethod_type": "visa",
      "default_paymethod_token": "mth_dq5wWyc5FkGE8-MZIosXPg",
      "status": "active",
      "first_name": "Marty",
      "last_name": "McFly",
      "display_name": "Martin McFly",
      "created_date": "2017-08-25T17:23:06.23",
      "updated_date": "2017-08-25T17:23:06.327",
      "paymethod": {
        "paymethod_token": "mth_dq5wWyc5FkGE8-MZIosXPg",
        "organization_id": "org_334316",
        "location_id": "loc_192642",
        "customer_token": "cst_mVLtLD2KSESuQml6A7rOhA",
        "label": "VISA Credit Card - 1111",
        "card": {
          "name_on_card": "Marty McFly",
          "last_4_account_number": "1111",
          "masked_account_number": "****1111",
          "expire_month": 12,
          "expire_year": 2017,
          "procurement_card": false,
          "card_type": "visa",
          "suppress_account_updater": false
        },
        "links": {
          "transactions": "https://api.forte.net/v3/paymethods/mth_dq5wWyc5FkGE8-MZIosXPg/transactions",
          "settlements": "https://api.forte.net/v3/paymethods/mth_dq5wWyc5FkGE8-MZIosXPg/settlements",
          "schedules": "https://api.forte.net/v3/paymethods/mth_dq5wWyc5FkGE8-MZIosXPg/schedules",
          "self": "https://api.forte.net/v3/paymethods/mth_dq5wWyc5FkGE8-MZIosXPg"
        }
      },
      "links": {
        "addresses": "https://api.forte.net/v3/customers/cst_mVLtLD2KSESuQml6A7rOhA/addresses",
        "paymethods": "https://api.forte.net/v3/customers/cst_mVLtLD2KSESuQml6A7rOhA/paymethods",
        "transactions": "https://api.forte.net/v3/customers/cst_mVLtLD2KSESuQml6A7rOhA/transactions",
        "settlements": "https://api.forte.net/v3/customers/cst_mVLtLD2KSESuQml6A7rOhA/settlements",
        "schedules": "https://api.forte.net/v3/customers/cst_mVLtLD2KSESuQml6A7rOhA/schedules",
        "self": "https://api.forte.net/v3/customers/cst_mVLtLD2KSESuQml6A7rOhA"
      }
    }
  ],
  "response": {
    "environment": "live",
    "response_desc": "Get Successful."
  },
  "links": {
    "self": "https://api.forte.net/v3/customers/",
    "next": "https://api.forte.net/v3/customers/?page_index=1"
  }
}
				
			

GET A Customer by ID

				
					{{baseURI}}/organizations/org_{{organizationID}}/locations/loc_{{locationID}}/customers/cst_{{customertoken}}
				
			

This endpoint returns all the default information for a specific customer based on the customer_token.

AUTHORIZATION Basic Auth
Username      {{apiaccessid}}
Password       {{apisecurekey}}

Example Request

				
					curl --location -g 'https://api.forte.net/v3/organizations/org_{{organizationID}}/locations/loc_{{locationID}}/customers/cst_{{customertoken}}' \
--header 'Authorization: {{Authorization}}' \
--header 'Accept: application/json' \
--header 'X-Forte-Auth-Organization-Id: org_{{AuthOrganizationID}}'
				
			

Example Response

				
					{
  "customer_token": "cst__hbpJNFPhUK8MGmTynKuAQ",
  "organization_id": "org_334316",
  "location_id": "loc_192642",
  "default_paymethod_type": "visa",
  "default_paymethod_token": "mth_j4VdXyU0-kmMjAVf-leTdA",
  "default_shipping_address_token": "add_M9AzCIEM1ECmmiM5M7Eo8A",
  "default_billing_address_token": "add_fkWcRA-EXECdFqeY0yXNLw",
  "status": "active",
  "first_name": "Jennifer",
  "last_name": "McFly",
  "company_name": "Brown Associates",
  "display_name": "Brown Associates",
  "addresses": [
    {
      "address_token": "add_fkWcRA-EXECdFqeY0yXNLw",
      "organization_id": "org_334316",
      "location_id": "loc_192642",
      "customer_token": "cst__hbpJNFPhUK8MGmTynKuAQ",
      "first_name": "Emmett",
      "last_name": "Brown",
      "company_name": "Brown Associates",
      "phone": "444-444-4444",
      "email": "e.brown@forte.net",
      "label": "Brown Billing",
      "address_type": "default_billing",
      "shipping_address_type": "commercial",
      "physical_address": {
        "street_line1": "500 Delorean Dr",
        "street_line2": "Suite 200",
        "locality": "Hill Valley",
        "region": "CA",
        "postal_code": "95420"
      },
      "links": {
        "self": "https://api.forte.net/v3/addresses/add_fkWcRA-EXECdFqeY0yXNLw"
      }
    },
    {
      "address_token": "add_M9AzCIEM1ECmmiM5M7Eo8A",
      "organization_id": "org_334316",
      "location_id": "loc_192642",
      "customer_token": "cst__hbpJNFPhUK8MGmTynKuAQ",
      "first_name": "Emmett",
      "last_name": "Brown",
      "company_name": "Brown Associates",
      "phone": "444-444-4444",
      "email": "e.brown@brown.net",
      "label": "Brown Shipping",
      "address_type": "default_shipping",
      "shipping_address_type": "residential",
      "physical_address": {
        "street_line1": "123 Hill Valley Rd.",
        "street_line2": "APT 1001",
        "locality": "Hill Valley",
        "region": "CA",
        "postal_code": "95420"
      },
      "links": {
        "self": "https://api.forte.net/v3/addresses/add_M9AzCIEM1ECmmiM5M7Eo8A"
      }
    }
  ],
  "paymethod": {
    "paymethod_token": "mth_j4VdXyU0-kmMjAVf-leTdA",
    "organization_id": "org_334316",
    "location_id": "loc_192642",
    "customer_token": "cst__hbpJNFPhUK8MGmTynKuAQ",
    "customer_id": "",
    "label": "Visa - 1243",
    "notes": "Business CC",
    "card": {
      "name_on_card": "Emmett L. Brown",
      "last_4_account_number": "1111",
      "masked_account_number": "****1111",
      "expire_month": 10,
      "expire_year": 2020,
      "procurement_card": false,
      "card_type": "visa",
      "suppress_account_updater": false
    },
    "links": {
      "transactions": "https://api.forte.net/v3/paymethods/mth_j4VdXyU0-kmMjAVf-leTdA/transactions",
      "settlements": "https://api.forte.net/v3/paymethods/mth_j4VdXyU0-kmMjAVf-leTdA/settlements",
      "schedules": "https://api.forte.net/v3/paymethods/mth_j4VdXyU0-kmMjAVf-leTdA/schedules",
      "self": "https://api.forte.net/v3/paymethods/mth_j4VdXyU0-kmMjAVf-leTdA"
    }
  },
  "response": {
    "environment": "live",
    "response_desc": "Get Successful."
  },
  "links": {
    "addresses": "https://api.forte.net/v3/customers/cst__hbpJNFPhUK8MGmTynKuAQ/addresses",
    "paymethods": "https://api.forte.net/v3/customers/cst__hbpJNFPhUK8MGmTynKuAQ/paymethods",
    "transactions": "https://api.forte.net/v3/customers/cst__hbpJNFPhUK8MGmTynKuAQ/transactions",
    "settlements": "https://api.forte.net/v3/customers/cst__hbpJNFPhUK8MGmTynKuAQ/settlements",
    "schedules": "https://api.forte.net/v3/customers/cst__hbpJNFPhUK8MGmTynKuAQ/schedules",
    "self": "https://api.forte.net/v3/customers/cst__hbpJNFPhUK8MGmTynKuAQ"
  }
}
				
			

GET Customers by Search Filter

				
					{{baseURI}}/organizations/org_{{organizationID}}/customers/?filter=last_name eq McFly
				
			

This URI returns all the customers for an Organization by search criteria provided within the route. To narrow your search data using specific criteria, use the following parameters to filter your results:

  • location_id

  • status

  • first_name

  • last_name

  • company_name

  • customer_id

Note: Please note that sending a request at the partner (org) level may result in a large data set and may cause timeout errors depending on the request. We recommend sending your GET request at the Merchant (Organization) level.

AUTHORIZATION Basic Auth
Username      {{apiaccessid}}
Password       {{apisecurekey}}
PARAMS
filter                  last_name eq McFly

Example Request

				
					curl --location -g 'https://api.forte.net/v3/organizations/org_{{organizationID}}/customers/?filter=last_name%20eq%20McFly' \
--header 'Authorization: {{Authorization}}' \
--header 'Accept: application/json' \
--header 'X-Forte-Auth-Organization-Id: org_{{AuthOrganizationID}}'
				
			

Example Response

				
					{
  "number_results": 2,
  "search_criteria": {
    "page_size": 50,
    "page_index": 0,
    "home_organization_id": "org_334316",
    "resource_specific": {
      "last_name": "McFly"
    }
  },
  "results": [
    {
      "customer_token": "cst__hbpJNFPhUK8MGmTynKuAQ",
      "organization_id": "org_334316",
      "location_id": "loc_192642",
      "default_paymethod_type": "visa",
      "default_paymethod_token": "mth_j4VdXyU0-kmMjAVf-leTdA",
      "default_shipping_address_token": "add_M9AzCIEM1ECmmiM5M7Eo8A",
      "default_billing_address_token": "add_fkWcRA-EXECdFqeY0yXNLw",
      "status": "active",
      "first_name": "Jennifer",
      "last_name": "McFly",
      "company_name": "Brown Associates",
      "display_name": "Brown Associates",
      "addresses": [
        {
          "address_token": "add_fkWcRA-EXECdFqeY0yXNLw",
          "organization_id": "org_334316",
          "location_id": "loc_192642",
          "customer_token": "cst__hbpJNFPhUK8MGmTynKuAQ",
          "first_name": "Emmett",
          "last_name": "Brown",
          "company_name": "Brown Associates",
          "phone": "444-444-4444",
          "email": "e.brown@forte.net",
          "label": "Brown Billing",
          "address_type": "default_billing",
          "shipping_address_type": "commercial",
          "physical_address": {
            "street_line1": "500 Delorean Dr",
            "street_line2": "Suite 200",
            "locality": "Hill Valley",
            "region": "CA",
            "postal_code": "95420"
          },
          "links": {
            "self": "https://api.forte.net/v3/addresses/add_fkWcRA-EXECdFqeY0yXNLw"
          }
        }
      ],
      "paymethod": {
        "paymethod_token": "mth_j4VdXyU0-kmMjAVf-leTdA",
        "organization_id": "org_334316",
        "location_id": "loc_192642",
        "customer_token": "cst__hbpJNFPhUK8MGmTynKuAQ",
        "label": "Visa - 1243",
        "notes": "Business CC",
        "card": {
          "name_on_card": "Emmett L. Brown",
          "last_4_account_number": "1111",
          "masked_account_number": "****1111",
          "expire_month": 10,
          "expire_year": 2020,
          "procurement_card": false,
          "card_type": "visa",
          "suppress_account_updater": false
        },
        "links": {
          "transactions": "https://api.forte.net/v3/paymethods/mth_j4VdXyU0-kmMjAVf-leTdA/transactions",
          "settlements": "https://api.forte.net/v3/paymethods/mth_j4VdXyU0-kmMjAVf-leTdA/settlements",
          "schedules": "https://api.forte.net/v3/paymethods/mth_j4VdXyU0-kmMjAVf-leTdA/schedules",
          "self": "https://api.forte.net/v3/paymethods/mth_j4VdXyU0-kmMjAVf-leTdA"
        }
      },
      "links": {
        "addresses": "https://api.forte.net/v3/customers/cst__hbpJNFPhUK8MGmTynKuAQ/addresses",
        "paymethods": "https://api.forte.net/v3/customers/cst__hbpJNFPhUK8MGmTynKuAQ/paymethods",
        "transactions": "https://api.forte.net/v3/customers/cst__hbpJNFPhUK8MGmTynKuAQ/transactions",
        "settlements": "https://api.forte.net/v3/customers/cst__hbpJNFPhUK8MGmTynKuAQ/settlements",
        "schedules": "https://api.forte.net/v3/customers/cst__hbpJNFPhUK8MGmTynKuAQ/schedules",
        "self": "https://api.forte.net/v3/customers/cst__hbpJNFPhUK8MGmTynKuAQ"
      }
    },
    {
      "customer_token": "cst_h3uHz2OIKUKQQMHgrSzHZg",
      "organization_id": "org_334316",
      "location_id": "loc_192642",
      "default_paymethod_type": "visa",
      "default_paymethod_token": "mth_QVFB1RzwDUe9A2kOFAI6UQ",
      "default_shipping_address_token": "add_PZlDG3i-lUCu7eC69J7GDQ",
      "default_billing_address_token": "add_7JNkcj4ye02sJJVCdJcbRQ",
      "status": "active",
      "first_name": "Marty",
      "last_name": "McFly",
      "company_name": "Brown Associates",
      "display_name": "Brown Associates",
      "addresses": [
        {
          "address_token": "add_7JNkcj4ye02sJJVCdJcbRQ",
          "organization_id": "org_334316",
          "location_id": "loc_192642",
          "customer_token": "cst_h3uHz2OIKUKQQMHgrSzHZg",
          "first_name": "Emmett",
          "last_name": "Brown",
          "company_name": "Brown Associates",
          "phone": "444-444-4444",
          "email": "e.brown@forte.net",
          "label": "Brown Billing",
          "address_type": "default_billing",
          "shipping_address_type": "commercial",
          "physical_address": {
            "street_line1": "500 Delorean Dr",
            "street_line2": "Suite 200",
            "locality": "Hill Valley",
            "region": "CA",
            "postal_code": "95420"
          },
          "links": {
            "self": "https://api.forte.net/v3/addresses/add_7JNkcj4ye02sJJVCdJcbRQ"
          }
        }
      ],
      "paymethod": {
        "paymethod_token": "mth_QVFB1RzwDUe9A2kOFAI6UQ",
        "organization_id": "org_334316",
        "location_id": "loc_192642",
        "customer_token": "cst_h3uHz2OIKUKQQMHgrSzHZg",
        "label": "Visa - 1243",
        "notes": "Business CC",
        "card": {
          "name_on_card": "Emmett L. Brown",
          "last_4_account_number": "1111",
          "masked_account_number": "****1111",
          "expire_month": 10,
          "expire_year": 2020,
          "procurement_card": false,
          "card_type": "visa",
          "suppress_account_updater": false
        },
        "links": {
          "transactions": "https://api.forte.net/v3/paymethods/mth_QVFB1RzwDUe9A2kOFAI6UQ/transactions",
          "settlements": "https://api.forte.net/v3/paymethods/mth_QVFB1RzwDUe9A2kOFAI6UQ/settlements",
          "schedules": "https://api.forte.net/v3/paymethods/mth_QVFB1RzwDUe9A2kOFAI6UQ/schedules",
          "self": "https://api.forte.net/v3/paymethods/mth_QVFB1RzwDUe9A2kOFAI6UQ"
        }
      },
      "links": {
        "addresses": "https://api.forte.net/v3/customers/cst_h3uHz2OIKUKQQMHgrSzHZg/addresses",
        "paymethods": "https://api.forte.net/v3/customers/cst_h3uHz2OIKUKQQMHgrSzHZg/paymethods",
        "transactions": "https://api.forte.net/v3/customers/cst_h3uHz2OIKUKQQMHgrSzHZg/transactions",
        "settlements": "https://api.forte.net/v3/customers/cst_h3uHz2OIKUKQQMHgrSzHZg/settlements",
        "schedules": "https://api.forte.net/v3/customers/cst_h3uHz2OIKUKQQMHgrSzHZg/schedules",
        "self": "https://api.forte.net/v3/customers/cst_h3uHz2OIKUKQQMHgrSzHZg"
      }
    }
  ],
  "response": {
    "environment": "live",
    "response_desc": "Get Successful."
  },
  "links": {
    "self": "https://api.forte.net/v3/customers/?filter=last_name+eq+McFly"
  }
}
				
			

PUT Update a Customer (Simple)

				
					{{baseURI}}/organizations/org_{{organizationID}}/locations/loc_{{locationID}}/customers/cst_{{customertoken}}
				
			

This URI can perform the following tasks while returning the customer_token:

  • Change a customer’s status
  • Change the default billing and/or shipping address
  • Change the customer’s default paymethod

NOTE: This endpoint cannot update a customer’s addresses or paymethods. To update that data, you must use the addresses and paymethods resources.

AUTHORIZATION Basic Auth
Username      {{apiaccessid}}
Password       {{apisecurekey}}
Body raw
				
					{
       "first_name": "Dr. Emmett",
       "last_name": "Brown",
       "customer_id": "456778",
       "company_name": "Brown Associates",
       "status": "active"
}
				
			

Example Request

				
					curl --location -g --request PUT 'https://api.forte.net/v3/organizations/org_{{organizationID}}/locations/loc_{{locationID}}/customers/cst_{{customertoken}}' \
--header 'Authorization: {{Authorization}}' \
--header 'Accept: application/json' \
--header 'X-Forte-Auth-Organization-Id: org_{{AuthOrganizationID}}' \
--header 'Content-Type: application/json' \
--data '{
       "first_name": "Dr. Emmett",
       "last_name": "Brown",
       "customer_id": "456778",
       "company_name": "Brown Associates",
       "status": "active"
}'
				
			

Example Response

				
					{
  "customer_token": "cst_-mFhHBHVdkqwmQ4V27x-Xg",
  "location_id": "loc_192642",
  "status": "active",
  "first_name": "Dr. Emmett",
  "last_name": "Brown",
  "company_name": "Brown Associates",
  "display_name": "Brown Associates",
  "customer_id": "456778",
  "response": {
    "environment": "live",
    "response_desc": "Update Successful."
  },
  "links": {
    "addresses": "https://api.forte.net/v3/customers/cst_-mFhHBHVdkqwmQ4V27x-Xg/addresses",
    "paymethods": "https://api.forte.net/v3/customers/cst_-mFhHBHVdkqwmQ4V27x-Xg/paymethods",
    "transactions": "https://api.forte.net/v3/customers/cst_-mFhHBHVdkqwmQ4V27x-Xg/transactions",
    "settlements": "https://api.forte.net/v3/customers/cst_-mFhHBHVdkqwmQ4V27x-Xg/settlements",
    "schedules": "https://api.forte.net/v3/customers/cst_-mFhHBHVdkqwmQ4V27x-Xg/schedules",
    "self": "https://api.forte.net/v3/customers/cst_-mFhHBHVdkqwmQ4V27x-Xg"
  }
}
				
			

PUT Update a Customer (Alternate URI)

				
					{{baseURI}}/organizations/org_{{organizationID}}/customers/cst_{{customertoken}}
				
			

This URI can perform the following tasks while returning the customer_tokenNOTE: This customer_token is an organization-level token, meaning it can be used across locations of this organization.

  • Change a customer’s status
  • Change the default billing and/or shipping address
  • Change the customer’s default paymethod

NOTE: This endpoint cannot update a customer’s addresses or paymethods. To update that data, you must use the address and paymethod resources.

AUTHORIZATION Basic Auth
Username      {{apiaccessid}}
Password       {{apisecurekey}}
Body raw
				
					{
       "first_name": "Dr. Emmett",
       "last_name": "Brown",
       "customer_id": "456778",
       "company_name": "Brown Associates",
       "status": "active"
}
				
			

Example Request

				
					curl --location -g --request PUT 'https://api.forte.net/v3/organizations/org_{{organizationID}}/customers/cst_{{customertoken}}' \
--header 'Authorization: {{Authorization}}' \
--header 'Accept: application/json' \
--header 'X-Forte-Auth-Organization-Id: org_{{AuthOrganizationID}}' \
--header 'Content-Type: application/json' \
--data '{
       "first_name": "Dr. Emmett",
       "last_name": "Brown",
       "customer_id": "456778",
       "company_name": "Brown Associates",
       "status": "active"
}'
				
			

Example Response

				
					{
  "customer_token": "cst_-mFhHBHVdkqwmQ4V27x-Xg",
  "location_id": "loc_192642",
  "status": "active",
  "first_name": "Dr. Emmett",
  "last_name": "Brown",
  "company_name": "Brown Associates",
  "display_name": "Brown Associates",
  "customer_id": "456778",
  "response": {
    "environment": "live",
    "response_desc": "Update Successful."
  },
  "links": {
    "addresses": "https://api.forte.net/v3/customers/cst_-mFhHBHVdkqwmQ4V27x-Xg/addresses",
    "paymethods": "https://api.forte.net/v3/customers/cst_-mFhHBHVdkqwmQ4V27x-Xg/paymethods",
    "transactions": "https://api.forte.net/v3/customers/cst_-mFhHBHVdkqwmQ4V27x-Xg/transactions",
    "settlements": "https://api.forte.net/v3/customers/cst_-mFhHBHVdkqwmQ4V27x-Xg/settlements",
    "schedules": "https://api.forte.net/v3/customers/cst_-mFhHBHVdkqwmQ4V27x-Xg/schedules",
    "self": "https://api.forte.net/v3/customers/cst_-mFhHBHVdkqwmQ4V27x-Xg"
  }
}
				
			

PUT Update a Customer

				
					{{baseURI}}/organizations/org_{{organizationID}}/locations/loc_{{locationID}}/customers/cst_{{customertoken}}
				
			

This URI can perform the following tasks while returning the customer_token:

  • Change a customer’s status
  • Change the default billing and/or shipping address
  • Change the customer’s default paymethod

NOTE: This endpoint cannot update a customer’s addresses or paymethods. To update that data, you must use the address and paymethod resources.

AUTHORIZATION Basic Auth
Username      {{apiaccessid}}
Password       {{apisecurekey}}
Body raw
				
					{
       "default_shipping_address_token": "add_58XkUwLqsUKDPtuYDARE0Q",
       "default_billing_address_token": "add_58XkUwLqsUKDPtuYDARE0Q",
       "default_paymethod_token": "mth_LsLlOtcf9EGnzl-Lwj_Tog",
       "first_name": "Martin",
       "last_name": "McFly",
       "customer_id": "456123",
       "company_name": "Brown Associates",
       "status": "active"
}
				
			

Example Request

				
					curl --location -g --request PUT 'https://api.forte.net/v3/organizations/org_{{organizationID}}/locations/loc_{{locationID}}/customers/cst_{{customertoken}}' \
--header 'Authorization: {{Authorization}}' \
--header 'Accept: application/json' \
--header 'X-Forte-Auth-Organization-Id: org_{{AuthOrganizationID}}' \
--header 'Content-Type: application/json' \
--data '{
       "default_shipping_address_token": "add_58XkUwLqsUKDPtuYDARE0Q",
       "default_billing_address_token": "add_58XkUwLqsUKDPtuYDARE0Q",
       "default_paymethod_token": "mth_LsLlOtcf9EGnzl-Lwj_Tog",
       "first_name": "Martin",
       "last_name": "McFly",
       "customer_id": "456123",
       "company_name": "Brown Associates",
       "status": "active"
}'
				
			

Example Response

				
					{
  "customer_token": "cst_-mFhHBHVdkqwmQ4V27x-Xg",
  "location_id": "loc_192642",
  "default_paymethod_token": "mth_LsLlOtcf9EGnzl-Lwj_Tog",
  "default_shipping_address_token": "add_58XkUwLqsUKDPtuYDARE0Q",
  "default_billing_address_token": "add_58XkUwLqsUKDPtuYDARE0Q",
  "status": "active",
  "first_name": "Martin",
  "last_name": "McFly",
  "company_name": "Brown Associates",
  "display_name": "Brown Associates",
  "customer_id": "456123",
  "response": {
    "environment": "live",
    "response_desc": "Update Successful."
  },
  "links": {
    "addresses": "https://api.forte.net/v3/customers/cst_-mFhHBHVdkqwmQ4V27x-Xg/addresses",
    "paymethods": "https://api.forte.net/v3/customers/cst_-mFhHBHVdkqwmQ4V27x-Xg/paymethods",
    "transactions": "https://api.forte.net/v3/customers/cst_-mFhHBHVdkqwmQ4V27x-Xg/transactions",
    "settlements": "https://api.forte.net/v3/customers/cst_-mFhHBHVdkqwmQ4V27x-Xg/settlements",
    "schedules": "https://api.forte.net/v3/customers/cst_-mFhHBHVdkqwmQ4V27x-Xg/schedules",
    "self": "https://api.forte.net/v3/customers/cst_-mFhHBHVdkqwmQ4V27x-Xg"
  }
}
				
			

PUT Update a Customer with a Paymethod

				
					{{baseURI}}/organizations/org_{{organizationID}}/locations/loc_{{locationID}}/customers/cst_{{customertoken}}/paymethods
				
			

This URI can associate an existing, clientless paymethod_token with a customer record. For more information on clientless paymethods, see the paymethods object.

AUTHORIZATION Basic Auth
Username      {{apiaccessid}}
Password       {{apisecurekey}}
Body raw
				
					{
"paymethod_token": "mth_5VywQ8J1DEahKDLWDyvKpA"
}
				
			

Example Request

				
					curl --location -g --request PUT 'https://api.forte.net/v3/organizations/org_{{organizationID}}/locations/loc_{{locationID}}/customers/cst_{{customertoken}}/paymethods' \
--header 'Authorization: {{Authorization}}' \
--header 'Accept: application/json' \
--header 'X-Forte-Auth-Organization-Id: org_{{AuthOrganizationID}}' \
--header 'Content-Type: application/json' \
--data '{
"paymethod_token": "mth_5VywQ8J1DEahKDLWDyvKpA"
}'
				
			

Example Response

				
					{
  "paymethod_token": "mth_Ih4UFqDvGEmdOMM1E_yVeg",
  "location_id": "loc_192642",
  "customer_token": "cst_-mFhHBHVdkqwmQ4V27x-Xg",
  "response": {
    "environment": "live",
    "response_desc": "Update Successful."
  },
  "links": {
    "transactions": "https://api.forte.net/v3/paymethods/mth_Ih4UFqDvGEmdOMM1E_yVeg/transactions",
    "settlements": "https://api.forte.net/v3/paymethods/mth_Ih4UFqDvGEmdOMM1E_yVeg/settlements",
    "schedules": "https://api.forte.net/v3/paymethods/mth_Ih4UFqDvGEmdOMM1E_yVeg/schedules",
    "self": "https://api.forte.net/v3/paymethods/mth_Ih4UFqDvGEmdOMM1E_yVeg"
  }
}
				
			

DELETE Customer

				
					{{baseURI}}/organizations/org_{{organizationID}}/locations/loc_{{locationID}}/customers/cst_{{customertoken}}
				
			

Use this URI to delete a customer. NOTE: A customer cannot be deleted if he or she is tied to an active schedule.

AUTHORIZATION Basic Auth
Username      {{apiaccessid}}
Password       {{apisecurekey}}

Example Request

				
					curl --location -g --request DELETE 'https://api.forte.net/v3/organizations/org_{{organizationID}}/locations/loc_{{locationID}}/customers/cst_{{customertoken}}' \
--header 'Authorization: {{Authorization}}' \
--header 'Accept: application/json' \
--header 'X-Forte-Auth-Organization-Id: org_{{AuthOrganizationID}}' \
--data ''
				
			

Example Response

				
					{
  "customer_token": "cst_FgUpL5jS_E-HCnR79cUZfQ",
  "location_id": "loc_192642",
  "response": {
    "environment": "live",
    "response_desc": "Delete Successful."
  }
}
				
			

Disputes

The disputes object represents transactions that were disputed by the credit card account holder. Dispute records are automatically submitted to Forte by the processor. Merchants can view these records and upload supporting documentation using the documents object.

Disputes Object

Parameter

Description

Type

Req

dispute_id

A unique string defined by Forte that represents a dispute. For example, dsp_31wef05ABpV2eZvKYlo54.

string

R

transaction_id

A 36-character string that uniquely identifies the original transaction associated with this dispute.

string

R

dispute_number

A unique, processor-defined number that identifies the dispute record.

string

R

organization_id

The identification number of the associated organization. For example, org_5551236.

string

R

location_id

The identification number of the associated location. For example, loc_1234568.

string

R

status

The current status of the dispute. Supported values include the following:

documents_needed - The merchant needs to provide documents to Forte.
exception - The dispute was created with a reason code that is unfamiliar to Dex or the dispute's reason code triggers a credit funding adjustment as the first funding adjustment in the dispute record.
expired - A dispute has stayed in DRAFT status for 31 days. User actions are disabled, but funding adjustments may still occur.
lost - The dispute was decided in favor of the cardholder.
pending - Forte has submitted the required documents to the processor.
reviewing - The required documents have been received by Forte and are under review.
won - The dispute was decided in favor of the merchant.
recalled - A condition has caused the dispute to disable all automated funding. Forte must now manually work the dispute.
accepted - The merchant has accepted the dispute and funds will be returned to the cardholder.
fulfilled - Indicates a dispute that was created as an Inquiry record type and remains an Inquiry for 31 consecutive days even after the merchant uploads supporting documentation.

string

R

dispute_amount

The amount the cardholder is disputing. This amount must match the value of the original_amount parameter.

decimal

R

original_amount

The original amount of the transaction.

decimal

R

action_code

A code that indicates what actions to take in resolving the dispute. Supported values include the following:

CACP - Accept of Collection
CBRV - Create Outgoing Representment
CDNL - Denial of Collection
CHGM - Charge Merchant
COLL - Collection Letter Ordered
CRMR - Credit Merchant
IACF - Incoming Compliance
IACP - Issuer Accept
IARB - Incoming Arbitration
IDCL - Issuer Declines
IFAV - Cased Decided in Issuer Favor (merchant liable)
IPAB - Incoming Pre-Arbitration
IREP - Create Outgoing Representment
MACP - Merchant Accept
MDCL - Merchant Declines
MDNL - Merchant Denial
MFAV - Case Decided in Merchant's Favor (merchant not liable)
MREV - Merchant Reversal of Chargeback
OARB - Outgoing Arbitration
OPAR - Outgoing Pre-Arbitration
OPARB - Outgoing Pre-Arbitration
OREV - Operation Reversal of Chargeback
PADM - Pre-Arbitration/Pre-Compliance Debit Merchant
PARB - Incoming Visa Pre-Arbitration Request
PARE - Pre-Arbitration/Pre-Compliance Response
PCCR - Arbitration
PCHG - Pending Charge Off
PCMP - Pre-Compliance Prenote
PICR - Arbitration
PIDB - Arbitration
PMCR - Arbitration/Pre-Compliance Credit Merchant
PMDB - Arbitration/Pre-Compliance Credit Merchant
RREQ - Incoming Retrieval Request
RRSP - Retrieval Request Response
VDNL - Vantiv Denies (The documentation the merchant provided is not enough to use for rebuttal)

string

R

adjustment_type

A code indicating the type of adjustment to be made for this dispute. Supported values include the following:

DRFT - Credit Card Draft Retrieval
PNOT - Chargeback/Pre-Compliance Prenotification
CHBK - Chargeback Action Item

string

R

received_date

The date and time that Forte received the dispute record from the processor.

datetime

R

due_date

The date and time the resolution to the dispute is due. This date varies depending on whether or not the merchant is classified as a government or non-government merchant.

datetime

R

last_update_date

The date and time when the dispute was last updated.

datetime

R

last_funding_date

The date and time when the dispute was last funded.

datetime

R

comment_from_issuer

Comments provided to the processor by the card issuer.

string

R

reason

The Reason Object.

object

R

reason.code

A code that represents the reason for the dispute. This code varies between issuers; however, MasterCard reason codes are prefaced with an M (e.g.,M9999), VISA reason codes are prefaced with a V (e.g., V9999), and Discover reason codes are prefaced with a D (e.g., D9999)

string

O

reason.title

The name of the dispute reason.

string

R

reason.description

A brief description of the dispute reason.

string

R

reason.info_required

A comment about the dispute by a member of Forte's Risk Department.

string

R

card

The Card Object

object

R

card.card_type

The type of credit card [max length = 6]. Options for this field include the following:

visa
mast
disc

string

R

card.name_on_card

The name printed on the credit card [max length = 50].

string

R

card.last_4_account_number

The last four digits of the redacted account number. [max length = 4]

GET All Disputes for an Organization

				
					{{baseURI}}/organizations/org_{{organizationID}}/disputes/
				
			

This URI returns all the dispute records associated with an organization. To narrow your search data using specific criteria, use the following filter parameters. NOTE: Dispute calls cannot be tested in Sandbox.

  • `dispute_number`

  • `location_id`

  • `start_due_date` / `end_due_date`

  • `start_last_update_date` / `end_last_update_date`

  • `start_received_date` / `end_received_date`

  • `status`

  • `amount`

  • `card_type`

  • `action_code`

  • `name_on_card`

  • `last_4_account_number`

NOTES: The following filter parameters support the listed values:

  • card_type

    • disc

    • mast

    • visa

  • action_code

      • CACP

     

    • CBRV

    • CDNL

    • CHGM

    • COLL

    • DRFT

    • MREV

    • MDNL

    • IREP

    • MACP

    • PADM

    • PARE

    • PCCR

    • PCHG

    • PCMP

    • PICR

    • PIDB

    • PMCR

    • PMDB

    • RTLV

  • status

    • accepted

    • deleted

    • documents_needed

    • expired

    • lost

    • pending

    • recalled

    • reviewing

    • won

Please note that sending a request at the partner (org) level may result in a large data set and may cause timeout errors depending on the request. We recommend sending your GET request at the Merchant (Organization) level.

AUTHORIZATION Basic Auth
Username      {{apiaccessid}}
Password       {{apisecurekey}}

Example Request

				
					curl --location -g 'https://api.forte.net/v3/organizations/org_{{organizationID}}/disputes/' \
--header 'Authorization: {{Authorization}}' \
--header 'Accept: application/json' \
--header 'X-Forte-Auth-Organization-Id: org_{{AuthOrganizationID}}'
				
			

Example Response

				
					{
  "number_results": 4,
  "search_criteria": {
    "page_size": 50,
    "page_index": 0,
    "home_organization_id": "org_300005",
    "resource_specific": {
      "start_received_date": "2018-09-13T09:07:47.9332124-07:00",
      "end_received_date": "2018-12-12T09:07:47.9332124-08:00"
    }
  },
  "results": [
    {
      "dispute_id": "dsp_f606a032-91b0-4b07-902e-3e23a0e30c91",
      "organization_id": "org_300005",
      "location_id": "loc_115161",
      "transaction_id": "trn_05e5ed61-b7c6-48a8-a383-184db63336a3",
      "dispute_number": "8050207938",
      "status": "documents_needed",
      "dispute_amount": 23.98,
      "original_amount": 23.98,
      "adjustment_type": "DRFT",
      "received_date": "2018-12-10T14:30:49.837",
      "due_date": "2018-12-30T14:30:49.837",
      "draft_action_code_date": "2018-12-10T00:00:00",
      "last_update_date": "2018-12-10T14:30:49.84",
      "comment_from_issuer": "Expired card",
      "reason": {
        "code": "D4535",
        "title": "Expired Card",
        "description": "The credit card was expired but it was charged anyway.",
        "info_required": "Copy of receipt showing the card was not expired at the time of sale"
      },
      "card": {
        "name_on_card": "Dave McFly",
        "last_4_account_number": "1117",
        "masked_account_number": "****1117",
        "card_type": "disc"
      },
      "links": {
        "documents": "https://api.forte.net/v3/disputes/dsp_f606a032-91b0-4b07-902e-3e23a0e30c91/documents",
        "transactions": "https://api.forte.net/v3/disputes/dsp_f606a032-91b0-4b07-902e-3e23a0e30c91/transactions",
        "self": "https://api.forte.net/v3/disputes/dsp_f606a032-91b0-4b07-902e-3e23a0e30c91"
      }
    },
    {
      "dispute_id": "dsp_9517a1eb-f4e8-422f-b9d6-82965838578f",
      "organization_id": "org_300005",
      "location_id": "loc_115161",
      "transaction_id": "trn_7f328415-d0bf-469c-a0aa-33e696f22fc1",
      "dispute_number": "8050207937",
      "status": "won",
      "dispute_amount": 20.45,
      "original_amount": 20.45,
      "action_code": "CHGM",
      "adjustment_type": "CHBK",
      "received_date": "2018-12-10T06:54:11.577",
      "due_date": "2018-12-30T06:54:02.533",
      "last_update_date": "2018-12-10T06:54:11.577",
      "comment_from_issuer": "",
      "reason": {
        "code": "V1204",
        "title": "Incorrect Account Number",
        "description": "The incorrect information was entered at the time of processing.",
        "info_required": "Provide proof that the correct information was entered by supplying the supporting documentation.  Such as the receipt/invoice/bill."
      },
      "card": {
        "name_on_card": "Linda McFly",
        "last_4_account_number": "0006",
        "masked_account_number": "****0006",
        "card_type": "visa"
      },
      "links": {
        "documents": "https://api.forte.net/v3/disputes/dsp_9517a1eb-f4e8-422f-b9d6-82965838578f/documents",
        "transactions": "https://api.forte.net/v3/disputes/dsp_9517a1eb-f4e8-422f-b9d6-82965838578f/transactions",
        "self": "https://api.forte.net/v3/disputes/dsp_9517a1eb-f4e8-422f-b9d6-82965838578f"
      }
    },
    {
      "dispute_id": "dsp_cc25c499-9c9d-4d4f-aec8-1f726c3032ac",
      "organization_id": "org_300005",
      "location_id": "loc_115161",
      "transaction_id": "trn_01f66595-8b44-476d-a341-66bae93b3553",
      "dispute_number": "8050207935",
      "status": "expired",
      "dispute_amount": 26.37,
      "original_amount": 26.37,
      "adjustment_type": "DRFT",
      "received_date": "2018-11-08T06:43:20.79",
      "due_date": "2018-12-30T06:43:20.79",
      "draft_action_code_date": "2018-12-10T00:00:00",
      "last_update_date": "2018-12-10T06:43:21.023",
      "comment_from_issuer": "",
      "reason": {
        "code": "M4837",
        "title": "Fraudulent Transaction—No Cardholder Authorization",
        "description": "The card was key entered or swiped and the customer is claiming fraud.",
        "info_required": "Supply the receipt showing the billing address and CVV code matched and proof of delivery, if merchandise was shipped, email correspondeces, or proof that the cardholder participated"
      },
      "card": {
        "name_on_card": "Sam Baines",
        "last_4_account_number": "4444",
        "masked_account_number": "****4444",
        "card_type": "mast"
      },
      "links": {
        "documents": "https://api.forte.net/v3/disputes/dsp_cc25c499-9c9d-4d4f-aec8-1f726c3032ac/documents",
        "transactions": "https://api.forte.net/v3/disputes/dsp_cc25c499-9c9d-4d4f-aec8-1f726c3032ac/transactions",
        "self": "https://api.forte.net/v3/disputes/dsp_cc25c499-9c9d-4d4f-aec8-1f726c3032ac"
      }
    },
    {
      "dispute_id": "dsp_1d6a66cd-6bdf-4250-9e2f-78ec25c7c29a",
      "organization_id": "org_300005",
      "location_id": "loc_115161",
      "transaction_id": "trn_f07a148b-c66f-4699-b556-355c9a005e18",
      "dispute_number": "8050207931",
      "status": "reviewing",
      "dispute_amount": 17.87,
      "original_amount": 17.87,
      "action_code": "CHGM",
      "adjustment_type": "CHBK",
      "received_date": "2018-12-06T14:30:40.78",
      "due_date": "2018-12-26T14:30:31.793",
      "last_update_date": "2018-12-07T12:28:27.45",
      "last_funding_date": "2018-12-06T15:59:57.33",
      "comment_from_issuer": "",
      "reason": {
        "code": "M4808",
        "title": "Requested/Required Authorization Not Obtained",
        "description": "The auth code used on the charge was not valid or it was expired.",
        "info_required": "Supply proof that valid authorization was obtained, such as the receipt copy with the valid authorization code."
      },
      "card": {
        "name_on_card": "Stella Baines",
        "last_4_account_number": "4444",
        "masked_account_number": "****4444",
        "card_type": "mast"
      },
      "links": {
        "documents": "https://api.forte.net/v3/disputes/dsp_1d6a66cd-6bdf-4250-9e2f-78ec25c7c29a/documents",
        "transactions": "https://api.forte.net/v3/disputes/dsp_1d6a66cd-6bdf-4250-9e2f-78ec25c7c29a/transactions",
        "self": "https://api.forte.net/v3/disputes/dsp_1d6a66cd-6bdf-4250-9e2f-78ec25c7c29a"
      }
    }
  ],
  "response": {
    "environment": "live",
    "response_desc": "Get Successful."
  },
  "links": {
    "self": "https://api.forte.net/v3/disputes/",
    "next": "https://api.forte.net/v3/disputes/?page_index=1"
  }
}
				
			

GET All Disputes with Filter

				
					{{baseURI}}/organizations/org_{{organizationID}}/disputes?filter=start_received_date+eq+'2018-12-07'+and+end_received_date+eq+'2018-12-12'
				
			

Example Responsea

This URI returns all the dispute records associated with an organization. To narrow your search data using specific criteria, use the following filter parameters. NOTE: Dispute calls cannot be tested in Sandbox.

  • last_4_account_number

  • card_type

  • name_on_card

  • start_last_update_date / end_last_update_date

  • start_due_date / end_due_date

  • start_received_date / end_received_date

  • action_code

  • dispute_amount

  • status

  • dispute_number

  • transaction_id

  • location_id

  • organization_id

NOTES: The following filter parameters support the listed values:

  • card_type

    • amex

    • disc

    • jcb

    • mast

    • visa

  • action_code

    • CACP

    • CBRV

    • CDNL

    • CHGM

    • COLL

    • DRFT

    • MREV

    • MDNL

    • IREP

    • MACP

    • PADM

    • PARE

    • PCCR

    • PCHG

    • PCMP

    • PICR

    • PIDB

    • PMCR

    • PMDB

    • RTLV

  • status

    • accepted

    • deleted

    • documents_needed

    • expired

    • lost

    • pending

    • recalled

    • reviewing

    • won

Note: Please note that sending a request at the partner (org) level may result in a large data set and may cause timeout errors depending on the request. We recommend sending your GET request at the Merchant (Organization) level.

AUTHORIZATION Basic Auth
Username      {{apiaccessid}}
Password       {{apisecurekey}}
PARAMS
filter                start_received_date+eq+'2018-12-07'+and+end_received_date+eq+'2018-12-12'

Example Request

				
					curl --location 'https://api.forte.net/v3/organizations/org_300005/disputes?filter=start_received_date%2Beq%2B%272018-12-07%27%2Band%2Bend_received_date%2Beq%2B%272018-12-12%27%0A' \
--header 'Authorization: {{Authorization}}' \
--header 'Accept: application/json' \
--header 'X-Forte-Auth-Organization-Id: org_{{AuthOrganizationID}}'
				
			

Example Response

				
					{
  "number_results": 6,
  "search_criteria": {
    "page_size": 50,
    "page_index": 0,
    "home_organization_id": "org_300005",
    "resource_specific": {
      "start_received_date": "2018-12-07T00:00:00",
      "end_received_date": "2018-12-12T00:00:00"
    }
  },
  "results": [
    {
      "dispute_id": "dsp_f606a032-91b0-4b07-902e-3e23a0e30c91",
      "organization_id": "org_300005",
      "location_id": "loc_115161",
      "transaction_id": "trn_05e5ed61-b7c6-48a8-a383-184db63336a3",
      "dispute_number": "8050207938",
      "status": "documents_needed",
      "dispute_amount": 23.98,
      "original_amount": 23.98,
      "adjustment_type": "DRFT",
      "received_date": "2018-12-10T14:30:49.837",
      "due_date": "2018-12-30T14:30:49.837",
      "draft_action_code_date": "2018-12-10T00:00:00",
      "last_update_date": "2018-12-10T14:30:49.84",
      "comment_from_issuer": "",
      "reason": {
        "code": "D4535",
        "title": "Expired Card",
        "description": "The credit card was expired but it was charged anyway.",
        "info_required": "Copy of receipt showing the card was not expired at the time of sale"
      },
      "card": {
        "name_on_card": "Stella Baines",
        "last_4_account_number": "1117",
        "masked_account_number": "****1117",
        "card_type": "disc"
      },
      "links": {
        "documents": "https://api.forte.net/v3/disputes/dsp_f606a032-91b0-4b07-902e-3e23a0e30c91/documents",
        "transactions": "https://api.forte.net/v3/disputes/dsp_f606a032-91b0-4b07-902e-3e23a0e30c91/transactions",
        "self": "https://api.forte.net/v3/disputes/dsp_f606a032-91b0-4b07-902e-3e23a0e30c91"
      }
    },
    {
      "dispute_id": "dsp_9517a1eb-f4e8-422f-b9d6-82965838578f",
      "organization_id": "org_300005",
      "location_id": "loc_115161",
      "transaction_id": "trn_7f328415-d0bf-469c-a0aa-33e696f22fc1",
      "dispute_number": "8050207937",
      "status": "won",
      "dispute_amount": 20.45,
      "original_amount": 20.45,
      "action_code": "CHGM",
      "adjustment_type": "CHBK",
      "received_date": "2018-12-10T06:54:11.577",
      "due_date": "2018-12-30T06:54:02.533",
      "last_update_date": "2018-12-10T06:54:11.577",
      "comment_from_issuer": "",
      "reason": {
        "code": "V1204",
        "title": "Incorrect Account Number",
        "description": "The incorrect information was entered at the time of processing.",
        "info_required": "Provide proof that the correct information was entered by supplying the supporting documentation.  Such as the receipt/invoice/bill."
      },
      "card": {
        "name_on_card": "Griff Tannen",
        "last_4_account_number": "0006",
        "masked_account_number": "****0006",
        "card_type": "visa"
      },
      "links": {
        "documents": "https://api.forte.net/v3/disputes/dsp_9517a1eb-f4e8-422f-b9d6-82965838578f/documents",
        "transactions": "https://api.forte.net/v3/disputes/dsp_9517a1eb-f4e8-422f-b9d6-82965838578f/transactions",
        "self": "https://api.forte.net/v3/disputes/dsp_9517a1eb-f4e8-422f-b9d6-82965838578f"
      }
    },
    {
      "dispute_id": "dsp_287276a4-4d00-4ca8-a63f-43d18dcc620e",
      "organization_id": "org_300005",
      "location_id": "loc_115161",
      "transaction_id": "trn_5641cf14-bdd3-4b33-8104-6fa9c53a10af",
      "dispute_number": "8050207936",
      "status": "won",
      "dispute_amount": 29.03,
      "original_amount": 29.03,
      "action_code": "CHGM",
      "adjustment_type": "CHBK",
      "received_date": "2018-12-10T06:52:22.687",
      "due_date": "2018-12-30T06:52:12.663",
      "last_update_date": "2018-12-10T06:52:22.687",
      "comment_from_issuer": "",
      "reason": {
        "code": "D4535",
        "title": "Expired Card",
        "description": "The credit card was expired but it was charged anyway.",
        "info_required": "Copy of receipt showing the card was not expired at the time of sale"
      },
      "card": {
        "name_on_card": "Linda McFly",
        "last_4_account_number": "1117",
        "masked_account_number": "****1117",
        "card_type": "disc"
      },
      "links": {
        "documents": "https://api.forte.net/v3/disputes/dsp_287276a4-4d00-4ca8-a63f-43d18dcc620e/documents",
        "transactions": "https://api.forte.net/v3/disputes/dsp_287276a4-4d00-4ca8-a63f-43d18dcc620e/transactions",
        "self": "https://api.forte.net/v3/disputes/dsp_287276a4-4d00-4ca8-a63f-43d18dcc620e"
      }
    },
    {
      "dispute_id": "dsp_f8f4d686-6f9c-4949-83df-5568a22ae32b",
      "organization_id": "org_300005",
      "location_id": "loc_115161",
      "transaction_id": "trn_e740d5bc-3fde-48fb-9dbb-c2196509f4a3",
      "dispute_number": "8050207934",
      "dispute_amount": 14.62,
      "original_amount": 14.62,
      "action_code": "CHGM",
      "adjustment_type": "ARBT",
      "received_date": "2018-12-10T06:32:55.553",
      "due_date": "2018-12-30T06:30:09.24",
      "last_update_date": "2018-12-10T06:32:55.553",
      "last_funding_date": "2018-12-10T06:32:43.83",
      "comment_from_issuer": "",
      "reason": {
        "code": "D4535",
        "title": "Expired Card",
        "description": "The credit card was expired but it was charged anyway.",
        "info_required": "Copy of receipt showing the card was not expired at the time of sale"
      },
      "card": {
        "name_on_card": "Bill McFly",
        "last_4_account_number": "1117",
        "masked_account_number": "****1117",
        "card_type": "disc"
      },
      "links": {
        "documents": "https://api.forte.net/v3/disputes/dsp_f8f4d686-6f9c-4949-83df-5568a22ae32b/documents",
        "transactions": "https://api.forte.net/v3/disputes/dsp_f8f4d686-6f9c-4949-83df-5568a22ae32b/transactions",
        "self": "https://api.forte.net/v3/disputes/dsp_f8f4d686-6f9c-4949-83df-5568a22ae32b"
      }
    },
    {
      "dispute_id": "dsp_dc2dbbe8-7bcf-4f2d-97c1-54059ee3e568",
      "organization_id": "org_351836",
      "location_id": "loc_208354",
      "transaction_id": "trn_b6e77d69-a7d2-4f8b-9b82-3a2a9ddbc298",
      "dispute_number": "8050207933",
      "dispute_amount": 25.61,
      "original_amount": 25.61,
      "action_code": "CHGM",
      "adjustment_type": "ARBT",
      "received_date": "2018-12-07T14:08:15.11",
      "due_date": "2018-12-27T14:05:26.95",
      "last_update_date": "2018-12-07T14:08:15.113",
      "last_funding_date": "2018-12-07T14:08:14.437",
      "comment_from_issuer": "",
      "reason": {
        "code": "V1003",
        "title": "Other Fraud-Card Present Environment",
        "description": "The cardholder claims this is an unauthorized transaction.",
        "info_required": "Please provide proof the cardholder participated in the transaction in question. Possible proof could include: AVS match of M, X or Y, billing/shipping match, proof of delivery, emails with the cardholder regarding the transaction, cardholder signature on the pickup form, details of cardholder identification, IP address and/or email address of purchaser, description of goods/services sold, proof that website was accessed for services after transaction date, proof goods were downloaded, proof cardholder accessed the merchant site, evidence that previous transactions were not disputed, signed order form, evidence that transaction was completed by cardholder's family or household, proof account was created for transaction, etc."
      },
      "card": {
        "name_on_card": "Jennifer McFly",
        "last_4_account_number": "0006",
        "masked_account_number": "****0006",
        "card_type": "visa"
      },
      "links": {
        "documents": "https://api.forte.net/v3/disputes/dsp_dc2dbbe8-7bcf-4f2d-97c1-54059ee3e568/documents",
        "transactions": "https://api.forte.net/v3/disputes/dsp_dc2dbbe8-7bcf-4f2d-97c1-54059ee3e568/transactions",
        "self": "https://api.forte.net/v3/disputes/dsp_dc2dbbe8-7bcf-4f2d-97c1-54059ee3e568"
      }
    },
    {
      "dispute_id": "dsp_979861f1-315a-4b32-926a-eb4bcfd1f9c5",
      "organization_id": "org_300005",
      "location_id": "loc_115161",
      "transaction_id": "trn_66dd3d7f-d4b1-4862-bf8b-b7dd0df8f92c",
      "dispute_number": "8050207932",
      "status": "documents_needed",
      "dispute_amount": 17.49,
      "original_amount": 17.49,
      "action_code": "CRMR",
      "adjustment_type": "ARBT",
      "received_date": "2018-12-07T14:02:52.443",
      "due_date": "2018-12-27T14:00:05.157",
      "last_update_date": "2018-12-07T14:02:52.447",
      "comment_from_issuer": "",
      "reason": {
        "code": "D4535",
        "title": "Expired Card",
        "description": "The credit card was expired but it was charged anyway.",
        "info_required": "Copy of receipt showing the card was not expired at the time of sale"
      },
      "card": {
        "name_on_card": "Martin McFlyr",
        "last_4_account_number": "1117",
        "masked_account_number": "****1117",
        "card_type": "disc"
      },
      "links": {
        "documents": "https://api.forte.net/v3/disputes/dsp_979861f1-315a-4b32-926a-eb4bcfd1f9c5/documents",
        "transactions": "https://api.forte.net/v3/disputes/dsp_979861f1-315a-4b32-926a-eb4bcfd1f9c5/transactions",
        "self": "https://api.forte.net/v3/disputes/dsp_979861f1-315a-4b32-926a-eb4bcfd1f9c5"
      }
    }
  ],
  "response": {
    "environment": "live",
    "response_desc": "Get Successful."
  },
  "links": {
    "self": "https://api.forte.net/v3/disputes/?filter=start_received_date+eq+%272018-12-07%27+and+end_received_date+eq+%272018-12-12%27"
  }
}
				
			

GET Disputes by ID

				
					{{baseURI}}/organizations/org_{{organizationID}}/disputes/dsp_{{disputeID}}
				
			

This URI returns all the details of a specific dispute using the dispute_id in the route. NOTE: Dispute calls cannot be tested in Sandbox.

AUTHORIZATION Basic Auth
Username      {{apiaccessid}}
Password       {{apisecurekey}}

Example Request

				
					curl --location -g 'https://api.forte.net/v3/organizations/org_{{organizationID}}/disputes/dsp_{{disputeID}}' \
--header 'Authorization: {{Authorization}}' \
--header 'Accept: application/json' \
--header 'X-Forte-Auth-Organization-Id: org_{{AuthOrganizationID}}'
				
			

Example Response

				
					{
  "dispute_id": "dsp_f606a032-91b0-4b07-902e-3e23a0e30c91",
  "organization_id": "org_300005",
  "location_id": "loc_115161",
  "transaction_id": "trn_05e5ed61-b7c6-48a8-a383-184db63336a3",
  "dispute_number": "8050207938",
  "status": "documents_needed",
  "dispute_amount": 23.98,
  "original_amount": 23.98,
  "adjustment_type": "DRFT",
  "received_date": "2018-12-10T14:30:49.837",
  "due_date": "2018-12-30T14:30:49.837",
  "draft_action_code_date": "2018-12-10T00:00:00",
  "last_update_date": "2018-12-10T14:30:49.84",
  "comment_from_issuer": "",
  "reason": {
    "code": "D4535",
    "title": "Expired Card",
    "description": "The credit card was expired but it was charged anyway.",
    "info_required": "Copy of receipt showing the card was not expired at the time of sale"
  },
  "card": {
    "name_on_card": "George McFly",
    "last_4_account_number": "1117",
    "masked_account_number": "****1117",
    "card_type": "disc"
  },
  "response": {
    "environment": "live",
    "response_desc": "Get Successful."
  },
  "links": {
    "documents": "https://api.forte.net/v3/disputes/dsp_f606a032-91b0-4b07-902e-3e23a0e30c91/documents",
    "transactions": "https://api.forte.net/v3/disputes/dsp_f606a032-91b0-4b07-902e-3e23a0e30c91/transactions",
    "self": "https://api.forte.net/v3/disputes/dsp_f606a032-91b0-4b07-902e-3e23a0e30c91"
  }
}
				
			

Documents

The documents object enables merchants and partners to upload supporting documentation for applications and disputes. Documents must be under 8MB and conform to specific formats. See the documents object for more information.

Documents Object

Parameter

Description

Type

Req

document_id

A unique string used to represent a document. For example, doc_31wef05ABpV2eZvKYlo54.

string

R

resource

The object resource the document pertains to. Supported values include the following:

application
dispute
bankaccount

string

R

resource_id

The identification number of the associated resource. For example, app_109630, dsp_31wef05ABpV2eZvKYlo54, or bac_XBvmvvUAG0ur5Tl4-5eBnA.

string

R

type

The type of document. Supported values include the following:

jpeg
png
tiff
txt
bmp
pdf
wav
mp3


NOTE: Files in wav or mp3 format can only be uploaded for echeck Proof of Authorization (POA) disputes.

string

O

description

A brief description of the document (e.g., receipt or voided check). [max length = 512 characters]

string

O

size

The size of the document in bytes. The maximum file size for a document is 8MB (i.e., 8,000,000 bytes).

int

O

received_date

The date that Forte received the document.

date

O

file

The name of the document file you're uploading to Forte.

string

O

POST Text Document

				
					{{baseURI}}/organizations/org_{{organizationID}}/documents/
				
			

To successfully upload a document that supports a merchant application or dispute, your request must include a multipart/form-data content type. A multipart/form-data message contains a series of sections separated by boundary strings. Boundary strings can be any combination of letters or numbers up to 70 characters as long as the string does not appear in the request body of the message. Each instance of a boundary string must be preceded by at least two dashes (--boundarystring), while the last boundary string must be preceded and followed by two dashes (--boundarystring--).

The section of a multipart/form-data message that contains the upload file must include a Content-Disposition header that indicates whether the file should be displayed as inline or, in our case, as an attachment. You must also add a field name (i.e., file) and a default filename to the attachment by using the name="file"; filename="filename.jpg" directives within the Content-Disposition header.

In curl, POST requests to upload documents use the -F or -form command as in the following example:

				
					curl 
    -H "Authorization: Basic {encoded APIAccessID:APISecureKey string}" 
    -H "X-Forte-Auth-Organization-Id: org_300005" 
    -F document={"resource":"application","resource_id":"app_103448","description":"receipt"};type=application/json 
    -F file:@filename.jpg  
"/organizations/org_300005/documents"
				
			

This request would generate a HTTP request to Forte similar to the following:

				
					POST /api/v3/organizations/org_300005/documents HTTP/1.1
Host: sandbox.forte.net
User-Agent: curl/7.46.0
Accept: application/json; charset=utf-8
Content-Type: multipart/mixed; boundary=--abcdefghijklmnopqrstuvwxyz
Content-Length: 8469
Authorization: Basic {encoded APIAccessID:APISecureKey string} 
X-Forte-Auth-Organization-Id: org_300005
--abcdefghijklmnopqrstuvwxyz
Content-Disposition:form-data; filename="filename.jpg"
Content-Type: image/jpeg
<binary content of filename.jpg>
--abcdefghijklmnopqrstuvwxyz
Content-Type: application/json 
{"resource":"application","resource_id":"app_103448","description":"receipt"}
--abcdefghijklmnopqrstuvwxyz--
				
			

The following URI uploads the document to the Forte database. Documents must be under 8MB, must not be password protected or encrypted, and must be in one of the following formats:

  • jpeg
  • png
  • tiff
  • txt
  • bmp
  • pdf
  • wav
  • mp3
AUTHORIZATION Basic Auth
Username      {{apiaccessid}}
Password       {{apisecurekey}}
Body raw
				
					--5ff9ef78-b4d7-4fb2-b179-1ff0b553b581
Content-Type: application/json; charset=utf-8
Content-Disposition: form-data

{"resource":"application","resource_id":"app_132416","description":"This is a test file."}
--5ff9ef78-b4d7-4fb2-b179-1ff0b553b581
Content-Type: text/plain
Content-Disposition: form-data; filename=exampleTextFile.txt


Example content of text file

--5ff9ef78-b4d7-4fb2-b179-1ff0b553b581--

				
			

Example Request

				
					curl --location -g '{{baseURI}}/v3/organizations/org_{{organizationID}}/documents/' \
--header 'Authorization: {{authorization}}' \
--header 'Accept: application/json' \
--header 'Content-Length: 419' \
--header 'Content-Type: multipart/form-data; boundary="5ff9ef78-b4d7-4fb2-b179-1ff0b553b581"' \
--header 'X-Forte-Auth-Organization-Id: org_{{AuthOrganizationID}}' \
--data '--5ff9ef78-b4d7-4fb2-b179-1ff0b553b581
Content-Type: application/json; charset=utf-8
Content-Disposition: form-data

{"resource":"application","resource_id":"app_133181","description":"This is a test file."}
--5ff9ef78-b4d7-4fb2-b179-1ff0b553b581
Content-Type: text/plain
Content-Disposition: form-data; filename=exampleTextFile.txt


Example content of text file

--5ff9ef78-b4d7-4fb2-b179-1ff0b553b581--
'
				
			

Example Response

				
					{
  "document_id": "doc_cddf1aa1-d9a4-4da7-b7e1-66283cb94b7c",
  "resource": "application",
  "resource_id": "app_133181",
  "type": "txt",
  "file": "exampleTextFile.txt",
  "description": "This is a test file.",
  "size": 32,
  "response": {
    "environment": "live",
    "response_desc": "Create Successful."
  },
  "links": {
    "self": "https://api.forte.net/v3/documents/doc_cddf1aa1-d9a4-4da7-b7e1-66283cb94b7c"
  }
}
				
			

GET All Documents for an Organization

				
					{{baseURI}}/organizations/org_{{organizationID}}/documents?filter=start_received_date+eq+'2015-01-01'+and+end_received_date+eq+'2015-01-31'
				
			

This URI returns all documents associated with an organization. To narrow your search data using specific criteria, use the following filter parameters.

  • start_received_date / end_received_date

  • type

  • resource

NOTE: All date filter parameters are time aware.

Please note that sending a request at the partner (org) level may result in a large data set and may cause timeout errors depending on the request. We recommend sending your GET request at the Merchant (Organization) level.

AUTHORIZATION Basic Auth
Username      {{apiaccessid}}
Password       {{apisecurekey}}
PARAMS
filter           start_received_date+eq+'2015-01-01'+and+end_received_date+eq+'2015-01-31'

Example Request

				
					curl --location -g 'https://api.forte.net/v3/organizations/org_{{organizationID}}/documents?filter=start_received_date%2Beq%2B%272015-01-01%27%2Band%2Bend_received_date%2Beq%2B%272015-01-31%27' \
--header 'Authorization: {{Authorization}}' \
--header 'Accept: application/json' \
--header 'X-Forte-Auth-Organization-Id: org_{{AuthOrganizationID}}'
				
			

Example Response

				
					{
  "number_results": 2,
  "search_criteria": {
    "page_size": 50,
    "page_index": 0,
    "home_organization_id": "org_334316",
    "resource_specific": {
      "start_received_date": "2015-01-01T00:00:00",
      "end_received_date": "2015-01-31T00:00:00"
    }
  },
  "results": [
    {
      "document_id": "doc_3131dddgwef0gpV2eYlo5",
      "resource": "application",
      "resource_id": "app_456789",
      "type": "jpeg",
      "description": "receipt",
      "size": 158,
      "received_date": "2015-01-25"
    },
    {
      "document_id": "doc_3131dddgweAgpV2eYlo5",
      "resource": "dispute",
      "resource_id": "dsp_32355435-e4ae-4ff4-a91e-abd8kjjfjffffc",
      "type": "jpeg",
      "description": "voided check",
      "size": "200",
      "received_date": "2015-01-31"
    }
  ],
  "response": {
    "environment": "live",
    "response_desc": "Get Successful."
  },
  "links": {
    "self": "https://api.forte.net/v3/documents/?filter=start_received_date+eq+%272015-01-01%27+and+end_received_date+eq+%272015-01-31%27"
  }
}
				
			

GET Documents by ID

				
					{{baseURI}}/organizations/org_{{organizationID}}/documents/doc_{{documentID}}
				
			

This URI returns the details of the document record specified in the route by the document_id parameter.

AUTHORIZATION Basic Auth
Username      {{apiaccessid}}
Password       {{apisecurekey}}

Example Request

				
					curl --location -g 'https://api.forte.net/v3/organizations/org_{{organizationID}}/documents/doc_{{documentID}}' \
--header 'Authorization: {{Authorization}}' \
--header 'Accept: application/json' \
--header 'X-Forte-Auth-Organization-Id: org_{{AuthOrganizationID}}'
				
			

Example Response

				
					{
  "document_id": "doc_3131dddgwef0gpV2eYlo5",
  "resource": "application",
  "resource_id": "app_1568555",
  "type": "jpeg",
  "description": "voided check",
  "size": 458,
  "received_date": "2015-01-15",
  "response": {
    "environment": "live",
    "response_desc": "Get Successful."
  },
  "links": {
    "self": "https://api.forte.net/v3/documents/doc_3131dddgwef0gpV2eYlo5"
  }
}
				
			

DELETE Documents

				
					{{baseURI}}/organizations/org_{{organizationID}}/documents/doc_{{documentID}}
				
			

This URI deletes the document record specified in the route by the document_id parameter.

AUTHORIZATION Basic Auth
Username      {{apiaccessid}}
Password       {{apisecurekey}}

Example Request

				
					curl --location -g --request DELETE 'https://api.forte.net/v3/organizations/org_{{organizationID}}/documents/doc_{{documentID}}' \
--header 'Authorization: {{Authorization}}' \
--header 'Accept: application/json' \
--header 'X-Forte-Auth-Organization-Id: org_{{AuthOrganizationID}}'
				
			

Example Response

				
					{
  "document_id": "doc_3131dddgwef05AgpV2eYlo5",
  "response": {
    "environment": "live",
    "response_desc": "Delete Successful."
  }
}
				
			

Fundings

The fundings object captures the status of funding entries associated with an organization. GET requests to this endpoint can be filtered by the funding ID, effective date, net amount, routing number, location ID, last four digits of the account number, status and funding source. Merchants can also use this endpoint to find the transactions and settlement records related to this funding entry.

Fundings Object

Parameter

Description

Type

Req

organization_id

The identification number of the associated organization. For example, org_5551236.

string

R

location_id

The identification number of the associated location. For example, loc_1234568.

string

R

funding_id

A unique string used to represent a funding entry. For example, fnd_ACH-0226-173C5. [max length = 20]

string

R

status


The status of the funding entry. The following values are supported for this parameter:


completed - Forte processed the funding entry and added funds to the user's account.
pending - Forte is processing the funding entry and it will post soon.
failed - Forte attempted to process the funding entry, but it was rejected.
not_applicable - The Net Amount is equal to zero and no funds will go into the user's account.




[max length = 14}

string

O

effective_date

The date and time when the net_amount is credited to the merchant's bank account. [max length = 19]

datetime

O

origination_date

The date the funds of the transaction go to the originating depository financial institution. [max length = 19]

datetime

O

net_amount

The amount that is being funded. [max length = 10]

decimal

O

echeck

The eCheck Object

object

R

echeck.routing_number

The transit routing number of the funding account. [max length = 9]

string

O

echeck.last_4_account_number

The last four digits of the redacted funding account number. [max length = 4]

string

O

funding_source

The Funding Source Object

object

R

funding_source.code

The type of funding used in this funding entry. The following values are supported:


GWCC
ACH
ACHD
ACHC
UNFD
UNFC
CC
CCC
CCD
CHBD
CHBC
SFA
SFC
RSRV
RELS




[max length = 4]

string

O

funding_source.description


A short description of the type of funding used in this funding entry. The following values are supported:


GWCC - Gateway Funding
ACH - Net ACH Funding
ACHD - ACH Debits
ACHC - ACH Credits
UNFD - ACH Debit Returns
UNFC - ACH Credit Returns
CC - Payfac Credit Card
CCC - Payfac CC Credits
CCD - Payfac CC Debits
CHBD - Payfac Chargeback Debits
CHBC - Payfac Charegback Credits
SFA - Splitfund ACH
SFC - Splitfund CC
RSRV - Reserve Debit
RELS - Reserve Release




[max length = 25]

string

O

entry_description

Details pertaining to the funding entry that can be overwritten by the merchant after the funds are in the merchant's bank account. [max length = 50]

string

O

funding_response_code

Contains the reason code for why a funding attempt failed. [max length = 50]

string

--

reserve

The part of the funding amount kept on funding hold based on CSG Forte's Risk department's Policy and Procedures. These funds are used to cover returns, past due invoices, fraud transactions, levies from state or federal governments, and other financial obligations of a merchant. Funds may also be held in reserve until 1099 TIN mismatches are resolved.

decimal

O

reserve_release

The amount of the reserve released by the CSG Forte Risk department after reviewing the merchant per Risk Department's policy and procedures.

decimal

O

discount_fee

The amount (fee) paid by a merchant to the merchant acquirer/bank or other contracted party for services related to the processing of the merchant's card transactions.

decimal

O

GET All Fundings for an Organization

				
					{{baseURI}}/organizations/org_{{organizationID}}/fundings/
				
			

This URI returns all the funding entries for an organization. To narrow your search data using specific criteria, use the following parameters to filter your results.

  • start_effective_date / end_effective_date

  • start_net_amount / end_net_amount

  • routing_number

  • bank_information

  • location_id

  • last_4_account_number

  • code

  • status

NOTES:

  • All date filter parameters are time aware.

  • If both the start_effective_date and end_effective_date filters are not passed in, the query automatically uses a default date range of 90 days. If you do not pass in any date filters, the system automatically uses the current date and the previous 90 days.

  • Multiple filters can be passed to refine the results as required.

Note: Please note that sending a request at the partner (org) level may result in a large data set and may cause timeout errors depending on the request. We recommend sending your GET request at the Merchant (Organization) level.

AUTHORIZATION Basic Auth
Username      {{apiaccessid}}
Password       {{apisecurekey}}

Example Request

				
					curl --location -g 'https://api.forte.net/v3/organizations/org_{{organizationID}}/fundings/' \
--header 'Authorization: {{Authorization}}' \
--header 'Accept: application/json' \
--header 'X-Forte-Auth-Organization-Id: org_{{AuthOrganizationID}}'
				
			

Example Response

				
					{
  "number_results": 3,
  "search_criteria": {
    "page_size": 50,
    "page_index": 0,
    "home_organization_id": "org_300005",
    "resource_specific": {
      "end_effective_date": "2023-05-23T16:11:57.9365914-05:00",
      "start_effective_date": "2023-02-22T16:11:57.9365914-06:00"
    }
  },
  "results": [
    {
      "funding_id": "fnd_ACH-0309-2F776",
      "organization_id": "org_300005",
      "location_id": "loc_216006",
      "status": "completed",
      "effective_date": "2023-03-10T00:00:00",
      "origination_date": "2023-03-09T00:00:00",
      "net_amount": 19.85,
      "routing_number": "211170101",
      "last_4_account_number": "2312",
      "bank_information": "WEBSTER BANK, N.A.",
      "funding_source": {
        "code": "ACH",
        "description": "Net ACH Funding"
      },
      "entry_description": "FUNDING",
      "funding_response_code": "S01",
      "reserve_release": 0,
      "reserve": 0.83,
      "discount_fee": 0,
      "links": {
        "transactions": "https://api.forte.net/v3/fundings/fnd_ACH-0309-2F776/transactions",
        "settlements": "https://api.forte.net/v3/fundings/fnd_ACH-0309-2F776/settlements",
        "self": "https://api.forte.net/v3/fundings/fnd_ACH-0309-2F776/"
      }
    },
    {
      "funding_id": "fnd_ACH-0313-C38E5",
      "organization_id": "org_300005",
      "location_id": "loc_215940",
      "status": "completed",
      "effective_date": "2023-03-14T00:00:00",
      "origination_date": "2023-03-13T00:00:00",
      "net_amount": -1,
      "routing_number": "211170101",
      "last_4_account_number": "2312",
      "bank_information": "WEBSTER BANK, N.A.",
      "funding_source": {
        "code": "ACH",
        "description": "Net ACH Funding"
      },
      "entry_description": "FUNDING",
      "funding_response_code": "S01",
      "reserve_release": 0,
      "reserve": 0,
      "discount_fee": 0,
      "links": {
        "transactions": "https://api.forte.net/v3/fundings/fnd_ACH-0313-C38E5/transactions",
        "settlements": "https://api.forte.net/v3/fundings/fnd_ACH-0313-C38E5/settlements",
        "self": "https://api.forte.net/v3/fundings/fnd_ACH-0313-C38E5/"
      }
    },
    {
      "funding_id": "fnd_ACH-0313-C38E5",
      "organization_id": "org_300005",
      "location_id": "loc_216006",
      "status": "completed",
      "effective_date": "2023-03-14T00:00:00",
      "origination_date": "2023-03-13T00:00:00",
      "net_amount": 4.6,
      "routing_number": "211170101",
      "last_4_account_number": "2312",
      "bank_information": "WEBSTER BANK, N.A.",
      "funding_source": {
        "code": "ACH",
        "description": "Net ACH Funding"
      },
      "entry_description": "FUNDING",
      "funding_response_code": "S01",
      "reserve_release": 0,
      "reserve": 0.4,
      "discount_fee": 0,
      "links": {
        "transactions": "https://api.forte.net/v3/fundings/fnd_ACH-0313-C38E5/transactions",
        "settlements": "https://api.forte.net/v3/fundings/fnd_ACH-0313-C38E5/settlements",
        "self": "https://api.forte.net/v3/fundings/fnd_ACH-0313-C38E5/"
      }
    }
  ],
  "response": {
    "environment": "live",
    "response_desc": "Get Successful."
  },
  "links": {
    "self": "https://api.forte.net/v3/organizations/org_300005/fundings"
  }
}
				
			

GET All Fundings within a Specific Date Range

				
					{{baseURI}}/organizations/org_{{organizationID}}/fundings/?filter=start_effective_date+eq+%272023-03-01T00:00:00%27+and+end_effective_date+eq+%272023-03-15T00:00:00 %27+and+last_4_account_number+eq+2312
				
			

This URI returns all the funding entries for an Organization within a specified date range.

Note: Please note that sending a request at the partner (org) level may result in a large data set and may cause timeout errors depending on the request. We recommend sending your GET request at the Merchant (Organization) level.

AUTHORIZATION Basic Auth
Username      {{apiaccessid}}
Password       {{apisecurekey}}
PARAMS
filter            start_effective_date+eq+%272023-03-01T00:00:00%27+and+end_effective_date+eq+%272023-03-15T00:00:00 %27+and+last_4_account_number+eq+2312

Example Request

				
					curl --location -g '{{baseURI}}/organizations/org_{{organizationID}}/fundings/?filter=start_effective_date%2Beq%2B%25272023-03-01T00%3A00%3A00%2527%2Band%2Bend_effective_date%2Beq%2B%25272023-03-15T00%3A00%3A00%2527%2Band%2Blast_4_account_number%2Beq%2B2312' \
--header 'Authorization: {{Authorization}}' \
--header 'Accept: application/json' \
--header 'X-Forte-Auth-Organization-Id: org_{{AuthOrganizationID}}'
				
			

Example Response

				
					{
  "number_results": 2,
  "search_criteria": {
    "page_size": 50,
    "page_index": 0,
    "home_organization_id": "org_300005",
    "resource_specific": {
      "end_effective_date": "2023-03-15T00:00:00",
      "start_effective_date": "2023-03-01T00:00:00"
    }
  },
  "results": [
    {
      "funding_id": "fnd_ACH-0309-2F776",
      "organization_id": "org_300005",
      "location_id": "loc_216006",
      "status": "completed",
      "effective_date": "2023-03-10T00:00:00",
      "origination_date": "2023-03-09T00:00:00",
      "net_amount": 19.85,
      "routing_number": "211170101",
      "last_4_account_number": "2312",
      "bank_information": "WEBSTER BANK, N.A.",
      "funding_source": {
        "code": "ACH",
        "description": "Net ACH Funding"
      },
      "entry_description": "FUNDING",
      "funding_response_code": "S01",
      "reserve_release": 0,
      "reserve": 0.83,
      "discount_fee": 0,
      "links": {
        "transactions": "https://api.forte.net/v3/fundings/fnd_ACH-0309-2F776/transactions",
        "settlements": "https://api.forte.net/v3/fundings/fnd_ACH-0309-2F776/settlements",
        "self": "https://api.forte.net/v3/fundings/fnd_ACH-0309-2F776/"
      }
    },
    {
      "funding_id": "fnd_ACH-0313-C38E5",
      "organization_id": "org_300005",
      "location_id": "loc_215940",
      "status": "completed",
      "effective_date": "2023-03-14T00:00:00",
      "origination_date": "2023-03-13T00:00:00",
      "net_amount": -1,
      "routing_number": "211170101",
      "last_4_account_number": "2312",
      "bank_information": "WEBSTER BANK, N.A.",
      "funding_source": {
        "code": "ACH",
        "description": "Net ACH Funding"
      },
      "entry_description": "FUNDING",
      "funding_response_code": "S01",
      "reserve_release": 0,
      "reserve": 0,
      "discount_fee": 0,
      "links": {
        "transactions": "https://api.forte.net/v3/fundings/fnd_ACH-0313-C38E5/transactions",
        "settlements": "https://api.forte.net/v3/fundings/fnd_ACH-0313-C38E5/settlements",
        "self": "https://api.forte.net/v3/fundings/fnd_ACH-0313-C38E5/"
      }
    }
  ],
  "response": {
    "environment": "live",
    "response_desc": "Get Successful."
  },
  "links": {
    "self": "https://api.forte.net/v3/fundings/?filter=start_effective_date+eq+%272023-03-01T00%3a00%3a00%27+and+end_effective_date+eq+%272023-03-15T00%3a00%3a00%22"
  }
}
				
			

GET A Specific Funding Entry

				
					{{baseURI}}/organizations/org_{{organizationID}}/fundings/fnd_{{fundingID}}
				
			

This URI returns a specific funding entry based on the funding_id included in the route.

AUTHORIZATION Basic Auth
Username      {{apiaccessid}}
Password       {{apisecurekey}}

Example Request

				
					curl --location -g 'https://api.forte.net/v3/organizations/org_{{organizationID}}/fundings/fnd_{{fundingID}}' \
--header 'Authorization: {{Authorization}}' \
--header 'Accept: application/json' \
--header 'X-Forte-Auth-Organization-Id: org_{{AuthOrganizationID}}'
				
			

Example Response

				
					{
  "funding_id": "fnd_CC-0405-1652C",
  "organization_id": "org_381450",
  "location_id": "loc_242417",
  "status": "completed",
  "effective_date": "2023-04-06T00:00:00",
  "origination_date": "2023-04-05T00:00:00",
  "net_amount": 10,
  "routing_number": "211170101",
  "last_4_account_number": "2312",
  "bank_information": "WEBSTER BANK, N.A.",
  "funding_source": {
    "code": "CC",
    "description": "Payfac Credit Card"
  },
  "entry_description": "FUNDING",
  "funding_response_code": "S01",
  "reserve_release": 0,
  "reserve": 0,
  "discount_fee": 0,
  "response": {
    "environment": "live",
    "response_desc": "Get Successful."
  },
  "links": {
    "transactions": "https://api-live-testlan.4ta.com/v3/fundings/fnd_CC-0405-1652C/transactions",
    "settlements": "https://api-live-testlan.4ta.com/v3/fundings/fnd_CC-0405-1652C/settlements",
    "self": "https://api-live-testlan.4ta.com/v3/fundings/fnd_CC-0405-1652C/"
  }
}
				
			

GET Transaction(s) Related to a Funding Entry

				
					{{baseURI}}/organizations/org_{{organizationID}}/fundings/fnd_{{fundingID}}/transactions
				
			

This URI returns all the related transactions associated with a specific funding entry.

AUTHORIZATION Basic Auth
Username      {{apiaccessid}}
Password       {{apisecurekey}}

Example Request

				
					curl --location -g 'https://api.forte.net/v3/organizations/org_{{organizationID}}/fundings/fnd_{{fundingID}}/transactions' \
--header 'Authorization: {{Authorization}}' \
--header 'Accept: application/json' \
--header 'X-Forte-Auth-Organization-Id: org_{{AuthOrganizationID}}' \
--data ''
				
			

Example Response

				
					{
  "number_results": 1,
  "search_criteria": {
    "page_size": 50,
    "page_index": 0,
    "home_organization_id": "org_334316",
    "resource_specific": {
      "funding_id": "fnd_D2307112EC"
    }
  },
  "results": [
    {
      "transaction_id": "trn_54641352-f279-4f45-981a-7909f03a97eb",
      "organization_id": "org_300005",
      "location_id": "loc_115161",
      "customer_id": "32215",
      "order_number": "33302547",
      "reference_id": "789654",
      "status": "funded",
      "action": "sale",
      "authorization_amount": 0.23,
      "authorization_code": "86697777",
      "entered_by": "",
      "received_date": "2015-01-02T04:18:33.967",
      "first_name": "Christoper",
      "last_name": "Lloyd",
      "company_name": "MJF Productions",
      "response": {
        "response_code": "A01"
      },
      "links": {
        "self": "https://api.forte.net/v3/organizations/org_300005/locations/loc_115161/transactions/trn_54641352-f279-4f45-981a-7909f03a97eb"
      }
    }
  ],
  "response": {
    "environment": "live",
    "response_desc": "Get Successful."
  },
  "links": {
    "self": "https://api.forte.net/v3/organizations/org_334316/fundings/fnd_D2307112EC/transactions/"
  }
}
				
			

GET Settlement(s) Related to a Funding Entry

				
					{{baseURI}}/organizations/org_{{organizationID}}/fundings/fnd_{{fundingID}}/settlements
				
			

This URI returns all the related settlement records associated with a specific funding entry.

AUTHORIZATION Basic Auth
Username      {{apiaccessid}}
Password       {{apisecurekey}}

Example Request

				
					curl --location -g 'https://api.forte.net/v3/organizations/org_{{organizationID}}/fundings/fnd_{{fundingID}}/settlements' \
--header 'Authorization: {{Authorization}}' \
--header 'Accept: application/json' \
--header 'X-Forte-Auth-Organization-Id: org_{{AuthOrganizationID}}' \
--data ''
				
			

Example Response

				
					{
  "number_results": 1,
  "search_criteria": {
    "page_size": 50,
    "page_index": 0,
    "home_organization_id": "org_334316",
    "resource_specific": {
      "funding_id": "fnd_D2307112EC"
    }
  },
  "results": [
    {
      "settle_id": "stl_54da660a-13be-4f09-ac0e-84685b9a0860",
      "organization_id": "org_300005",
      "location_id": "loc_115161",
      "customer_token": "cst_4554037",
      "transaction_id": "trn_48e1759d-e9ed-4eba-8861-c16807a7a510",
      "customer_id": "789654",
      "order_number": "456987",
      "reference_id": "000002",
      "settle_date": "2014-01-12T00:00:00",
      "settle_type": "withdrawal",
      "settle_response_code": "S01",
      "settle_amount": 5.4,
      "method": "echeck",
      "links": {
        "self": "https://api.forte.net/v3/organizations/org_300005/locations/loc_115161/settlements/stl_54da660a-13be-4f09-ac0e-84685b9a0860"
      }
    }
  ],
  "response": {
    "environment": "live",
    "response_desc": "Get Successful."
  },
  "links": {
    "self": "https://api.forte.net/v3/organizations/org_334316/fundings/fnd_D230711sEC/settlements/"
  }
}
				
			

Locations

The locations object represents a merchant's processing endpoints. This object enables merchants to see address, contact, business, and services data related to their location. The locations object includes the contactsservicescard, and echeck subobjects.

Locations Object

Parameter

Description

Type

Req

location_id

The identification number of the associated location. For example, loc_1234568.

string

--

status

The status of this location. Supported values include the following:


Live
Pending
Closing
On-Hold
Deleted

string

--

created_date

The date that Forte created the location

datetime

--

dba_name

The merchant's Doing Business As (DBA) name.

string

--

street_address1

The first line of the location's street address.

string

--

street_address2

If needed, the second line of the location's street address.

string

--

locality

The city/town/village/locality of the location.

string

--

region

The state or province of the location. This field supports ISO-standard, 2-digit abbreviations for state and province names.

string

--

postal_code

The zip or postal code of the location.

string

--

country

The Alpha-3, ISO-standard country code of the location. For example, USA or CAN.

string

--

business_phone

The business phone number of the location. [max length = 15]

string

--

currency

The Alpha-3, ISO-standard currency code of the currency the location uses.

string

--

timezone


The timezone of the location. Supported values for this field include the following:


PT - Pacific Time
MT - Mountain Time
CT - Central Time
ET - Eastern Time

object

--

business_type

The location's type of business. See Forte's list of Business Classification Codes for more information. [max length = 20]

string

--

organization_id

The identification number of the associated organization. For example, org_5551236.

string

--

organization_name

The name of the associated organization. [max length = 50]

string

--

parent_organization_id

The identification number of the associated parent organization. For example, org_5551236.

string

--

contacts

The contacts object.

object

--

contacts.full_name

The first and last name of this location's contact.

string

--

contacts.phone

The phone number of this location's contact. [max length = 15]

string

--

contacts.email

The business email address of this location's contact. This email cannot be a generic email address or from a distribution list. The value of this parameter must be in a valid email format (e.g., john.doe@email.com). [max length = 100]

string

--

contacts.type

The type of contact associated with this location. Supported values for this field include the following:


primary
sales
billing
support
technical

string

--

services

The services object

object

--

services.echeck

The echeck object

object

--

services.echeck.service_fee_percentage

The service fee (i.e., convenience fee) percentage amount for ACH transactions.

integer

--

services.echeck.service_fee_min_amount

The minimum service fee (i.e., convenience fee) amount for ACH transactions.

integer

--

services.echeck.service_fee_amount

The flat service fee (i.e., convenience fee) amount for ACH transactions.

integer

--

services.echeck.service_fee_range

The range of service fee (i.e., convenience fee) amounts for ACH transactions.

array

--

services.echeck.service_fee_tiered

The tiered service fee (i.e., convenience fee) amounts for ACH transactions.

array

--

services.echeck.service_fee_additional_amount

The additional service fee (i.e., convenience fee) amounts for ACH transactions.

integer

--

services.echeck.hold_days_sales

The number of days ACH funds from sale transactions are held before the receiving bank reconciles and settles the transaction.

integer

--

services.echeck.hold_days_refunds

The number of days ACH funds from refund/credit transactions are held before before the receiving bank reconciles and settles the transaction.

integer

--

services.echeck.hold_days_resubmits

The number of days ACH funds are held before the transaction is resubmitted to/from your customer's account.

integer

--

services.echeck.cut_off_time

The settlement cut-off times configured for this location based on the ACH processor.

datetime

--

services.echeck.entry_class_code

The list of standard entry class codes configured for this location. For more information, see Using ACH and SEC Return Codes.

array

--

services.echeck.nacha_id

The NACHA Co ID or Company ID used to process ACH transactions for this location.

string

--

services.card

The card object.

object

--

services.card.cut_off_time

The settlement cut-off times configured for this location based on the credit card processor.

datetime

--

services.card.market_type

The method by which the business captures the majority of its transactions. Supported values for this field include the following:


internet
phone
mail
point_of_sale

string

--

services.card.service_fee_percentage

The service fee (i.e., convenience fee) percentage amount for credit card transactions.

integer

--

services.card.service_fee_min_amount

The minimum service fee (i.e., convenience fee) amount for credit card transactions.

integer

--

services.card.service_fee_amount

The flat service fee (i.e., convenience fee) amount for credit card transactions.

integer

--

services.card.service_fee_additional_amount

The additional service fee (i.e., convenience fee) amounts for credit card transactions.

integer

--

services.card.service_fee_range

The range of service fee (i.e., convenience fee) amounts for credit card transactions.

array

--

services.card.service_fee_tiered

The tiered service fee (i.e., convenience fee) amounts for credit card transactions.

array

--

services.card.service_fee_visa_tax_amount

The flat service fee (i.e., convenience fee) amount used for VISA Debit cards. NOTE: services:card:service_fee_visa_tax_amount is now a legacy field (the visa tax program has been ended) and should be ignored. Visa debit cards now preceded by debit service fee configuration

integer

--

services.card.debit_service_fee_percentage

The service fee (i.e., convenience fee) percentage amount for debit card transactions.

integer

--

services.card.debit_service_fee_min_amount

The minimun service fee (i.e., convenience fee) amount for debit card transactions.

integer

--

services.card.debit_service_fee_amount

The flat service fee (i.e., convenience fee) amount for debit card transactions.

integer

--

services.card.debit_service_fee_additional_amount

The additional service fee (i.e., convenience fee) amounts for debit card transactions.

integer

--

services.card.debit_service_fee_range

The range of service fee (i.e., convinience fee) amounts for debit card transactions.

array

--

services.card.debit_service_fee_tiered

The tiered service fee (i.e., convenience fee) amounts for debit card transactions.

array

--

services.card.card_types


The list of credit card types accepted by this merchant. Supported values for this field include the following:


VISA
AMEX
MC
JCB
DISC

string

--

services.card.account_updater

A flag indicating whether or not the Account Updater subscription is enabled for this location. Supported values for this field include the following:


enabled
disabled

string

--

services.card.gateway

Indicates whether or not the location is processing credit card transactions using a gateway in which transactions are processed through a different Service Provider. Supported values for this field include the following:


true
false

string

--

services.card.platform

The credit card transaction processor.

string

--

services.card.bin

The merchant's Bank Identification Number (BIN) for credit card processing.

string

--

services.card.tid

The merchant's Terminal Identification (TID) number for credit card processing.

string

--

bankaccount_credits_token

The token of the bank account that handles the merchant's credit transactions (e.g., refunds, payroll, chargebacks, reversals, etc.).

string

--

bankaccount_debits_token

The token of the bank account that handles the merchant's debit transactions (e.g., sales, chargeback wins, etc.).

string

--

bankaccount_billing_token

The token of the bank account that pays the merchant's billing obligations to Forte or the Reseller.

string

--

bankaccount_ccfee_token

The token of the bank account that collects the convenience fee debits for each of the merchant's credit card sale transactions.

string

--

bankaccount_ecfee_token

The token of the bank account that collects the convenience fee debits for each of the merchant's echeck sale transactions.

string

--

GET All Locations

				
					{{baseURI}}/organizations/org_{{organizationID}}/locations
				
			

This URI returns all the locations that belong to an Organization. To narrow your search data using specific criteria, use the following parameters to filter your results:

  • dba_name
  • start_created_date / end_created_date
  • status
  • region
  • country
  • postal_code
AUTHORIZATION Basic Auth
Username      {{apiaccessid}}
Password       {{apisecurekey}}

Example Request

				
					curl --location -g 'https://api.forte.net/v3/organizations/org_{{organization}}/locations/' \
--header 'Authorization: {{Authorization}}' \
--header 'Accept: application/json' \
--header 'X-Forte-Auth-Organization-Id: org_{{AuthOrganizationID}}'
				
			

Example Response

				
					{
  "number_results": 2,
  "search_criteria": {
    "page_size": 50,
    "page_index": 0,
    "home_organization_id": "org_300005",
    "resource_specific": {
      "start_created_date": "2015-01-01",
      "end_created_date": "2015-01-31"
    }
  },
  "results": [
    {
      "location_id": "loc_115161",
      "dba_name": "McFly Customs",
      "status": "Live",
      "street_address1": "405 Great Scott! Blvd",
      "street_address2": "Suite 400",
      "locality": "Hill Valley",
      "region": "CA",
      "postal_code": "90214",
      "country": "USA",
      "created_date": "2015-01-08T23:14:43.72",
      "business_type": "G70600",
      "organization_id": "org_300005",
      "organization_name": "Doc Brown International",
      "contacts": [
        {
          "type": "primary",
          "full_name": "Marty McFly",
          "phone": "555-867-5309",
          "email": "m.mcfly@mcflyinc.com"
        }
      ],
      "links": {
        "self": "https://api.forte.net/v3/organizations/org_300005/locations/loc_115161"
      }
    },
    {
      "location_id": "loc_124001",
      "dba_name": "George McFly Press",
      "status": "Live",
      "street_address1": "501 DeLorean Parkway",
      "street_address2": "Suite 100-B",
      "locality": "Hill Valley",
      "region": "CA",
      "postal_code": "90214",
      "country": "USA",
      "created_date": "2015-01-31T00:00:00",
      "business_type": "A11800",
      "organization_id": "org_300005",
      "organization_name": "Doc Brown International",
      "contacts": [
        {
          "type": "primary",
          "full_name": "George McFly",
          "phone": "555-555-5897",
          "email": "george@GMFPress.com"
        }
      ],
      "links": {
        "self": "https://api.forte.net/v3/organizations/org_300005/locations/loc_124001/"
      }
    }
  ],
  "response": {
    "environment": "live",
    "response_desc": "Get Successful."
  },
  "links": {
    "self": "https://api.forte.net/v3/organizations/org_300005/locations?filter=start_created_date+eq+'2015-01-01'+and+end_created_date+eq+'2015-01-31'"
  }
}
				
			

GET Location by ID

				
					{{baseURI}}/organizations/org_{{organizationID}}/locations/loc_{{locationID}}
				
			

This URI returns detailed location data using the location_id.

AUTHORIZATION Basic Auth
Username      {{apiaccessid}}
Password       {{apisecurekey}}

Example Request

				
					curl --location -g 'https://api.forte.net/v3/organizations/org_{{organizationID}}/locations/loc_{{locationID}}' \
--header 'Accept: application/json' \
--header 'Authorization: {{Authorization}}' \
--header 'Content-Type: application/json' \
--header 'X-Forte-Auth-Organization-Id: org_{{AuthOrganizationID}}'
				
			

Example Response

				
					{
  "location_id": "loc_208855",
  "dba_name": "Bad Bougie, Inc.",
  "organization_id": "org_351883",
  "organization_name": "Bad Bougee Cakes",
  "parent_organization_id": "org_234791",
  "parent_organization_name": "TEST DEV ISO",
  "status": "live",
  "street_address1": "12345 Fake Street",
  "locality": "Allen",
  "region": "TX",
  "postal_code": "75013",
  "country": "USA",
  "created_date": "2018-09-19T09:22:22.143",
  "business_type": "E50100",
  "business_description": "ACH Debit Products/Services: NA\\r\\nACH Credit Disburse: NA\\r\\n",
  "hold_funds": false,
  "currency": "USD",
  "contacts": [
    {
      "contact_type": "primary",
      "full_name": "Regina George",
      "phone": "866-290-5400",
      "email": "regina@badandbougie.com"
    },
    {
      "contact_type": "billing",
      "full_name": "Regina George",
      "phone": "866-290-5400",
      "email": "regina@badandbougie.com"
    }
  ],
  "services": {
    "card": {
      "market_type": "unknown",
      "card_types": [
        "DINE",
        "DISC",
        "JCB",
        "MC",
        "VISA"
      ],
      "account_updater": "disabled",
      "gateway": true
    },
    "echeck": {
      "market_type": "unknown",
      "hold_days_sales": 4,
      "hold_days_refunds": 4
    }
  },
  "bankaccount_credits_token": "bac_GH55ZQmcfkaWYHc69OVbAQ",
  "bankaccount_debits_token": "bac_sxyAiFdVgky5_redzHY3fg",
  "bankaccount_billing_token": "bac_s5-hLStW3kWtlz8CGJS5_Q",
  "bankaccount_ccfee_token": "bac_XyVwL7f3iUa5ZxVgicBeQA",
  "bankaccount_ecfee_token": "bac_5QsdYSmcxUGKVuCeXMF97Q",
  "response": {
    "environment": "live",
    "response_desc": "Get Successful."
  },
  "links": {
    "self": "https://api.forte.net/v3/locations/loc_208855"
  }
}
				
			

GET Location by ID (Payfac)

				
					{{baseURI}}/organizations/org_{{organizationID}}/locations/loc_{{locationID}}
				
			

NOTE: The processing limits that display in the card and echeck sub-objects require Payfac permissions. For more information, contact Forte Technical Support at 888-235-4635 option 3.

This URI returns detailed location data using the location_id.

AUTHORIZATION Basic Auth
Username      {{apiaccessid}}
Password       {{apisecurekey}}

Example Request

				
					curl --location -g 'https://api.forte.net/v3/organizations/org_{{organizationID}}/locations/loc_{{locationID}}' \
--header 'Authorization: {{Authorization}}' \
--header 'Accept: application/json' \
--header 'X-Forte-Auth-Organization-Id: org_{{AuthOrganizationID}}'
				
			

Example Response

				
					{
  "location_id": "loc_115161",
  "dba_name": "McFly Industries, Inc.",
  "organization_id": "org_300005",
  "organization_name": "McFly Industries, Inc.",
  "parent_organization_id": "org_234791",
  "parent_organization_name": "TEST DEV ISO",
  "status": "live",
  "street_address1": "500 W. BETHANY",
  "locality": "ALLEN",
  "region": "TX",
  "postal_code": "75013",
  "country": "USA",
  "created_date": "2009-04-09T11:44:27.243",
  "business_type": "Other",
  "business_description": "Car repair and customs",
  "hold_funds": true,
  "hold_funds_reason": "hold for risk review",
  "currency": "USD",
  "timezone": "ET",
  "contacts": [
    {
      "contact_type": "primary",
      "full_name": "Marty McFly",
      "phone": "555-555-5555",
      "email": "marty@mcflyindustries.com"
    },
    {
      "contact_type": "billing",
      "full_name": "Jennifer McFly",
      "phone": "555-555-5576",
      "email": "jenn@mcflyindustries.com"
    }
  ],
  "services": {
    "card": {
      "market_type": "e_commerce",
      "card_types": [
        "AMEX",
        "DINE",
        "DISC",
        "JCB",
        "MC",
        "VISA"
      ],
      "account_updater": "enabled",
      "gateway": true,
      "platform": "Test",
      "per_trans_debit": 500,
      "per_trans_credit": 500,
      "daily_debit": 1000,
      "daily_credit": 1000,
      "monthly_debit": 20000,
      "monthly_credit": 20000
    },
    "echeck": {
      "cut-off-time": "01:00:00",
      "market_type": "e_commerce",
      "hold_days_sales": 3,
      "hold_days_refunds": 2,
      "entry_class_codes": [
        "ARC",
        "BOC",
        "CCD",
        "CIE",
        "CTX",
        "POP",
        "POS",
        "PPD",
        "RCK",
        "TEL",
        "WEB"
      ],
      "nacha_id": "224",
      "per_trans_debit": 500,
      "per_trans_credit": 500,
      "daily_debit": 1000,
      "daily_credit": 1000,
      "monthly_debit": 20000,
      "monthly_credit": 20000
    }
  },
  "bankaccount_credits_token": "bac_GKUEMVvSiku6M5WrdpKS9g",
  "bankaccount_debits_token": "bac_GKUEMVvSiku6M5WrdpKS9g",
  "bankaccount_billing_token": "bac_GKUEMVvSiku6M5WrdpKS9g",
  "bankaccount_ccfee_token": "bac_GKUEMVvSiku6M5WrdpKS9g",
  "bankaccount_ecfee_token": "bac_GKUEMVvSiku6M5WrdpKS9g",
  "response": {
    "environment": "live",
    "response_desc": "Get Successful."
  },
  "links": {
    "self": "https://api.forte.net/v3/locations/loc_115161"
  }
}
				
			

PUT Change Processing Limits (Payfac)

				
					{{baseURI}}/organizations/org_{{organizationID}}/locations/loc_{{locationID}}
				
			

NOTE: Only partners with special permissions can change processing limits on their merchant’s account. For more information, contact Forte Customer Support at 800-337-3060 option 1.

This URI enables partners to change the daily processing limits for echeck and credit card transactions for a merchant account.

AUTHORIZATION Basic Auth
Username      {{apiaccessid}}
Password       {{apisecurekey}}
Body raw
				
					{
 "services": {
    "echeck": {
        "daily_debit" : 1000,
        "daily_credit" : 1000,
        "monthly_debit" : 50000,
        "monthly_credit" : 50000,
        "per_trans_debit" : 500.00,
        "per_trans_credit" : 500.00
    },
    "card": {
        "daily_debit" : 10000,
        "daily_credit" : 10000,
        "monthly_debit" : 100000,
        "monthly_credit" : 100000,
        "per_trans_debit" : 500.00,
        "per_trans_credit" : 500.00
    }
 }
}
				
			

Example Request

				
					curl --location -g --request PUT 'https://api.forte.net/v3/organizations/org_{{organizationID}/locations/loc_{{locationID}}' \
--header 'Accept: application/json' \
--header 'Authorization: {{Authorization}}' \
--header 'Content-Type: application/json' \
--header 'X-Forte-Auth-Organization-Id: org_{{AuthOrganizationID}}' \
--data '{
 "services": {
    "echeck": {
        "daily_debit" : 1000,
        "daily_credit" : 1000,
        "monthly_debit" : 50000,
        "monthly_credit" : 50000,
        "per_trans_debit" : 500.00,
        "per_trans_credit" : 500.00
    },
    "card": {
        "daily_debit" : 10000,
        "daily_credit" : 10000,
        "monthly_debit" : 100000,
        "monthly_credit" : 100000,
        "per_trans_debit" : 500.00,
        "per_trans_credit" : 500.00
    }
 }
}'
				
			

Example Response

				
					{
  "location_id": "loc_208855",
  "hold_funds": false,
  "services": {
    "card": {
      "per_trans_debit": 500,
      "per_trans_credit": 500,
      "daily_debit": 10000,
      "daily_credit": 10000,
      "monthly_debit": 100000,
      "monthly_credit": 100000
    },
    "echeck": {
      "per_trans_debit": 500,
      "per_trans_credit": 500,
      "daily_debit": 1000,
      "daily_credit": 1000,
      "monthly_debit": 50000,
      "monthly_credit": 50000
    }
  },
  "response": {
    "environment": "live",
    "response_desc": "Update Successful."
  },
  "links": {
    "self": "https://api.forte.net/v3/locations/loc_208855"
  }
}
				
			

PUT Update a Location's Address

				
					{{baseURI}}/organizations/org_{{organizationID}}/locations/loc_{{locationID}}
				
			

Use this URI to update the following address parameters associated with a location:

  • street_address1
  • street_address2
  • locality
  • region
  • postal_code
  • country

When a location’s address is successfully updated, Forte sends an email notification to the location’s primary contact informing him/her of the update.

AUTHORIZATION Basic Auth
Username      {{apiaccessid}}
Password       {{apisecurekey}}
Body raw (json)
				
					{
    "street_address1": "1200 Clock Tower Lane",
    "street_address2": "Suite 500",
    "locality": "Hill Valley",
    "region": "CA",
    "postal_code": "90214",
    "country": "US"
}
				
			

Example Request

				
					curl --location -g --request PUT 'https://api.forte.net/v3/organizations/org_{{organizationID}}/locations/loc_{{locationID}}' \
--header 'Authorization:  {{Authorization}}' \
--header 'Accept: application/json' \
--header 'X-Forte-Auth-Organization-Id: org_300382' \
--header 'Content-Type: application/json' \
--data '{
    "street_address1": "1200 Clock Tower Lane",
    "street_address2": "Suite 500",
    "locality": "Hill Valley",
    "region": "CA",
    "postal_code": "90214",
    "country": "US"
}'
				
			

Example Response

				
					{
  "location_id": "loc_173185",
  "street_address1": "1200 Clock Tower Lane",
  "street_address2": "Suite 500",
  "locality": "Hill Valley",
  "region": "CA",
  "postal_code": "90214",
  "country": "USA",
  "response": {
    "environment": "live",
    "response_desc": "Update Successful."
  },
  "links": {
    "self": "https://api.forte.net/v3/locations/loc_173185"
  }
}
				
			

Organizations

The organizations object represents a a legal entity that can own multiple sub-organizations (for Forte Partners) or multiple locations (for Forte Merchants) as well as the customers, payment methods, and transactions that belong to those locations.

NOTE: All the parameters of the organizations object are return only.

Parameter

Description

Type

Req

organization_id

The identification number of the organization. For example, org_1234568.

string

--

parent_organization_id

The identification number of the merchant's parent organization.

string

--

legal_name

The legal name of the business. The value of this parameter must match the name associated with the merchant's Tax ID Number. [max length = 50].

string

--

organization_name

The Doing-Business-As (DBA) name of the organization. For example, Bob Smith Enterprises.

string

--

status

The status of this organization. Supported values include the following:
active
suspended
pending

string

--

organization_type

The type of organization. Supported values include the following:

merchant
partner
enterprise

string

--

last_4_tax_id

The last four digits of the Tax ID associated with this organization.

string

--

language

The language associated with the organization. Currently, the only supported language is English (en).

string

--

currency

The preferred currency of the organization. Currently, the only supported currency option is USD.

string

--

physical_address

The physical_address object.

string

--

physical_address.street_address1

The first line of the organization's street address.

string

--

physical_address.street_address2

If needed, the second line of the organization's street address.

string

--

physical_address.locality

The city/town/village/locality of the organization.

object

--

physical_address.region

The state or province of the organization. This field supports ISO-standard, 2-digit abbreviations for state and province names.

string

--

physical_address.postal_code

The zip or postal code of the organization.

string

--

physical_address.country

The Alpha-3, ISO-standard country code of the organization. For example, USA or CAN.

string

--

created_date

The date and time when this organization was created

string

--

legal_structure

The legal business struture of this organization. Supported values for this field include the following:limited_liability_corporation
publicly_held_corporation
sole_proprietorship
partnership_general_or_limited
c-corporation
s-corporation
government
tax_exempt_or_non_profit_organization

string

--

contact

The contacts object.

object

--

contact.contact_type

The type of contact associated with this organization. Only the primary contact displays for "GET All Organizations" requests. SUpported values for this field include the following:

primary
sales
billing
support
technical

string

--

contact.full_name

The first and last name of the contact associated with this orgniaztion.

string

--

contact.phone

The phone number of this organization's contact. [max length = 15]

string

--

contact.email

The business email address of this organization's contact. This email cannot be a generic email address or from a distribution list. The value of this parameter must be in a valid email format (e.g., john.doe@email.com). [max length = 100]

string

--

GET Find All Organizations

				
					{{baseURI}}/organizations
				
			

This URI returns all organizations beneath a parent organization (e.g., a partner organization or an enterprise organization). To narrow your search data using specific criteria, use the following parameters to filter your results:

  • organization_name

  • region

  • country

  • status:

    • active

    • suspended

    • pending

  • legal_structure:

    • limited_liability_corporation

    • publicly_held_corporation

    • sole_proprietorship

    • partnership_general_or_limited

    • c-corporation

    • s-corporation

    • government

    • tax_exempt_or_non_profit_organization

Note: Please note that sending a request at the partner (org) level may result in a large data set and may cause timeout errors depending on the request. We recommend sending your GET request at the Merchant (Organization) level.

AUTHORIZATION Basic Auth
Username      {{apiaccessid}}
Password       {{apisecurekey}}

Example Request

				
					curl --location -g '{{baseURI}}/organizations' \
--header 'Authorization: {{Authorization}}' \
--header 'Accept: application/json' \
--header 'X-Forte-Auth-Organization-Id: org_{{AuthOrganizationID}}'
				
			

Example Response

				
					{
  "number_results": 2,
  "search_criteria": {
    "page_size": 50,
    "page_index": 0,
    "resource_specific": {}
  },
  "results": [
    {
      "organization_id": "org_344174",
      "parent_organization_id": "org_235433",
      "status": "active",
      "organization_name": "Hill Valley County Treasurer",
      "legal_name": "Hill Valley County Treasurer",
      "organization_type": "merchant",
      "last_4_tax_id": "6423",
      "language": "en",
      "currency": "usd",
      "physical_address": {
        "street_line1": "111 East Main Street",
        "locality": "Hill Valley",
        "region": "CA",
        "postal_code": "90214",
        "country": "USA"
      },
      "contact": [],
      "links": {
        "fundings": "https://api.forte.net/v3/organizations/org_344174/fundings",
        "disputes": "https://api.forte.net/v3/organizations/org_344174/disputes",
        "documents": "https://api.forte.net/v3/organizations/org_344174/documents",
        "bankaccounts": "https://api.forte.net/v3/organizations/org_344174/bankaccounts",
        "locations": "https://api.forte.net/v3/organizations/org_344174/locations",
        "customers": "https://api.forte.net/v3/organizations/org_344174/customers",
        "addresses": "https://api.forte.net/v3/organizations/org_344174/addresses",
        "paymethods": "https://api.forte.net/v3/organizations/org_344174/paymethods",
        "transactions": "https://api.forte.net/v3/organizations/org_344174/transactions",
        "settlements": "https://api.forte.net/v3/organizations/org_344174/settlements",
        "scheduleitems": "https://api.forte.net/v3/organizations/org_344174/scheduleitems",
        "applications": "https://api.forte.net/v3/organizations/org_344174/applications",
        "self": "https://api.forte.net/v3/organizations/org_344174/"
      }
    },
    {
      "organization_id": "org_300005",
      "parent_organization_id": "org_234791",
      "status": "active",
      "organization_name": "Hill Valley County Waste Management",
      "legal_name": "Hill Valley County Waste Management",
      "legal_structure": "government",
      "organization_type": "merchant",
      "last_4_tax_id": "3122",
      "language": "en",
      "currency": "usd",
      "physical_address": {
        "street_line1": "1435 Clock Tower Rd",
        "locality": "Hill Valley",
        "region": "CA",
        "postal_code": "90214",
        "country": "USA"
      },
      "contact": [
        {
          "contact_type": "primary",
          "full_name": "Marty McFly",
          "phone": "(555) 555-5555",
          "email": "marty.mcfly@hvcwm.com"
        }
      ],
      "links": {
        "fundings": "https://api.forte.net/v3/organizations/org_300005/fundings",
        "disputes": "https://api.forte.net/v3/organizations/org_300005/disputes",
        "documents": "https://api.forte.net/v3/organizations/org_300005/documents",
        "bankaccounts": "https://api.forte.net/v3/organizations/org_300005/bankaccounts",
        "locations": "https://api.forte.net/v3/organizations/org_300005/locations",
        "customers": "https://api.forte.net/v3/organizations/org_300005/customers",
        "addresses": "https://api.forte.net/v3/organizations/org_300005/addresses",
        "paymethods": "https://api.forte.net/v3/organizations/org_300005/paymethods",
        "transactions": "https://api.forte.net/v3/organizations/org_300005/transactions",
        "settlements": "https://api.forte.net/v3/organizations/org_300005/settlements",
        "scheduleitems": "https://api.forte.net/v3/organizations/org_300005/scheduleitems",
        "applications": "https://api.forte.net/v3/organizations/org_300005/applications",
        "self": "https://api.forte.net/v3/organizations/org_300005/"
      }
    }
  ],
  "response": {
    "environment": "live",
    "response_desc": "Get Successful."
  },
  "links": {
    "self": "https://api.forte.net/v3/organizations/"
  }
}
				
			

GET Find an Organization by ID

				
					{{baseURI}}/organizations/org_{{organizationID}}
				
			

This endpoint returns all the information for a specific organization based on the organization_id.

AUTHORIZATION Basic Auth
Username      {{apiaccessid}}
Password       {{apisecurekey}}

Example Request

				
					curl --location -g '{{baseURI}}/organizations/org_{{organizationID}}' \
--header 'Authorization: {{Authorization}}' \
--header 'Accept: application/json' \
--header 'X-Forte-Auth-Organization-Id: org_{{AuthOrganizationID}}'
				
			

Example Response

				
					{
  "organization_id": "org_300005",
  "parent_organization_id": "org_234791",
  "status": "active",
  "organization_name": "Hill Valley County Waste Management",
  "legal_name": "Hill Valley County Waste Management",
  "legal_structure": "government",
  "organization_type": "merchant",
  "last_4_tax_id": "3122",
  "language": "en",
  "currency": "usd",
  "physical_address": {
    "street_line1": "1435 Clock Tower Rd",
    "locality": "Hill Valley",
    "region": "CA",
    "postal_code": "90214",
    "country": "USA"
  },
  "contact": [
    {
      "contact_type": "primary",
      "full_name": "Marty McFly",
      "phone": "(555) 555-5555",
      "email": "marty.mcfly@hvcwm.com"
    }
  ],
  "response": {
    "environment": "live",
    "response_desc": "Get Successful."
  },
  "links": {
    "fundings": "https://api.forte.net/v3/organizations/org_300005/fundings",
    "disputes": "https://api.forte.net/v3/organizations/org_300005/disputes",
    "documents": "https://api.forte.net/v3/organizations/org_300005/documents",
    "bankaccounts": "https://api.forte.net/v3/organizations/org_300005/bankaccounts",
    "locations": "https://api.forte.net/v3/organizations/org_300005/locations",
    "customers": "https://api.forte.net/v3/organizations/org_300005/customers",
    "addresses": "https://api.forte.net/v3/organizations/org_300005/addresses",
    "paymethods": "https://api.forte.net/v3/organizations/org_300005/paymethods",
    "transactions": "https://api.forte.net/v3/organizations/org_300005/transactions",
    "settlements": "https://api.forte.net/v3/organizations/org_300005/settlements",
    "scheduleitems": "https://api.forte.net/v3/organizations/org_300005/scheduleitems",
    "applications": "https://api.forte.net/v3/organizations/org_300005/applications",
    "self": "https://api.forte.net/v3/organizations/org_300005/"
  }
}
				
			

Paymethods

The paymethods object represents a customer's form of payment and includes the card and echeck sub-objects. This object enables the merchant to tokenize the customer's payment information within Forte's secure data vault. These paymethod tokens can be used to streamline the checkout process for repeat customers or to handle recurring payments without the need to store a customer's sensitive payment information on the merchant's servers. The paymethod object supports both Canadian and U.S.-based credit cards and echecks. For more information on how to correctly format Canadian routing numbers see the echeck.routing_number parameter. For more information about tokens, click here.

Paymethods Object

Parameter

Description

Type

Req

organization_id

The identification number of the associated organization. For example, org_5551236.

string

R

location_id

The identification number of the associated location. For example, loc_1234568.

string

R

customer_token

A unique string used to represent a customer. For example, cst_SoGUG6mcLUS1nVzYBIbk3g. [max length = 26]

string

R

paymethod_token

A unique string used to represent a payment method. For example, mth_1578436587. [max length = 26]

string

O

label

A friendly, customer-defined name for the payment method. For example, "Moms Credit Card," "Work Credit Card," "Visa - 1234," etc. [max length = 50]

string

R

customer_id

A merchant-defined string used to identify the customer. [max length = 15]

string

O

is_default

Indicates whether or not a payment method is the Default Payment Method for a customer. This parameter only displays for GET requests.

string

--

billing_address_token

A unique string used to represent the billing address associated with this payment method. For example, add_tq0hemmmtf-zsxgq689rew.

string

O

notes

A short description of the paymethod. [max length = 50]

string

O

card

The Card Object

object

O

card.card_type

The type of credit card [max length = 6]. Options for this field include the following:


visa
mast
amex
disc
dine
jcb

string

R

card.name_on_card

The name printed on the on the credit card [max length = 50]. This field is required when creating a new record or creating a permanent token from a one-time token.

string

R

card.last_4_account_number

The last four digits of the redacted account number. This field is return only. [max length = 4]

object

--

card.account_number

The card number. This field is required when creating a new record and can only contain digits. Forte echoes this parameter in the card.masked_account_number response parameter. [max length = 16]

string

O

card.expire_month

The expiration month. This field is required when creating a new record and must be a valid future date. [max length = 2]

string

O

card.expire_year

The expiration year. This field is required when creating a new record and must be a valid future date. [max length = 4]

string

O

card.card_verification_value

The card verification number. Forte does not store this field with the paymethod token, but echoes it back. [max length = 4]

string

O

card.procurement_card

Indicates whether or not this is a procurement card transaction. Accepted values are either true or false. For procurement card transactions, merchants must pass the customer_accounting_code field in the card object and the sales_tax_amount field in the transaction object.

string

O

card.one_time_token

A single use token generated by Forte.js (e.g., ott_g7vnjqikszabzynu6eowbq). [max length = 26]

string

O

card.customer_accounting_code

Lists the procurement card accounting code. Forte does not save this information if the merchant is creating a paymethod. [max length = 17]

string

O

card.au_code

Indicates the type of changes Account Updater found for the card associated with that payment token. This parameter supports the following values:


new - New Account Number
closed - Account Closed
expiry - Expiration Date Updated
updated - Card Information Updated by Issuer




This parameter is return only for GET requests. For more information about Account Updater, contact Customer Service.

string

O

card.suppress_account_updater

A Boolean flag indicating whether or not Forte should run monthly Account Updater services on the paymethod token associated to this credit card. Account Updater subscription required. The following values are supported:


true - This paymethod token will not be included in the monthly Account Updater services.
false - This paymethod token will be included in the monthly Account Updater services. This is the default value.

bool

O

card.au_updated_date

The date and timestamp when the token was last updated by Forte's Account Updater services. This parameter is return only for GET requests.

datetime

O

card.au_description

A concise description of what update was performed on the credit card associated with the payment token. The following options are supported:


"New account number"
"Account closed"
"Expiration date updated"
"Card information updated by issuer"




This parameter is return only for GET requests.

O

echeck

The eCheck Object

object

O

echeck.account_holder

The name of the account owner. This field is required when creating or updating a new record. [max length = 50]

string

O

echeck.last_4_account_number

The last four digits of the redacted account number. This field is return only. [max length = 4]

string

--

echeck.account_number

The DDA or eCheck account number. This field is required when creating or updating a new record and can only contain digits. Forte echoes this parameter in the echeck.masked_account_number response parameter. [max length = 17]

string

O

echeck.routing_number

The transit routing number. This field supports both U.S. and Canadian routing numbers. NOTE: A Canadian routing number displayed on a check needs to be reformatted differently for electronic payments. If a check displays a routing number as BBBBB-AAA (where AAA indicates the Financial Institution and BBBBB is the branch), then the routing number must be changed to 0AAABBBBB to process the payment electronically. For example, if a check from an account issued by the Bank of Montreal showed the routing number 00011-001, then that number would need to be reformatted to 000100011 for the payment to be electronically processed. Click here for a directory of Canadian financial institutions. This field is required when creating or updating a new record and can only contain digits. [max length = 9]

string

O

echeck.account_type

Use one of the following values for this parameter:


Checking
Savings

string

O

echeck.sec_code

Use one of the following values for this standard-entry class code: ARC, CCD, CIE, CTX, POP, POS, PPD, RCK, TEL, WEB.

string

R

echeck.one_time_token

A single use token generated by Forte.js (e.g., ott_g7vnjqikszabzynu6eowbq). [max length = 26]

string

O

vendor

The vendor Object

object

O

vendor.vendor_type

The supported vendor types include the following:

PayPal

string

R

vendor.vendor_billing_agreement_token

The ID of PayPal billing agreement token.

string

R

vendor.vendor_billing_agreement_id

The ID of PayPal billing agreement

string

-

POST Customer Credit Card Paymethod

				
					{{baseURI}}/organizations/org_{{organizationID}}/locations/loc_{{locationID}}/customers/cst_{{customertoken}}/paymethods
				
			

This URI creates a new paymethod for the customer and returns a paymethod_token. Use this URI when creating permanent paymethod tokens from one-time tokens created in Forte.jsNOTE: You can also create a new paymethod for an existing customer by including the customer_token in the body of the request to the /organizations/org_{{organization}}/locations/loc_{{location}}/paymethods URI.

To associate an existing billing_address_token to a paymethod, include it in the body of the request.

AUTHORIZATION Basic Auth
Username      {{apiaccessid}}
Password       {{apisecurekey}}
Body raw
				
					{
       "notes":"Brwn Work Card",
       "card": {
          "name_on_card":"Emmett Brown",
          "card_type":"visa",
          "account_number":"4111111111111111",
          "expire_month":12,
          "expire_year":2020,
          "card_verification_value": "123"
       }   
}
				
			

Example Request

				
					curl --location -g 'https://api.forte.net/v3/organizations/org_{{organizationID}}/locations/loc_{{locationID}}/customers/cst_{{customertoken}}/paymethods' \
--header 'Authorization: {{Authorization}}' \
--header 'Accept: application/json' \
--header 'X-Forte-Auth-Organization-Id: org_{{AuthOrganizationID}}' \
--header 'Content-Type: application/json' \
--data '{
       "notes":"Brwn Work Card",
       "billing_address_token": "add_wMjZV_6U4kCLXyWgtKshJA",
       "card": {
          "name_on_card":"Emmett Brown",
          "card_type":"visa",
          "account_number":"4111111111111111",
          "expire_month":12,
          "expire_year":2020,
          "card_verification_value": "123"
       }   
}'
				
			

Example Response

				
					{
  "paymethod_token": "mth_Qh6W5lDWsUOx1hXNPl5iFw",
  "location_id": "loc_192642",
  "customer_token": "cst_lyv-2BilTkWpIgK1TMKvoA",
  "billing_address_token": "add_wMjZV_6U4kCLXyWgtKshJA",
  "notes": "Brwn Work Card",
  "card": {
    "name_on_card": "Emmett Brown",
    "masked_account_number": "************1111",
    "card_type": "visa",
    "expire_month": "12",
    "expire_year": "2020"
  },
  "response": {
    "environment": "live",
    "response_desc": "Create Successful."
  },
  "links": {
    "self": "https://api.forte.net/v3/organizations/org_334316/locations/loc_192642/customers/cst_lyv-2BilTkWpIgK1TMKvoA/paymethods/mth_Qh6W5lDWsUOx1hXNPl5iFw"
  }
}
				
			

POST Customer ECheck Paymethod

				
					{{baseURI}}/organizations/org_{{organizationID}}/locations/loc_{{locationID}}/customers/cst_{{customertoken}}/paymethods
				
			

This URI creates a new paymethod for the customer and returns a paymethod_token. Use this URI when creating permanent paymethod tokens from one-time tokens created in Forte.jsNOTE: You can also create a new paymethod for an existing customer by including the customer_token in the body of the request to the /organizations/org_{{organization}}/locations/loc_{{location}}/paymethods URI.

To associate an existing billing_address_token to a paymethod, include it in the body of the request.

AUTHORIZATION Basic Auth
Username      {{apiaccessid}}
Password       {{apisecurekey}}
Body raw
				
					{
       "notes":"Brwn echeck",
       "echeck": {
          "account_holder": "Emmett Brown",
          "account_number":"1111111111111",
          "routing_number":"021000021",
          "account_type":"checking"
       }
}
				
			

Example Request

				
					curl --location -g 'https://api.forte.net/v3/organizations/org_{{organization}}/locations/loc_{{location}}/customers/cst_{{customertoken}}/paymethods' \
--header 'Authorization: {{Authorization}}' \
--header 'Accept: application/json' \
--header 'X-Forte-Auth-Organization-Id: org_{{AuthOrganizationID}}' \
--header 'Content-Type: application/json' \
--data '{
       "notes":"Brwn echeck",
       "billing_address_token": "add_wMjZV_6U4kCLXyWgtKshJA",
       "echeck": {
          "account_holder": "Emmett Brown",
          "account_number":"1111111111111",
          "routing_number":"021000021",
          "account_type":"checking"
       }
}'
				
			

Example Response

				
					{
  "paymethod_token": "mth_jv3rMPuyI06BdZJQ-X4Vjw",
  "location_id": "loc_192642",
  "customer_token": "cst_h_TrrHANEU6XjmMV_EMVrA",
  "billing_address_token": "add_wMjZV_6U4kCLXyWgtKshJA",
  "notes": "Brwn echeck",
  "echeck": {
    "account_holder": "Emmett Brown",
    "masked_account_number": "****1111",
    "last_4_account_number": "1111",
    "routing_number": "021000021",
    "account_type": "checking"
  },
  "response": {
    "environment": "live",
    "response_desc": "Create Successful."
  },
  "links": {
    "transactions": "https://api.forte.net/v3/paymethods/mth_jv3rMPuyI06BdZJQ-X4Vjw/transactions",
    "settlements": "https://api.forte.net/v3/paymethods/mth_jv3rMPuyI06BdZJQ-X4Vjw/settlements",
    "schedules": "https://api.forte.net/v3/paymethods/mth_jv3rMPuyI06BdZJQ-X4Vjw/schedules",
    "self": "https://api.forte.net/v3/paymethods/mth_jv3rMPuyI06BdZJQ-X4Vjw"
  }
}
				
			

POST Paymethod to a Locationless Customer

				
					{{baseURI}}/customers/cst_{{customertoken}}/paymethods
				
			

Use this call to associate a paymethod to a locationless customer (see the POST Locationless Customer call).

AUTHORIZATION Basic Auth
Username      {{apiaccessid}}
Password       {{apisecurekey}}
Body raw
				
					{
  "notes": "IVR",
  "organization_id": "org_334277",
  "card": {
    "name_on_card": "Marty McFly",
    "card_type": "VISA",
    "account_number": "4111111111111111",
    "expire_month": "10",
    "expire_year": "2026"
  }
}

				
			

Example Request

				
					curl --location 'https://api.forte.net/v3/customers/cst_Df6Z-tEecUagECg-Mxo_QA/paymethods' \
--header 'Authorization: {{Authorization}}' \
--header 'Accept: application/json' \
--header 'Content-Type: application/json' \
--header 'X-Forte-Auth-Organization-Id: org_{{AuthOrganizationID}}' \
--data '{
  "notes": "ivr created",
  "organization_id": "org_334277",
  "card": {
    "name_on_card": "Account Holder",
    "card_type": "VISA",
    "account_number": "4111111111111111",
    "expire_month": "10",
    "expire_year": "2026"
  }
}
'
				
			

Example Response

				
					{
  "paymethod_token": "mth_6tPlMDB9zESgoDzU13OByw",
  "organization_id": "org_334277",
  "customer_token": "cst_Df6Z-tEecUagECg-Mxo_QA",
  "notes": "ivr created",
  "card": {
    "name_on_card": "Marty McFly",
    "last_4_account_number": "1111",
    "masked_account_number": "****1111",
    "expire_month": 10,
    "expire_year": 2026,
    "card_type": "visa"
  },
  "response": {
    "environment": "live",
    "response_desc": "Create Successful."
  },
  "links": {
    "transactions": "https://api.forte.net/v3/paymethods/mth_6tPlMDB9zESgoDzU13OByw/transactions",
    "settlements": "https://api.forte.net/v3/paymethods/mth_6tPlMDB9zESgoDzU13OByw/settlements",
    "schedules": "https://api.forte.net/v3/paymethods/mth_6tPlMDB9zESgoDzU13OByw/schedules",
    "self": "https://api.forte.net/v3/paymethods/mth_6tPlMDB9zESgoDzU13OByw"
  }
}
				
			

POST Clientless Credit Card Paymethod

				
					{{baseURI}}/organizations/org_{{organizationID}}/locations/loc_{{locationID}}/paymethods
				
			

This URI creates a clientless credit card payment method and returns a paymethod_token (i.e., a payment method that is not associated with a customer). To associate this payment method with an existing customer, include that customer’s customer_token in the body of the request or include the customer_token value in the route (e.g., /organizations/org_{{organization}}/locations/loc_{{location}}/customers/cst_{{customer_token}}/paymethods).

To associate an existing billing_address_token to the paymethod, include it in the body of the request.

AUTHORIZATION Basic Auth
Username      {{apiaccessid}}
Password       {{apisecurekey}}
Body raw
				
					{  
       "label": "Visa - 1234",
       "notes": "Brown Work CC",
       "card": {
          "account_number": "4488563295465231",
          "expire_month": 12,
          "expire_year": 2020,
          "card_verification_value": "645",
          "card_type": "visa",
          "name_on_card": "Dr. Emmett Brown"
       }
}
				
			

Example Request

				
					curl --location -g 'https://api.forte.net/v3/organizations/org_{{organizationID}}/locations/loc_{{locationID}}/paymethods' \
--header 'Authorization: {{Authorization}}' \
--header 'Accept: application/json' \
--header 'X-Forte-Auth-Organization-Id: org_{{AuthOrganizationID}}' \
--header 'Content-Type: application/json' \
--data '{  
       "label": "Visa - 1234",
       "notes": "Brown Work CC",
       "billing_address_token": "add_4RP1CuGMtUukoWHX5NNhjQ",
       "card": {
          "account_number": "4488563295465231",
          "expire_month": 12,
          "expire_year": 2020,
          "card_verification_value": "645",
          "card_type": "visa",
          "name_on_card": "Dr. Emmett Brown"
       }
}'
				
			

Example Response

				
					{
  "paymethod_token": "mth_0B1UVBJ54kShFuvx_gbdDQ",
  "location_id": "loc_192642",
  "label": "Visa - 1234",
  "notes": "Brown Work CC",
  "billing_address_token": "add_4RP1CuGMtUukoWHX5NNhjQ",
  "card": {
    "name_on_card": "Dr. Emmett Brown",
    "last_4_account_number": "5231",
    "masked_account_number": "****5231",
    "expire_month": 12,
    "expire_year": 2020,
    "card_type": "visa"
  },
  "response": {
    "environment": "live",
    "response_desc": "Create Successful."
  },
  "links": {
    "transactions": "https://api.forte.net/v3/paymethods/mth_0B1UVBJ54kShFuvx_gbdDQ/transactions",
    "settlements": "https://api.forte.net/v3/paymethods/mth_0B1UVBJ54kShFuvx_gbdDQ/settlements",
    "schedules": "https://api.forte.net/v3/paymethods/mth_0B1UVBJ54kShFuvx_gbdDQ/schedules",
    "self": "https://api.forte.net/v3/paymethods/mth_0B1UVBJ54kShFuvx_gbdDQ"
  }
}
				
			

POST Clientless eCheck Paymethod

				
					{{baseURI}}/organizations/org_{{organizationID}}/locations/loc_{{locationID}}/paymethods
				
			

This URI creates a clientless echeck payment method and returns a paymethod_token (i.e., a payment method that is not associated with a customer). To associate this payment method with an existing customer, include that customer’s customer_token in the body of the request or include the customer_token value in the route (e.g., /organizations/org_{{organization}}/locations/loc_{{location}}/customers/cst_{{customer_token}}/paymethods).

To associate an existing billing_address_token to a paymethod, include it in the body of the request.

AUTHORIZATION Basic Auth
Username      {{apiaccessid}}
Password       {{apisecurekey}}
Body raw
				
					{
       "label": "Brown Work- 1111",
       "notes": "Brown Work Checking",
       "echeck": {
          "account_holder": "Marty McFly",
          "account_number": "1111111111111",          
          "routing_number": "021000021",
          "item_description": "1001",
          "account_type": "checking"
       }
}
				
			

Example Request

				
					curl --location -g 'https://api.forte.net/v3/organizations/org_{{organizationID}}/locations/loc_{{locationID}}/paymethods' \
--header 'Authorization: {{Authorization}}' \
--header 'Accept: application/json' \
--header 'X-Forte-Auth-Organization-Id: org_{{AuthOrganizationID}}' \
--header 'Content-Type: application/json' \
--data '{
       "label": "Brown Work- 1111",
       "notes": "Brown Work Checking",
       "billing_address_token": "add_1I3zkd5MfkCwa7ckluiu1A",
       "echeck": {
          "account_holder": "Marty McFly",
          "account_number": "1111111111111",          
          "routing_number": "021000021",
          "item_description": "1001",
          "account_type": "checking"
       }
}'
				
			

Example Response

				
					{
  "paymethod_token": "mth_Qm5oCy077UeP_KUjm8R1JQ",
  "location_id": "loc_192642",
  "label": "Brown Work- 1111",
  "notes": "Brown Work Checking",
  "billing_address_token": "add_1I3zkd5MfkCwa7ckluiu1A",
  "echeck": {
    "account_holder": "Marty McFly",
    "masked_account_number": "****1111",
    "last_4_account_number": "1111",
    "routing_number": "021000021",
    "account_type": "checking",
    "item_description": "1001"
  },
  "response": {
    "environment": "live",
    "response_desc": "Create Successful."
  },
  "links": {
    "transactions": "https://api.forte.net/v3/paymethods/mth_Qm5oCy077UeP_KUjm8R1JQ/transactions",
    "settlements": "https://api.forte.net/v3/paymethods/mth_Qm5oCy077UeP_KUjm8R1JQ/settlements",
    "schedules": "https://api.forte.net/v3/paymethods/mth_Qm5oCy077UeP_KUjm8R1JQ/schedules",
    "self": "https://api.forte.net/v3/paymethods/mth_Qm5oCy077UeP_KUjm8R1JQ"
  }
}
				
			

POST Permanent Paymethod Token from a One-Time Token (Credit Card)

				
					{{baseURI}}/organizations/org_{{organizationID}}/locations/loc_{{locationID}}/customers/cst_{{customertoken}}/paymethods
				
			

Use this URI to create a permanent token from the one-time token you created in Forte.js. You can also create a permanent token from a one-time token by including the existing customer’s customer_token in the body of the request to the /organizations/org_{{organization}}/locations/loc{{location}}/paymethods URI. NOTE: At this time, one-time tokens cannot be used to create organization-level paymethod tokens.

To associate an existing billing_address_token to a paymethod, include it in the body of the request.

AUTHORIZATION Basic Auth
Username      {{apiaccessid}}
Password       {{apisecurekey}}
Body raw
				
					{
   "label": "Brown VISA",
   "notes": "Brown Work Card",
   "card": {
     "one_time_token": "ott_ki99oclmr8c0gduavrcjww",
     "name_on_card":"Marty McFly"
   }
}
				
			

Example Request

				
					curl --location -g 'https://api.forte.net/v3/organizations/org_{{organizationID}}/locations/loc_{{locationID}}/customers/cst_{{customertoken}}/paymethods' \
--header 'Authorization: {{Authorization}}' \
--header 'Accept: application/json' \
--header 'X-Forte-Auth-Organization-Id: org_{{AuthOrganizationID}}' \
--header 'Content-Type: application/json' \
--data '{
   "label": "Brown VISA",
   "notes": "Brown Work Card",
   "billing_address_token": "add_1I3zkd5MfkCwa7ckluiu1A",
   "card": {
     "one_time_token": "ott_ki99oclmr8c0gduavrcjww",
     "name_on_card":"Marty McFly"
   }
}'
				
			

Example Response

				
					{
  "location_id": "loc_192642",
  "paymethod_token": "mth_ZK01TBclw0mTgMdrmSevdg",
  "customer_token": "cst_h_TrrHANEU6XjmMV_EMVrA",
  "billing_address_token": "add_1I3zkd5MfkCwa7ckluiu1A",
  "label": "Brown VISA",
  "notes": "Brown Work Card",
  "card": {
    "one_time_token": "ott_ki99oclmr8c0gduavrcjww",
    "name_on_card": "Marty McFly"
  },
  "response": {
    "environment": "live",
    "response_desc": "Create Successful."
  },
  "links": {
    "transactions": "https://api.forte.net/v3/paymethods/mth_ZK01TBclw0mTgMdrmSevdg/transactions",
    "settlements": "https://api.forte.net/v3/paymethods/mth_ZK01TBclw0mTgMdrmSevdg/settlements",
    "schedules": "https://api.forte.net/v3/paymethods/mth_ZK01TBclw0mTgMdrmSevdg/schedules",
    "self": "https://api.forte.net/v3/paymethods/mth_ZK01TBclw0mTgMdrmSevdg"
  }
}
				
			

POST Permanent Paymethod Token from a One-Time Token (eCheck)

				
					{{baseURI}}/organizations/org_{{organizationID}}/locations/loc_{{locationID}}/customers/cst_{{customertoken}}/paymethods
				
			

Use this URI to create a permanent token from the one-time token you created in Forte.js. You can also create a permanent token from a one-time token by including the existing customer’s customer_token in the body of the request to the /organizations/org_{{organization}}/locations/loc{{location}}/paymethods URI. NOTE: At this time, one-time tokens cannot be used to create organization-level paymethod tokens.

To associate an existing billing_address_token to a paymethod, include it in the body of the request.

AUTHORIZATION Basic Auth
Username      {{apiaccessid}}
Password       {{apisecurekey}}
Body raw
				
					{
       "notes": "McFly_Checking",
       "echeck": {
          "one_time_token": "ott_ki99oclmr8c0gduavrcjww",
          "account_holder":"Marty McFly"
       }
}
				
			

Example Request

				
					curl --location -g 'https://api.forte.net/v3/organizations/org_{{organizationID}}/locations/loc_{{locationID}}/customers/cst_{{customertoken}}/paymethods' \
--header 'Authorization: {{Authorization}}' \
--header 'Accept: application/json' \
--header 'X-Forte-Auth-Organization-Id: org_{{AuthOrganizationID}}' \
--header 'Content-Type: application/json' \
--data '{
       "notes": "McFly_Checking",
       "billing_address_token": "add_1I3zkd5MfkCwa7ckluiu1A",
       "echeck": {
          "one_time_token": "ott_ki99oclmr8c0gduavrcjww",
          "account_holder":"Marty McFly"
       }
}'
				
			

Example Response

				
					{
  "location_id": "loc_192642",
  "paymethod_token": "mth_ZK01TBclw0mTgMdrmSevdg",
  "customer_token": "cst_h_TrrHANEU6XjmMV_EMVrA",
  "billing_address_token": "add_1I3zkd5MfkCwa7ckluiu1A",
  "notes": "McFly_Checking",
  "echeck": {
    "one_time_token": "ott_ki99oclmr8c0gduavrcjww",
    "account_holder": "Marty McFly"
  },
  "response": {
    "environment": "live",
    "response_desc": "Create Successful."
  },
  "links": {
    "transactions": "https://api.forte.net/v3/paymethods/mth_ZK01TBclw0mTgMdrmSevdg/transactions",
    "settlements": "https://api.forte.net/v3/paymethods/mth_ZK01TBclw0mTgMdrmSevdg/settlements",
    "schedules": "https://api.forte.net/v3/paymethods/mth_ZK01TBclw0mTgMdrmSevdg/schedules",
    "self": "https://api.forte.net/v3/paymethods/mth_ZK01TBclw0mTgMdrmSevdg"
  }
}
				
			

GET Customer's Paymethods

				
					{{baseURI}}/organizations/org_{{organization}}/locations/loc_{{location}}/customers/cst_{{customertoken}}/paymethods
				
			

This URI returns all paymethods associated with the specified customer_token.

AUTHORIZATION Basic Auth
Username      {{apiaccessid}}
Password       {{apisecurekey}}

Example Request

				
					curl --location -g 'https://api.forte.net/v3/organizations/org_{{organization}}/locations/loc_{{location}}/customers/cst_{{customertoken}}/paymethods' \
--header 'Authorization: {{Authorization}}' \
--header 'Accept: application/json' \
--header 'X-Forte-Auth-Organization-Id: org_{{AuthOrganizationID}}'
				
			

Example Response

				
					{
  "number_results": 2,
  "search_criteria": {
    "page_size": 50,
    "page_index": 0,
    "home_organization_id": "org_300005",
    "resource_specific": {
      "location_id": "loc_115161",
      "customer_token": "cst_1ddMytA0SsKzSwuxT8UExg"
    }
  },
  "results": [
    {
      "paymethod_token": "mth_NUXS_glgR4-wV1tZr9bh6w",
      "organization_id": "org_300005",
      "location_id": "loc_115161",
      "customer_token": "cst_1ddMytA0SsKzSwuxT8UExg",
      "billing_address_token": "add_EuBdXShz_U-WabGPTTIvaQ",
      "label": "Visa Credit Card - 1111",
      "card": {
        "name_on_card": "c",
        "last_4_account_number": "1111",
        "masked_account_number": "****1111",
        "expire_month": 12,
        "expire_year": 2020,
        "procurement_card": false,
        "card_type": "visa"
      },
      "is_default": "false",
      "links": {
        "transactions": "https://api.forte.net/v3/paymethods/mth_NUXS_glgR4-wV1tZr9bh6w/transactions",
        "settlements": "https://api.forte.net/v3/paymethods/mth_NUXS_glgR4-wV1tZr9bh6w/settlements",
        "schedules": "https://api.forte.net/v3/paymethods/mth_NUXS_glgR4-wV1tZr9bh6w/schedules",
        "self": "https://api.forte.net/v3/paymethods/mth_NUXS_glgR4-wV1tZr9bh6w"
      }
    },
    {
      "paymethod_token": "mth_kZ4yliRgdUW4BGveSpbxKg",
      "organization_id": "org_300005",
      "location_id": "loc_115161",
      "customer_token": "cst_1ddMytA0SsKzSwuxT8UExg",
      "billing_address_token": "add_EuBdXShz_U-WabGPTTIvaQ",
      "label": "Work MAST - 3232",
      "card": {
        "name_on_card": "wrer ere",
        "last_4_account_number": "1111",
        "masked_account_number": "****1111",
        "expire_month": 5,
        "expire_year": 2020,
        "procurement_card": false,
        "card_type": "visa",
        "suppress_account_updater": false
      },
      "is_default": "true",
      "links": {
        "transactions": "https://api.forte.net/v3/paymethods/mth_kZ4yliRgdUW4BGveSpbxKg/transactions",
        "settlements": "https://api.forte.net/v3/paymethods/mth_kZ4yliRgdUW4BGveSpbxKg/settlements",
        "schedules": "https://api.forte.net/v3/paymethods/mth_kZ4yliRgdUW4BGveSpbxKg/schedules",
        "self": "https://api.forte.net/v3/paymethods/mth_kZ4yliRgdUW4BGveSpbxKg"
      }
    }
  ],
  "response": {
    "environment": "live",
    "response_desc": "Get Successful."
  },
  "links": {
    "self": "https://api.forte.net/v3/paymethods/"
  }
}
				
			

GET Paymethod by ID

				
					{{baseURI}}/organizations/org_{{organizationID}}/locations/loc_{{locationID}}/paymethods/mth_{{paymethodtoken}}
				
			

Returns the payment method details associated with a paymethod_token.

AUTHORIZATION Basic Auth
Username      {{apiaccessid}}
Password       {{apisecurekey}}

Example Request

				
					curl --location -g 'https://api.forte.net/v3/organizations/org_{{organization}}/locations/loc_{{location}}/paymethods/mth_{{paymethodtoken}}' \
--header 'Authorization: {{Authorization}}' \
--header 'Accept: application/json' \
--header 'X-Forte-Auth-Organization-Id: org_{{AuthOrganizationID}}'
				
			

Example Response

				
					{
  "paymethod_token": "mth_3urq2yQexUmRWD3v8SOqlg",
  "organization_id": "org_334316",
  "location_id": "loc_192642",
  "customer_token": "cst_h_TrrHANEU6XjmMV_EMVrA",
  "billing_address_token": "add_EuBdXShz_U-WabGPTTIvaQ",
  "customer_id": "",
  "label": "Brown Work- 1111",
  "notes": "Brown Work Checking",
  "echeck": {
    "account_holder": "Jennifer McFly",
    "masked_account_number": "****1111",
    "last_4_account_number": "1111",
    "routing_number": "021000021",
    "account_type": "checking"
  },
  "is_default": "true",
  "response": {
    "environment": "live",
    "response_desc": "Get Successful."
  },
  "links": {
    "transactions": "https://api.forte.net/v3/paymethods/mth_3urq2yQexUmRWD3v8SOqlg/transactions",
    "settlements": "https://api.forte.net/v3/paymethods/mth_3urq2yQexUmRWD3v8SOqlg/settlements",
    "schedules": "https://api.forte.net/v3/paymethods/mth_3urq2yQexUmRWD3v8SOqlg/schedules",
    "self": "https://api.forte.net/v3/paymethods/mth_3urq2yQexUmRWD3v8SOqlg"
  }
}
				
			

GET All Paymethods for a Location

				
					{{baseURI}}/organizations/org_{{organizationID}}/locations/loc_{{locationID}}/paymethods
				
			

This URI returns all the payment methods owned by a Location. To narrow your search data using specific criteria, use the following parameters to filter your results:

  • customer_token
  • customer_id
  • start_au_updated_date / end_au_updated_date
  • paymethod_type

NOTES:

  • All date filter parameters are time aware.
  • As a best practice, Forte recommends running your Account Updater report on the first day of the month for the previous month’s data. This method provides the most accurate Account Updater data to match to merchant invoice items.
AUTHORIZATION Basic Auth
Username      {{apiaccessid}}
Password       {{apisecurekey}}

Example Request

				
					curl --location -g 'https://api.forte.net/v3/organizations/org_{{organizationID}}/locations/loc_{{locationID}}/paymethods' \
--header 'Authorization: {{Authorization}}' \
--header 'Accept: application/json' \
--header 'X-Forte-Auth-Organization-Id: org_{{AuthOrganizationID}}'
				
			

Example Response

				
					{
  "number_results": 2,
  "search_criteria": {
    "page_size": 50,
    "page_index": 0,
    "home_organization_id": "org_334316",
    "resource_specific": {
      "location_id": "loc_192642"
    }
  },
  "results": [
    {
      "paymethod_token": "mth_e8Hp-JIYbU6zbnZVf2MsQA",
      "organization_id": "org_334316",
      "location_id": "loc_192642",
      "customer_token": "cst_UwNHSfqc60SMRC2mDJ5OWw",
      "billing_address_token": "add_1I3zkd5MfkCwa7ckluiu1A",
      "customer_id": "",
      "label": "Visa - 1243",
      "notes": "Business CC",
      "card": {
        "name_on_card": "Emmett L. Brown",
        "last_4_account_number": "1111",
        "masked_account_number": "****1111",
        "expire_month": 10,
        "expire_year": 2020,
        "procurement_card": false,
        "card_type": "visa",
        "suppress_account_updater": false,
        "au_code": ""
      },
      "is_default": "true",
      "links": {
        "transactions": "https://api.forte.net/v3/paymethods/mth_e8Hp-JIYbU6zbnZVf2MsQA/transactions",
        "settlements": "https://api.forte.net/v3/paymethods/mth_e8Hp-JIYbU6zbnZVf2MsQA/settlements",
        "schedules": "https://api.forte.net/v3/paymethods/mth_e8Hp-JIYbU6zbnZVf2MsQA/schedules",
        "self": "https://api.forte.net/v3/paymethods/mth_e8Hp-JIYbU6zbnZVf2MsQA"
      }
    },
    {
      "paymethod_token": "mth_MrWFy6yZyEe3_6_mb_dkSA",
      "organization_id": "org_334316",
      "location_id": "loc_192642",
      "customer_token": "cst_h_TrrHANEU6XjmMV_EMVrA",
      "billing_address_token": "add_kVu82mnKcUumx0qoWsBZzw",
      "label": "Visa Credit Card - 1111",
      "notes": "Brwn Work Card",
      "card": {
        "name_on_card": "Emmett Brown",
        "last_4_account_number": "1111",
        "masked_account_number": "****1111",
        "expire_month": 12,
        "expire_year": 2020,
        "procurement_card": false,
        "card_type": "visa",
        "suppress_account_updater": false,
        "au_code": ""
      },
      "is_default": "false",
      "links": {
        "transactions": "https://api.forte.net/v3/paymethods/mth_MrWFy6yZyEe3_6_mb_dkSA/transactions",
        "settlements": "https://api.forte.net/v3/paymethods/mth_MrWFy6yZyEe3_6_mb_dkSA/settlements",
        "schedules": "https://api.forte.net/v3/paymethods/mth_MrWFy6yZyEe3_6_mb_dkSA/schedules",
        "self": "https://api.forte.net/v3/paymethods/mth_MrWFy6yZyEe3_6_mb_dkSA"
      }
    }
  ],
  "response": {
    "environment": "live",
    "response_desc": "Get Successful."
  },
  "links": {
    "self": "https://api.forte.net/v3/paymethods/",
    "next": "https://api.forte.net/v3/paymethods/?page_index=1"
  }
}
				
			

GET All Paymethods for an Organization

				
					{{baseURI}}/organizations/org_{{organizationID}}/paymethods
				
			

This URI returns all the payment methods owned by an Organization. Account Updater customers use this URI to view the payment tokens that were updated in the prior months using the following filter parameters:

  • start_au_updated_date

  • end_au_updated_date

These filters ensure that Forte only returns card payment token results within the specified date range. NOTE: Account Updater services cannot be tested in Sandbox.

To narrow your search data using specific criteria, use the following parameters to filter your results.

  • location_id

  • customer_token

  • customer_id

  • start_au_updated_date / end_au_updated_date

  • paymethod_type

NOTE: All date filter parameters are time aware.

Please note that sending a request at the partner (org) level may result in a large data set and may cause timeout errors depending on the request. We recommend sending your GET request at the Merchant (Organization) level.

AUTHORIZATION Basic Auth
Username      {{apiaccessid}}
Password       {{apisecurekey}}

Example Request

				
					curl --location -g 'https://api.forte.net/v3/organizations/org_{{organizationID}}/paymethods' \
--header 'Authorization: {{Authorization}}' \
--header 'Accept: application/json' \
--header 'X-Forte-Auth-Organization-Id: org_{{AuthOrganizationID}}'
				
			

Example Response

				
					{
  "number_results": 3,
  "search_criteria": {
    "page_size": 50,
    "page_index": 0,
    "home_organization_id": "org_334316",
    "resource_specific": {}
  },
  "results": [
    {
      "paymethod_token": "mth_e8Hp-JIYbU6zbnZVf2MsQA",
      "organization_id": "org_334316",
      "location_id": "loc_192642",
      "customer_token": "cst_UwNHSfqc60SMRC2mDJ5OWw",
      "billing_address_token": "add_kVu82mnKcUumx0qoWsBZzw",
      "label": "Visa - 1243",
      "notes": "Business CC",
      "card": {
        "name_on_card": "Emmett L. Brown",
        "last_4_account_number": "1111",
        "masked_account_number": "****1111",
        "expire_month": 10,
        "expire_year": 2020,
        "procurement_card": false,
        "card_type": "visa",
        "suppress_account_updater": false,
        "au_code": ""
      },
      "is_default": "false",
      "links": {
        "transactions": "https://api.forte.net/v3/paymethods/mth_e8Hp-JIYbU6zbnZVf2MsQA/transactions",
        "settlements": "https://api.forte.net/v3/paymethods/mth_e8Hp-JIYbU6zbnZVf2MsQA/settlements",
        "schedules": "https://api.forte.net/v3/paymethods/mth_e8Hp-JIYbU6zbnZVf2MsQA/schedules",
        "self": "https://api.forte.net/v3/paymethods/mth_e8Hp-JIYbU6zbnZVf2MsQA"
      }
    },
    {
      "paymethod_token": "mth_MrWFy6yZyEe3_6_mb_dkSA",
      "organization_id": "org_334316",
      "location_id": "loc_192642",
      "customer_token": "cst_3Y26tnxue02gQ05yqB23Tg",
      "billing_address_token": "add_y5FzM2p000KOerg-vmLSfQ",
      "label": "Visa Credit Card - 1111",
      "notes": "Brwn Work Card",
      "card": {
        "name_on_card": "Emmett Brown",
        "last_4_account_number": "1111",
        "masked_account_number": "****1111",
        "expire_month": 12,
        "expire_year": 2020,
        "procurement_card": false,
        "card_type": "visa",
        "suppress_account_updater": false,
        "au_code": ""
      },
      "is_default": "true",
      "links": {
        "transactions": "https://api.forte.net/v3/paymethods/mth_MrWFy6yZyEe3_6_mb_dkSA/transactions",
        "settlements": "https://api.forte.net/v3/paymethods/mth_MrWFy6yZyEe3_6_mb_dkSA/settlements",
        "schedules": "https://api.forte.net/v3/paymethods/mth_MrWFy6yZyEe3_6_mb_dkSA/schedules",
        "self": "https://api.forte.net/v3/paymethods/mth_MrWFy6yZyEe3_6_mb_dkSA"
      }
    },
    {
      "paymethod_token": "mth_ih6dAnE_GE28mKDBzfJ3aQ",
      "organization_id": "org_334316",
      "location_id": "loc_192642",
      "customer_token": "cst_RFn5JuDGzkiQyE4Y4e8kpg",
      "billing_address_token": "add_Xt9w6MAWs06Oa3nO16HlkQ",
      "label": "Visa - 1243",
      "notes": "Personal CC",
      "card": {
        "name_on_card": "Emmett L. Brown",
        "last_4_account_number": "1111",
        "masked_account_number": "****1111",
        "expire_month": 10,
        "expire_year": 2020,
        "procurement_card": false,
        "card_type": "visa",
        "suppress_account_updater": false,
        "au_code": ""
      },
      "is_default": "false",
      "links": {
        "transactions": "https://api.forte.net/v3/paymethods/mth_ih6dAnE_GE28mKDBzfJ3aQ/transactions",
        "settlements": "https://api.forte.net/v3/paymethods/mth_ih6dAnE_GE28mKDBzfJ3aQ/settlements",
        "schedules": "https://api.forte.net/v3/paymethods/mth_ih6dAnE_GE28mKDBzfJ3aQ/schedules",
        "self": "https://api.forte.net/v3/paymethods/mth_ih6dAnE_GE28mKDBzfJ3aQ"
      }
    }
  ],
  "response": {
    "environment": "live",
    "response_desc": "Get Successful."
  },
  "links": {
    "self": "https://api.forte.net/v3/paymethods/",
    "next": "https://api.forte.net/v3/paymethods/?page_index=1"
  }
}
				
			

GET Account Updater Token Updates

				
					{{baseURI}}/organizations/org_{{organizationID}}/paymethods/?filter=start_au_updated_date+eq+'2020-01-08'+and+end_au_updated_date+eq+'2020-12-08'
				
			

Account Updater customers use this URI with the start_au_updated_date and end_au_updated_date filters to view the payment tokens that were updated in the prior months.

NOTES:

  • Account Updater services cannot be tested in Sandbox.

  • As a best practice, Forte recommends running your Account Updater report on the first day of the month for the previous month’s data. This method provides the most accurate Account Updater data to match to merchant invoice items.

Please note that sending a request at the partner (org) level may result in a large data set and may cause timeout errors depending on the request. We recommend sending your GET request at the Merchant (Organization) level.

AUTHORIZATION Basic Auth
Username      {{apiaccessid}}
Password       {{apisecurekey}}
PARAMS
filter         start_au_updated_date+eq+'2020-01-08'+and+end_au_updated_date+eq+'2020-12-08'

Example Request

				
					curl --location -g '{{baseURI}}/organizations/org_{{organizationID}}/paymethods/?filter=start_au_updated_date%2Beq%2B%272020-01-08%27%2Band%2Bend_au_updated_date%2Beq%2B%272020-12-08%27' \
--header 'Authorization: {{Authorization}}' \
--header 'Accept: application/json' \
--header 'X-Forte-Auth-Organization-Id: org_{{AuthOrganizationID}}' \
--data ''
				
			

Example Response

				
					{
  "number_results": 2,
  "search_criteria": {
    "page_size": 50,
    "page_index": 0,
    "home_organization_id": "org_300005",
    "resource_specific": {
      "start_au_updated_date": "2020-01-08T00:00:00",
      "end_au_updated_date": "2020-12-08T00:00:00"
    }
  },
  "results": [
    {
      "paymethod_token": "mth_Mgy5x_oEz0uktUxoY9mXtw",
      "organization_id": "org_300005",
      "location_id": "loc_115161",
      "customer_token": "cst_jLPyxklP_keHBuV4PJ2IOg",
      "billing_address_token": "add_WwdMKhR-aUe3MpRjqmbDfA",
      "label": "VISA Credit Card - 1111",
      "card": {
        "name_on_card": "Marty McFly",
        "last_4_account_number": "1111",
        "masked_account_number": "****1111",
        "expire_month": 6,
        "expire_year": 2022,
        "procurement_card": false,
        "card_type": "visa",
        "suppress_account_updater": false,
        "au_updated_date": "2020-06-01T13:17:26.217"
      },
      "is_default": true,
      "links": {
        "transactions": "https://api.forte.net/v3/paymethods/mth_Mgy5x_oEz0uktUxoY9mXtw/transactions",
        "settlements": "https://api.forte.net/v3/paymethods/mth_Mgy5x_oEz0uktUxoY9mXtw/settlements",
        "schedules": "https://api.forte.net/v3/paymethods/mth_Mgy5x_oEz0uktUxoY9mXtw/schedules",
        "self": "https://api.forte.net/v3/paymethods/mth_Mgy5x_oEz0uktUxoY9mXtw/"
      }
    },
    {
      "paymethod_token": "mth_Mgy5x_oEz0uktUxoY9mXtw",
      "organization_id": "org_300005",
      "location_id": "loc_115161",
      "customer_token": "cst_jLPyxklP_keHBuV4PJ2IOg",
      "billing_address_token": "add_WwdMKhR-aUe3MpRjqmbDfA",
      "label": "VISA Credit Card - 1111",
      "card": {
        "name_on_card": "Biff Tannen",
        "last_4_account_number": "1111",
        "masked_account_number": "****1111",
        "expire_month": 6,
        "expire_year": 2022,
        "procurement_card": false,
        "card_type": "visa",
        "suppress_account_updater": false,
        "au_updated_date": "2020-06-01T13:17:26.217"
      },
      "is_default": true,
      "links": {
        "transactions": "https://api.forte.net/v3/paymethods/mth_Mgy5x_oEz0uktUxoY9mXtw/transactions",
        "settlements": "https://api.forte.net/v3/paymethods/mth_Mgy5x_oEz0uktUxoY9mXtw/settlements",
        "schedules": "https://api.forte.net/v3/paymethods/mth_Mgy5x_oEz0uktUxoY9mXtw/schedules",
        "self": "https://api.forte.net/v3/paymethods/mth_Mgy5x_oEz0uktUxoY9mXtw/"
      }
    }
  ],
  "response": {
    "environment": "live",
    "response_desc": "Get Successful."
  },
  "links": {
    "self": "https://api.forte.net/v3/paymethods/?filter=start_au_updated_date+eq+%272020-01-08%27+and+end_au_updated_date+eq+%272020-12-08%27"
  }
}
				
			

PUT Update the Customer Token Associated with the Paymethod

				
					{{baseURI}}/v3/organizations/org_{{organizationID}}/locations/loc_{{locationID}}/paymethods/mth_{{paymethodtoken}}
				
			

This URI updates the specified payment method (via the paymethod_token parameter) and assigns it to the customer_token specified in the request payload.

AUTHORIZATION Basic Auth
Username      {{apiaccessid}}
Password       {{apisecurekey}}
Body raw
				
					{
"customer_token":"cst_r0RxeHj4U0e2wpfOA09B_g"
}
				
			

Example Request

				
					curl --location -g --request PUT 'https://api.forte.net/v3/organizations/org_{{organizationID}}/locations/loc_{{locationID}}/paymethods/mth_{{paymethodtoken}}' \
--header 'Authorization: {{Authorization}}' \
--header 'Accept: application/json' \
--header 'X-Forte-Auth-Organization-Id: org_{{AuthOrganizationID}}' \
--header 'Content-Type: application/json' \
--data '{
"customer_token":"cst_r0RxeHj4U0e2wpfOA09B_g"
}'
				
			

Example Response

				
					{
  "paymethod_token": "mth_Ud3X0JOC4ka5694qH15QDw",
  "location_id": "loc_115161",
  "customer_token": "cst_r0RxeHj4U0e2wpfOA09B_g",
  "response": {
    "environment": "live",
    "response_desc": "Update Successful."
  },
  "links": {
    "transactions": "https://api.forte.net/v3/paymethods/mth_Ud3X0JOC4ka5694qH15QDw/transactions",
    "settlements": "https://api.forte.net/v3/paymethods/mth_Ud3X0JOC4ka5694qH15QDw/settlements",
    "schedules": "https://api.forte.net/v3/paymethods/mth_Ud3X0JOC4ka5694qH15QDw/schedules",
    "self": "https://api.forte.net/v3/paymethods/mth_Ud3X0JOC4ka5694qH15QDw"
  }
}
				
			

PUT Update an eCheck Paymethod

				
					{{baseURI}}/organizations/org_{{organizationID}}/locations/loc_{{locationID}}/paymethods
				
			

This URI updates the payment method specified in the route via the paymethod_token parameter. NOTE: You cannot update the account_number parameter when updating an echeck payment method.

AUTHORIZATION Basic Auth
Username      {{apiaccessid}}
Password       {{apisecurekey}}
Body raw
				
					{
       "label": "Brown Work- 1111",
       "notes": "Brown Work Checking",
       "echeck": {
          "account_holder": "Jennifer McFly",
          "routing_number": "021000021",
          "item_description": "1001",
          "account_type": "checking"
       }
}
				
			

Example Request

				
					curl --location -g --request PUT 'https://api.forte.net/v3/organizations/org_{{organizationID}}/locations/loc_{{locationID}}/paymethods/mth_{{paymethodtoken}}' \
--header 'Authorization: {{Authorization}}' \
--header 'Accept: application/json' \
--header 'X-Forte-Auth-Organization-Id: org_{{AuthOrganizationID}}' \
--header 'Content-Type: application/json' \
--data '{
       "label": "Brown Work- 1111",
       "notes": "Brown Work Checking",
       "echeck": {
          "account_holder": "Jennifer McFly",
          "routing_number": "021000021",
          "item_description": "1001",
          "account_type": "checking"
       }
}'
				
			

Example Response

				
					{
  "paymethod_token": "mth_3urq2yQexUmRWD3v8SOqlg",
  "location_id": "loc_192642",
  "label": "Brown Work- 1111",
  "notes": "Brown Work Checking",
  "echeck": {
    "account_holder": "Jennifer McFly",
    "routing_number": "021000021",
    "account_type": "checking",
    "item_description": "1001"
  },
  "response": {
    "environment": "live",
    "response_desc": "Update Successful."
  },
  "links": {
    "transactions": "https://api.forte.net/v3/paymethods/mth_3urq2yQexUmRWD3v8SOqlg/transactions",
    "settlements": "https://api.forte.net/v3/paymethods/mth_3urq2yQexUmRWD3v8SOqlg/settlements",
    "schedules": "https://api.forte.net/v3/paymethods/mth_3urq2yQexUmRWD3v8SOqlg/schedules",
    "self": "https://api.forte.net/v3/paymethods/mth_3urq2yQexUmRWD3v8SOqlg"
  }
}
				
			

PUT Update Billing Address Associated with a Paymethod

				
					{{baseURI}}/organizations/org_{{organizationID}}/locations/loc_{{locationID}}/paymethods/mth__{{paymethodtoken}}
				
			

This URI updates the billing_address_token associated with the payment method. The billing address you associate to a payment method must belong to the same organization referenced in the route.

AUTHORIZATION Basic Auth
Username      {{apiaccessid}}
Password       {{apisecurekey}}
Body raw
				
					{
"billing_address_token":"add_xzDoohIiK0uj5wjPairb-g"
}
				
			

Example Request

				
					curl --location -g --request PUT 'https://api.forte.net/v3/organizations/org_{{organizationID}}/locations/loc_{{locationID}}/paymethods/mth__{{paymethodtoken}}' \
--header 'X-Forte-Auth-Organization-Id: org_{{AuthOrganizationID}}' \
--header 'Accept: application/json' \
--header 'Content-Type: application/json' \
--data '{
"billing_address_token":"add_xzDoohIiK0uj5wjPairb-g"
}'
				
			

Example Response

				
					{
  "paymethod_token": "mth__NnbdJW_AEeAR5giSA5zzg",
  "location_id": "loc_115161",
  "billing_address_token": "add_xzDoohIiK0uj5wjPairb-g",
  "response": {
    "environment": "live",
    "response_desc": "Update Successful."
  },
  "links": {
    "transactions": "https://api.forte.net/v3/paymethods/mth__NnbdJW_AEeAR5giSA5zzg/transactions",
    "settlements": "https://api.forte.net/v3/paymethods/mth__NnbdJW_AEeAR5giSA5zzg/settlements",
    "schedules": "https://api.forte.netv3/paymethods/mth__NnbdJW_AEeAR5giSA5zzg/schedules",
    "self": "https://api.forte.net/v3/paymethods/mth__NnbdJW_AEeAR5giSA5zzg"
  }
}
				
			

PUT Update a Clientless Credit Card Paymethod

				
					{{baseURI}}/organizations/org_{{organizationID}}/locations/loc_{{locationID}}/paymethods/mth_{{paymethodtoken}}
				
			

This URI updates the payment method specified in the route via the paymethod_token parameter. NOTE: You cannot update the account_number or the card_verification_value parameters when updating a credit card payment method.

AUTHORIZATION Basic Auth
Username      {{apiaccessid}}
Password       {{apisecurekey}}
Body raw
				
					{
       "card": {
          "expire_month": 04,
          "expire_year": 2020,
          "card_verification_value": "123"
       }
} 
				
			

Example Request

				
					curl --location -g --request PUT 'https://api.forte.net/v3/organizations/org_{{organizationID}}/locations/loc_{{locationID}}/paymethods/mth_{{paymethodtoken}}' \
--header 'Authorization: {{Authorization}}' \
--header 'Accept: application/json' \
--header 'X-Forte-Auth-Organization-Id: org_{{AuthOrganizationID}}' \
--header 'Content-Type: application/json' \
--data '{
       "card": {
          "expire_month": 04,
          "expire_year": 2020,
          "card_verification_value": "123"
       }
} '
				
			

Example Response

				
					{
  "paymethod_token": "mth_z4stz8S8302JEaMo-lJosw",
  "location_id": "loc_192642",
  "card": {
    "expire_month": 4,
    "expire_year": 2020
  },
  "response": {
    "environment": "live",
    "response_desc": "Update Successful."
  },
  "links": {
    "transactions": "https://api.forte.net/v3/paymethods/mth_z4stz8S8302JEaMo-lJosw/transactions",
    "settlements": "https://api.forte.net/v3/paymethods/mth_z4stz8S8302JEaMo-lJosw/settlements",
    "schedules": "https://api.forte.net/v3/paymethods/mth_z4stz8S8302JEaMo-lJosw/schedules",
    "self": "https://api.forte.net/v3/paymethods/mth_z4stz8S8302JEaMo-lJosw"
  }
}
				
			

PUT Update a Clientless eCheck Paymethod

				
					{{baseURI}}/organizations/org_{{organizationID}}/locations/loc_{{locationID}}/paymethods/mth_{{paymethodtoken}}
				
			

This URI updates the payment method specified in the route via the paymethod_token parameter. NOTE: You cannot update the account_number parameter when updating an echeck payment method.

AUTHORIZATION Basic Auth
Username      {{apiaccessid}}
Password       {{apisecurekey}}
Body raw
				
					{
       "card": {
          "expire_month": 04,
          "expire_year": 2020,
          "card_verification_value": "123"
       }
} 
				
			

Example Request

				
					curl --location -g --request PUT 'https://api.forte.net/v3/organizations/org_{{organizationID}}/locations/loc_{{locationID}}/paymethods/mth_{{paymethodtoken}}' \
--header 'Authorization: {{Authorization}}' \
--header 'Accept: application/json' \
--header 'X-Forte-Auth-Organization-Id: org_{{AuthOrganizationID}}' \
--header 'Content-Type: application/json' \
--data '{
       "card": {
          "expire_month": 04,
          "expire_year": 2020,
          "card_verification_value": "123"
       }
} '
				
			

Example Response

				
					{
  "paymethod_token": "mth_N7rT7FHun0Wd2r1aOujKKg",
  "location_id": "loc_192642",
  "label": "Brown Work- 1111",
  "notes": "Brown Work Checking",
  "echeck": {
    "account_holder": "Jennifer McFly",
    "routing_number": "021000021",
    "account_type": "savings",
    "item_description": "8008"
  },
  "response": {
    "environment": "live",
    "response_desc": "Update Successful."
  },
  "links": {
    "transactions": "https://api.forte.net/v3/paymethods/mth_N7rT7FHun0Wd2r1aOujKKg/transactions",
    "settlements": "https://api.forte.net/v3/paymethods/mth_N7rT7FHun0Wd2r1aOujKKg/settlements",
    "schedules": "https://api.forte.net/v3/paymethods/mth_N7rT7FHun0Wd2r1aOujKKg/schedules",
    "self": "https://api.forte.net/v3/paymethods/mth_N7rT7FHun0Wd2r1aOujKKg"
  }
}
				
			

PUT Exclude a Paymethod from Account Updater Run

				
					{{baseURI}}/organizations/org_{{organizationID}}/locations/loc_{{locationID}}/paymethods/mth_{{paymethodtoken}}
				
			

This URI excludes a credit card token from the monthly Account Updater run when passed with the "suppress_account_updater"="true" parameter in the body of the request. NOTEAccount Updater functionality cannot be tested in Sandbox.

AUTHORIZATION Basic Auth
Username      {{apiaccessid}}
Password       {{apisecurekey}}
Body raw
				
					{
       "card": {
          "suppress_account_updater": "true"
       }
}
				
			

Example Request

				
					curl --location -g --request PUT 'https://api.forte.net/v3/organizations/org_{{organizationID}}/locations/loc_{{locationID}}/paymethods/mth_{{paymethodtoken}}' \
--header 'Authorization: {{Authorization}}' \
--header 'Accept: application/json' \
--header 'X-Forte-Auth-Organization-Id: org_{{AuthOrganizationID}}' \
--header 'Content-Type: application/json' \
--data '{
       "card": {
          "suppress_account_updater": "true"
       }
}'
				
			

Example Response

				
					{
  "paymethod_token": "mth_cp459q53Q0W5wJdMG35f1w",
  "location_id": "loc_192642",
  "card": {
    "suppress_account_updater": true
  },
  "response": {
    "environment": "live",
    "response_desc": "Update Successful."
  },
  "links": {
    "transactions": "https://api.forte.net/API/v3/paymethods/mth_cp459q53Q0W5wJdMG35f1w/transactions",
    "settlements": "https://api.forte.net/API/v3/paymethods/mth_cp459q53Q0W5wJdMG35f1w/settlements",
    "schedules": "https://api.forte.net/API/v3/paymethods/mth_cp459q53Q0W5wJdMG35f1w/schedules",
    "self": "https://api.forte.net/API/v3/paymethods/mth_cp459q53Q0W5wJdMG35f1w"
  }
}
				
			

DELETE Paymethod

				
					{{baseURI}}/organizations/org_{{organizationID}}/locations/loc_{{locationID}}/paymethods/mth_{{paymethodtoken}}
				
			

This URI deletes the payment method specified in the route via the paymethod_token parameter. NOTE: A payment method cannot be deleted if it is tied to a schedule in the active status.

AUTHORIZATION Basic Auth
Username      {{apiaccessid}}
Password       {{apisecurekey}}

Example Request

				
					curl --location -g --request DELETE 'https://api.forte.net/v3/organizations/org_{{organizationID}}/locations/loc_{{locationID}}/paymethods/mth_{{paymethodtoken}}' \
--header 'Authorization: {{Authorization}}' \
--header 'Accept: application/json' \
--header 'X-Forte-Auth-Organization-Id: org_{{AuthOrganizationID}}' \
--data ''
				
			

Example Response

				
					{
  "paymethod_token": "mth_P3a5yUYcZ0uKhUAZHS8K8g",
  "location_id": "loc_192642",
  "response": {
    "environment": "live",
    "response_desc": "Delete Successful."
  }
}
				
			

Scheduleitems

The scheduleitems object captures the planned individual transactions that make up a schedule. This object enables merchants to create and make one-time adjustments to a scheduled transaction such as the amount or status of the transaction.

Scheduleitems Object

Parameter

Description

Type

Req

organization_id

The identification number of the associated organization. For example, org_5551236.

string

R

location_id

The identification number of the associated location. For example, loc_1234568.

string

R

schedule_item_id

A unique string used to represent a schedule item. For example, sci_2e5770ae-c120-414f-ae8c-d065753567e7. [max length = 40]

string

R

customer_token

A unique string used to represent a customer. For example, cst_SoGUG6mcLUS1nVzYBIbk3g. [max length = 26]

string

R

paymethod_token

A unique string used to represent a payment method. For example, mth_1578436587. [max length = 26]

string

R

transaction_id

A unique string used to represent a completed schedule item. For example, trn_55c98c85-d3e8-4230-85e9-21d7d522eec0. [max length = 36]

string

O

schedule_id

A unique string used to represent a schedule. For example, sch_2e5770ae-c120-414f-ae8c-d065753567e7. [max length = 40]

string

R

schedule_item_amount

Indicates the amount of the scheduled item. For service fee transactions, use this parameter as the base amount for calculating a service fee. [max length = 6]

decimal

O

schedule_item_service_fee_amount

The amount of the service fee (i.e., convenience fee).

decimal

O

schedule_item_authorization_amount

Indicates the amount of the scheduled item. For service fee transactions, this parameter is the resulting sum of the schedule_item_amount and the schedule_item_service_fee_amount values.

decimal

O

schedule_item_status

Indicates the status of the scheduled item. The supported values for this field include the following:

scheduled - The item is scheduled
completed - The item is completed
suspended - The item is suspended
processing - The item is processing
failed - The item has failed

string

R

schedule_item_date

Indicates the date of the scheduled item. For POSTs, the value of this field must be greater than today's date. [max length = 10]

datetime

R

schedule_item_processed_date

Indicates the date when the scheduled item will be processed. This parameter is return only.

datetime

--

schedule_item_created_date

Indicates the date when the merchant created the scheduled item. This parameter is return only.

datetime

--

schedule_item_description

A brief description of the scheduled item being processed. [max length = 50]

string

O

POST Scheduleitems

				
					{{baseURI}}/organizations/org_{{organizationID}}/locations/loc_{{locationID}}/schedules/sch_{{scheduleID}}/scheduleitems/
				
			

This URI creates a new scheduleitem and returns a unique schedule_item_id. If the schedule_item_date or schedule_item_amount fields are not passed, the system automatically calculates these values based on the last scheduleitem and the schedule definition records. The value of the schedule_item_date field must be a future date. NOTE: Scheduleitems cannot be created for non-active or continuous schedules.

AUTHORIZATION Basic Auth
Username      {{apiaccessid}}
Password       {{apisecurekey}}
Body raw
				
					{
       "schedule_id": "sch_ce7b86ea-7510-444e-bd46-431c8d175b7e",
       "customer_token": "cst_h_TrrHANEU6XjmMV_EMVrA",
       "paymethod_token": "mth_cp459q53Q0W5wJdMG35f1w",
       "schedule_item_amount": 100.00,
       "schedule_item_status": "scheduled",
       "schedule_item_date": "12/21/2018"
}
				
			

Example Request

				
					curl --location -g 'https://api.forte.net/v3/organizations/org_{{organizationID}}/locations/loc_{{locationID}}/schedules/sch_{{scheduleID}}/scheduleitems/' \
--header 'Authorization: {{Authorization}}' \
--header 'Accept: application/json' \
--header 'X-Forte-Auth-Organization-Id: org_{{AuthOrganizationID}}' \
--header 'Content-Type: application/json' \
--data '{
       "schedule_id": "sch_ce7b86ea-7510-444e-bd46-431c8d175b7e",
       "customer_token": "cst_h_TrrHANEU6XjmMV_EMVrA",
       "paymethod_token": "mth_cp459q53Q0W5wJdMG35f1w",
       "schedule_item_amount": 100.00,
       "schedule_item_status": "scheduled",
       "schedule_item_date": "12/21/2018"
}'
				
			

Example Response

				
					{
  "schedule_item_id": "sci_b89bebb8-b124-4616-9e25-ce89671d3248",
  "location_id": "loc_192642",
  "customer_token": "cst_h_TrrHANEU6XjmMV_EMVrA",
  "paymethod_token": "mth_cp459q53Q0W5wJdMG35f1w",
  "schedule_id": "sch_ce7b86ea-7510-444e-bd46-431c8d175b7e",
  "schedule_item_amount": 100,
  "schedule_item_status": "scheduled",
  "schedule_item_date": "2018-12-21T00:00:00",
  "response": {
    "environment": "live",
    "response_desc": "Create Successful."
  },
  "links": {
    "self": "https://api.forte.net/v3/scheduleitems/sci_b89bebb8-b124-4616-9e25-ce89671d3248"
  }
}
				
			

GET All Scheduleitems for an Organization

				
					{{baseURI}}/organizations/org_{{organizationID}}/scheduleitems/
				
			

This URI returns all scheduleitems for an Organization. To narrow your search data using specific criteria, use the following parameters to filter your results:

  • location_id

  • customer_token

  • paymethod_token

  • schedule_id

  • schedule_item_amount

  • schedule_item_status

  • start_schedule_item_date / end_schedule_item_date

  • start_schedule_item_processed_date / end_schedule_item_processed_date

  • start_schedule_item_created_date / end_schedule_item_created_date

Note: Please note that sending a request at the partner (org) level may result in a large data set and may cause timeout errors depending on the request. We recommend sending your GET request at the Merchant (Organization) level.

AUTHORIZATION Basic Auth
Username      {{apiaccessid}}
Password       {{apisecurekey}}

Example Request

				
					curl --location -g 'https://api.forte.net/v3/organizations/org_{{organizationID}}/scheduleitems/' \
--header 'Authorization: {{Authorization}}' \
--header 'Accept: application/json' \
--header 'X-Forte-Auth-Organization-Id: org_{{AuthOrganizationID}}' \
--data ''
				
			

Example Response

				
					{
  "number_results": 10,
  "search_criteria": {
    "page_size": 50,
    "page_index": 0,
    "home_organization_id": "org_334316",
    "resource_specific": {}
  },
  "results": [
    {
      "schedule_item_id": "sci_f7c0a527-075c-4311-9b9e-63f6380256d4",
      "organization_id": "org_334316",
      "customer_token": "cst_h_TrrHANEU6XjmMV_EMVrA",
      "paymethod_token": "mth_3urq2yQexUmRWD3v8SOqlg",
      "schedule_id": "sch_efb0d951-3f54-40b2-8ad8-febca0131562",
      "schedule_item_amount": 25,
      "schedule_item_status": "scheduled",
      "schedule_item_date": "2016-12-11T08:00:00",
      "schedule_item_created_date": "2016-10-11T12:44:27.88",
      "schedule_item_description": "Item 1 of 12",
      "links": {
        "self": "https://api.forte.net/v3/scheduleitems/sci_f7c0a527-075c-4311-9b9e-63f6380256d4"
      }
    },
    {
      "schedule_item_id": "sci_2b1f0ca8-2c7a-4c96-8b88-5bb9100f1d03",
      "organization_id": "org_334316",
      "customer_token": "cst_h_TrrHANEU6XjmMV_EMVrA",
      "paymethod_token": "mth_3urq2yQexUmRWD3v8SOqlg",
      "schedule_id": "sch_efb0d951-3f54-40b2-8ad8-febca0131562",
      "schedule_item_amount": 25,
      "schedule_item_status": "scheduled",
      "schedule_item_date": "2017-01-11T08:00:00",
      "schedule_item_created_date": "2016-10-11T12:44:27.937",
      "schedule_item_description": "Item 2 of 12",
      "links": {
        "self": "https://api.forte.net/v3/scheduleitems/sci_2b1f0ca8-2c7a-4c96-8b88-5bb9100f1d03"
      }
    },
    {
      "schedule_item_id": "sci_e5e51c9d-f0ee-43b4-9d7c-b9352a199b90",
      "organization_id": "org_334316",
      "customer_token": "cst_h_TrrHANEU6XjmMV_EMVrA",
      "paymethod_token": "mth_3urq2yQexUmRWD3v8SOqlg",
      "schedule_id": "sch_efb0d951-3f54-40b2-8ad8-febca0131562",
      "schedule_item_amount": 25,
      "schedule_item_status": "scheduled",
      "schedule_item_date": "2017-02-11T08:00:00",
      "schedule_item_created_date": "2016-10-11T12:44:27.96",
      "schedule_item_description": "Item 3 of 12",
      "links": {
        "self": "https://api.forte.net/v3/scheduleitems/sci_e5e51c9d-f0ee-43b4-9d7c-b9352a199b90"
      }
    },
    {
      "schedule_item_id": "sci_fb791dad-bf14-4f6c-8fe2-8578aebfb02f",
      "organization_id": "org_334316",
      "customer_token": "cst_h_TrrHANEU6XjmMV_EMVrA",
      "paymethod_token": "mth_3urq2yQexUmRWD3v8SOqlg",
      "schedule_id": "sch_efb0d951-3f54-40b2-8ad8-febca0131562",
      "schedule_item_amount": 25,
      "schedule_item_status": "scheduled",
      "schedule_item_date": "2017-03-11T08:00:00",
      "schedule_item_created_date": "2016-10-11T12:44:27.973",
      "schedule_item_description": "Item 4 of 12",
      "links": {
        "self": "https://api.forte.net/v3/scheduleitems/sci_fb791dad-bf14-4f6c-8fe2-8578aebfb02f"
      }
    },
    {
      "schedule_item_id": "sci_b15ea3e7-036c-4c7f-85ea-8784b1d6007e",
      "organization_id": "org_334316",
      "customer_token": "cst_h_TrrHANEU6XjmMV_EMVrA",
      "paymethod_token": "mth_3urq2yQexUmRWD3v8SOqlg",
      "schedule_id": "sch_efb0d951-3f54-40b2-8ad8-febca0131562",
      "schedule_item_amount": 25,
      "schedule_item_status": "scheduled",
      "schedule_item_date": "2017-04-11T08:00:00",
      "schedule_item_created_date": "2016-10-11T12:44:27.99",
      "schedule_item_description": "Item 5 of 12",
      "links": {
        "self": "https://api.forte.net/v3/scheduleitems/sci_b15ea3e7-036c-4c7f-85ea-8784b1d6007e"
      }
    },
    {
      "schedule_item_id": "sci_de8c07fc-ce3b-4962-8dc3-411dda568d3a",
      "organization_id": "org_334316",
      "customer_token": "cst_h_TrrHANEU6XjmMV_EMVrA",
      "paymethod_token": "mth_3urq2yQexUmRWD3v8SOqlg",
      "schedule_id": "sch_efb0d951-3f54-40b2-8ad8-febca0131562",
      "schedule_item_amount": 25,
      "schedule_item_status": "scheduled",
      "schedule_item_date": "2017-05-11T08:00:00",
      "schedule_item_created_date": "2016-10-11T12:44:28.003",
      "schedule_item_description": "Item 6 of 12",
      "links": {
        "self": "https://api.forte.net/v3/scheduleitems/sci_de8c07fc-ce3b-4962-8dc3-411dda568d3a"
      }
    },
    {
      "schedule_item_id": "sci_80805b6c-4615-4be3-9b6b-8af5b7ae1102",
      "organization_id": "org_334316",
      "customer_token": "cst_h_TrrHANEU6XjmMV_EMVrA",
      "paymethod_token": "mth_3urq2yQexUmRWD3v8SOqlg",
      "schedule_id": "sch_efb0d951-3f54-40b2-8ad8-febca0131562",
      "schedule_item_amount": 25,
      "schedule_item_status": "scheduled",
      "schedule_item_date": "2017-06-11T08:00:00",
      "schedule_item_created_date": "2016-10-11T12:44:28.003",
      "schedule_item_description": "Item 7 of 12",
      "links": {
        "self": "https://api.forte.net/v3/scheduleitems/sci_80805b6c-4615-4be3-9b6b-8af5b7ae1102"
      }
    },
    {
      "schedule_item_id": "sci_0fea5186-0f3e-433b-8220-5eb90dbff1a0",
      "organization_id": "org_334316",
      "customer_token": "cst_h_TrrHANEU6XjmMV_EMVrA",
      "paymethod_token": "mth_3urq2yQexUmRWD3v8SOqlg",
      "schedule_id": "sch_efb0d951-3f54-40b2-8ad8-febca0131562",
      "schedule_item_amount": 25,
      "schedule_item_status": "scheduled",
      "schedule_item_date": "2017-07-11T08:00:00",
      "schedule_item_created_date": "2016-10-11T12:44:28.007",
      "schedule_item_description": "Item 8 of 12",
      "links": {
        "self": "https://api.forte.net/v3/scheduleitems/sci_0fea5186-0f3e-433b-8220-5eb90dbff1a0"
      }
    },
    {
      "schedule_item_id": "sci_8e4f165d-9d61-4293-8b34-2898e9b7b0b9",
      "organization_id": "org_334316",
      "customer_token": "cst_h_TrrHANEU6XjmMV_EMVrA",
      "paymethod_token": "mth_3urq2yQexUmRWD3v8SOqlg",
      "schedule_id": "sch_efb0d951-3f54-40b2-8ad8-febca0131562",
      "schedule_item_amount": 25,
      "schedule_item_status": "scheduled",
      "schedule_item_date": "2017-08-11T08:00:00",
      "schedule_item_created_date": "2016-10-11T12:44:28.007",
      "schedule_item_description": "Item 9 of 12",
      "links": {
        "self": "https://api.forte.net/v3/scheduleitems/sci_8e4f165d-9d61-4293-8b34-2898e9b7b0b9"
      }
    },
    {
      "schedule_item_id": "sci_d731aa5d-650c-4ec0-b0ae-38efbd64e182",
      "organization_id": "org_334316",
      "customer_token": "cst_h_TrrHANEU6XjmMV_EMVrA",
      "paymethod_token": "mth_3urq2yQexUmRWD3v8SOqlg",
      "schedule_id": "sch_efb0d951-3f54-40b2-8ad8-febca0131562",
      "schedule_item_amount": 25,
      "schedule_item_status": "scheduled",
      "schedule_item_date": "2017-09-11T08:00:00",
      "schedule_item_created_date": "2016-10-11T12:44:28.01",
      "schedule_item_description": "Item 10 of 12",
      "links": {
        "self": "https://api.forte.net/v3/scheduleitems/sci_d731aa5d-650c-4ec0-b0ae-38efbd64e182"
      }
    }
  ],
  "response": {
    "environment": "live",
    "response_desc": "Get Successful."
  },
  "links": {
    "self": "https://api.forte.net/v3/scheduleitems/",
    "next": "https://api.forte.net/v3/scheduleitems/?page_index=1"
  }
}
				
			

GET All Scheduleitems for a Location

				
					{{baseURI}}/organizations/org_{{organizationID}}/locations/loc_{{locationID}}/scheduleitems/
				
			

This URI returns all scheduleitems for a Location. To narrow your search data using specific criteria, use the following parameters to filter your results:

  • customer_token
  • paymethod_token
  • schedule_id
  • schedule_item_amount
  • schedule_item_status
  • start_schedule_item_date / end_schedule_item_date
  • start_schedule_item_processed_date / end_schedule_item_processed_date
  • start_schedule_item_created_date / end_schedule_item_created_date
AUTHORIZATION Basic Auth
Username      {{apiaccessid}}
Password       {{apisecurekey}}

Example Request

				
					curl --location -g 'https://api.forte.net/v3/organizations/org_{{organizationID}}/locations/loc_{{locationID}}/scheduleitems/' \
--header 'Authorization: {{Authorization}}' \
--header 'Accept: application/json' \
--header 'X-Forte-Auth-Organization-Id: org_{{AuthOrganizationID}}' \
--data ''
				
			

Example Response

				
					{
  "number_results": 10,
  "search_criteria": {
    "page_size": 50,
    "page_index": 0,
    "home_organization_id": "org_334316",
    "resource_specific": {
      "location_id": "loc_192642"
    }
  },
  "results": [
    {
      "schedule_item_id": "sci_f7c0a527-075c-4311-9b9e-63f6380256d4",
      "organization_id": "org_334316",
      "customer_token": "cst_h_TrrHANEU6XjmMV_EMVrA",
      "paymethod_token": "mth_3urq2yQexUmRWD3v8SOqlg",
      "schedule_id": "sch_efb0d951-3f54-40b2-8ad8-febca0131562",
      "schedule_item_amount": 25,
      "schedule_item_status": "scheduled",
      "schedule_item_date": "2016-12-11T08:00:00",
      "schedule_item_created_date": "2016-10-11T12:44:27.88",
      "schedule_item_description": "Item 1 of 12",
      "links": {
        "self": "https://api.forte.net/v3/scheduleitems/sci_f7c0a527-075c-4311-9b9e-63f6380256d4"
      }
    },
    {
      "schedule_item_id": "sci_2b1f0ca8-2c7a-4c96-8b88-5bb9100f1d03",
      "organization_id": "org_334316",
      "customer_token": "cst_h_TrrHANEU6XjmMV_EMVrA",
      "paymethod_token": "mth_3urq2yQexUmRWD3v8SOqlg",
      "schedule_id": "sch_efb0d951-3f54-40b2-8ad8-febca0131562",
      "schedule_item_amount": 25,
      "schedule_item_status": "scheduled",
      "schedule_item_date": "2017-01-11T08:00:00",
      "schedule_item_created_date": "2016-10-11T12:44:27.937",
      "schedule_item_description": "Item 2 of 12",
      "links": {
        "self": "https://api.forte.net/v3/scheduleitems/sci_2b1f0ca8-2c7a-4c96-8b88-5bb9100f1d03"
      }
    },
    {
      "schedule_item_id": "sci_e5e51c9d-f0ee-43b4-9d7c-b9352a199b90",
      "organization_id": "org_334316",
      "customer_token": "cst_h_TrrHANEU6XjmMV_EMVrA",
      "paymethod_token": "mth_3urq2yQexUmRWD3v8SOqlg",
      "schedule_id": "sch_efb0d951-3f54-40b2-8ad8-febca0131562",
      "schedule_item_amount": 25,
      "schedule_item_status": "scheduled",
      "schedule_item_date": "2017-02-11T08:00:00",
      "schedule_item_created_date": "2016-10-11T12:44:27.96",
      "schedule_item_description": "Item 3 of 12",
      "links": {
        "self": "https://api.forte.net/v3/scheduleitems/sci_e5e51c9d-f0ee-43b4-9d7c-b9352a199b90"
      }
    },
    {
      "schedule_item_id": "sci_fb791dad-bf14-4f6c-8fe2-8578aebfb02f",
      "organization_id": "org_334316",
      "customer_token": "cst_h_TrrHANEU6XjmMV_EMVrA",
      "paymethod_token": "mth_3urq2yQexUmRWD3v8SOqlg",
      "schedule_id": "sch_efb0d951-3f54-40b2-8ad8-febca0131562",
      "schedule_item_amount": 25,
      "schedule_item_status": "scheduled",
      "schedule_item_date": "2017-03-11T08:00:00",
      "schedule_item_created_date": "2016-10-11T12:44:27.973",
      "schedule_item_description": "Item 4 of 12",
      "links": {
        "self": "https://api.forte.net/v3/scheduleitems/sci_fb791dad-bf14-4f6c-8fe2-8578aebfb02f"
      }
    },
    {
      "schedule_item_id": "sci_b15ea3e7-036c-4c7f-85ea-8784b1d6007e",
      "organization_id": "org_334316",
      "customer_token": "cst_h_TrrHANEU6XjmMV_EMVrA",
      "paymethod_token": "mth_3urq2yQexUmRWD3v8SOqlg",
      "schedule_id": "sch_efb0d951-3f54-40b2-8ad8-febca0131562",
      "schedule_item_amount": 25,
      "schedule_item_status": "scheduled",
      "schedule_item_date": "2017-04-11T08:00:00",
      "schedule_item_created_date": "2016-10-11T12:44:27.99",
      "schedule_item_description": "Item 5 of 12",
      "links": {
        "self": "https://api.forte.net/v3/scheduleitems/sci_b15ea3e7-036c-4c7f-85ea-8784b1d6007e"
      }
    },
    {
      "schedule_item_id": "sci_de8c07fc-ce3b-4962-8dc3-411dda568d3a",
      "organization_id": "org_334316",
      "customer_token": "cst_h_TrrHANEU6XjmMV_EMVrA",
      "paymethod_token": "mth_3urq2yQexUmRWD3v8SOqlg",
      "schedule_id": "sch_efb0d951-3f54-40b2-8ad8-febca0131562",
      "schedule_item_amount": 25,
      "schedule_item_status": "scheduled",
      "schedule_item_date": "2017-05-11T08:00:00",
      "schedule_item_created_date": "2016-10-11T12:44:28.003",
      "schedule_item_description": "Item 6 of 12",
      "links": {
        "self": "https://api.forte.net/v3/scheduleitems/sci_de8c07fc-ce3b-4962-8dc3-411dda568d3a"
      }
    },
    {
      "schedule_item_id": "sci_80805b6c-4615-4be3-9b6b-8af5b7ae1102",
      "organization_id": "org_334316",
      "customer_token": "cst_h_TrrHANEU6XjmMV_EMVrA",
      "paymethod_token": "mth_3urq2yQexUmRWD3v8SOqlg",
      "schedule_id": "sch_efb0d951-3f54-40b2-8ad8-febca0131562",
      "schedule_item_amount": 25,
      "schedule_item_status": "scheduled",
      "schedule_item_date": "2017-06-11T08:00:00",
      "schedule_item_created_date": "2016-10-11T12:44:28.003",
      "schedule_item_description": "Item 7 of 12",
      "links": {
        "self": "https://api.forte.net/v3/scheduleitems/sci_80805b6c-4615-4be3-9b6b-8af5b7ae1102"
      }
    },
    {
      "schedule_item_id": "sci_0fea5186-0f3e-433b-8220-5eb90dbff1a0",
      "organization_id": "org_334316",
      "customer_token": "cst_h_TrrHANEU6XjmMV_EMVrA",
      "paymethod_token": "mth_3urq2yQexUmRWD3v8SOqlg",
      "schedule_id": "sch_efb0d951-3f54-40b2-8ad8-febca0131562",
      "schedule_item_amount": 25,
      "schedule_item_status": "scheduled",
      "schedule_item_date": "2017-07-11T08:00:00",
      "schedule_item_created_date": "2016-10-11T12:44:28.007",
      "schedule_item_description": "Item 8 of 12",
      "links": {
        "self": "https://api.forte.net/v3/scheduleitems/sci_0fea5186-0f3e-433b-8220-5eb90dbff1a0"
      }
    },
    {
      "schedule_item_id": "sci_8e4f165d-9d61-4293-8b34-2898e9b7b0b9",
      "organization_id": "org_334316",
      "customer_token": "cst_h_TrrHANEU6XjmMV_EMVrA",
      "paymethod_token": "mth_3urq2yQexUmRWD3v8SOqlg",
      "schedule_id": "sch_efb0d951-3f54-40b2-8ad8-febca0131562",
      "schedule_item_amount": 25,
      "schedule_item_status": "scheduled",
      "schedule_item_date": "2017-08-11T08:00:00",
      "schedule_item_created_date": "2016-10-11T12:44:28.007",
      "schedule_item_description": "Item 9 of 12",
      "links": {
        "self": "https://api.forte.net/v3/scheduleitems/sci_8e4f165d-9d61-4293-8b34-2898e9b7b0b9"
      }
    },
    {
      "schedule_item_id": "sci_d731aa5d-650c-4ec0-b0ae-38efbd64e182",
      "organization_id": "org_334316",
      "customer_token": "cst_h_TrrHANEU6XjmMV_EMVrA",
      "paymethod_token": "mth_3urq2yQexUmRWD3v8SOqlg",
      "schedule_id": "sch_efb0d951-3f54-40b2-8ad8-febca0131562",
      "schedule_item_amount": 25,
      "schedule_item_status": "scheduled",
      "schedule_item_date": "2017-09-11T08:00:00",
      "schedule_item_created_date": "2016-10-11T12:44:28.01",
      "schedule_item_description": "Item 10 of 12",
      "links": {
        "self": "https://api.forte.net/v3/scheduleitems/sci_d731aa5d-650c-4ec0-b0ae-38efbd64e182"
      }
    }
  ],
  "response": {
    "environment": "live",
    "response_desc": "Get Successful."
  },
  "links": {
    "self": "https://api.forte.net/v3/scheduleitems/",
    "next": "https://api.forte.net/v3/scheduleitems/?page_index=1"
  }
}
				
			

GET All Future Scheduleitems for a Customer Token

				
					{{baseURI}}/organizations/org_{{organizationID}}/locations/loc_{{locationID}}/customers/cst_{{customertoken}}/scheduleitems?filter=schedule_item_status+eq+'scheduled'
				
			

This URI returns all future scheduleitems for a particular customer using the customer_token.

AUTHORIZATION Basic Auth
Username      {{apiaccessid}}
Password       {{apisecurekey}}
PARAMS
filter      schedule_item_status+eq+'scheduled'

Example Request

				
					curl --location -g 'https://api.forte.net/v3/organizations/org_{{organizationID}}/locations/loc_{{locationID}}/customers/cst_{{customertoken}}/scheduleitems?filter=schedule_item_status%2Beq%2B%27scheduled%27' \
--header 'Authorization: {{Authorization}}' \
--header 'Accept: application/json' \
--header 'X-Forte-Auth-Organization-Id: org_{{AuthOrganizationID}}' \
--data ''
				
			

Example Response

				
					{
  "number_results": 2,
  "search_criteria": {
    "page_size": 50,
    "page_index": 0,
    "home_organization_id": "org_300005",
    "resource_specific": {
      "location_id": "loc_124125",
      "customer_token": "cst_4cchlZjaK02XFlTEIIScYA",
      "schedule_item_status": "scheduled"
    }
  },
  "results": [
    {
      "schedule_item_id": "sci_fd527b6b-fa1e-41d9-ab2e-6aa5fd0f56f8",
      "organization_id": "org_300005",
      "customer_token": "cst_4cchlZjaK02XFlTEIIScYA",
      "paymethod_token": "mth_xEtTVUgRiEyFonyM0xtrxA",
      "schedule_id": "sch_a3db1463-af7d-4b84-93f3-a48d7cc4c96f",
      "schedule_item_amount": 5,
      "schedule_item_service_fee_amount": 2,
      "schedule_item_tax_amount": 1,
      "schedule_item_authorization_amount": 7,
      "schedule_item_status": "scheduled",
      "schedule_item_date": "2018-04-09T05:00:00",
      "schedule_item_created_date": "2018-03-26T13:41:26.38",
      "schedule_item_description": "Item 2 of 3",
      "links": {
        "self": "https://api.forte.net/v3/scheduleitems/sci_fd527b6b-fa1e-41d9-ab2e-6aa5fd0f56f8"
      }
    },
    {
      "schedule_item_id": "sci_b62006e5-0b7e-47bb-8e30-e703eda91526",
      "organization_id": "org_300005",
      "customer_token": "cst_4cchlZjaK02XFlTEIIScYA",
      "paymethod_token": "mth_xEtTVUgRiEyFonyM0xtrxA",
      "schedule_id": "sch_a3db1463-af7d-4b84-93f3-a48d7cc4c96f",
      "schedule_item_amount": 5,
      "schedule_item_service_fee_amount": 2,
      "schedule_item_tax_amount": 1,
      "schedule_item_authorization_amount": 7,
      "schedule_item_status": "scheduled",
      "schedule_item_date": "2018-04-23T05:00:00",
      "schedule_item_created_date": "2018-03-26T13:41:26.39",
      "schedule_item_description": "Item 3 of 3",
      "links": {
        "self": "https://api.forte.net/v3/scheduleitems/sci_b62006e5-0b7e-47bb-8e30-e703eda91526"
      }
    }
  ],
  "response": {
    "environment": "live",
    "response_desc": "Get Successful."
  },
  "links": {
    "self": "https://api.forte.net/v3/scheduleitems/?filter=schedule_item_status+eq+%27scheduled%27"
  }
}
				
			

GET All Future Scheduleitems for a Paymethod Token

				
					{{baseURI}}/organizations/org_{{organizationID}}/locations/loc_{{locationID}}/paymethods/mth_{{paymethodtoken}}/scheduleitems?filter=schedule_item_status+eq+'scheduled'
				
			

This URI returns all future scheduleitems for a particular paymethod using the paymethod_token.

AUTHORIZATION Basic Auth
Username      {{apiaccessid}}
Password       {{apisecurekey}}
PARAMS
filter         schedule_item_status+eq+'scheduled'

Example Request

				
					curl --location -g 'https://api.forte.net/v3/organizations/org_{{organizationID}}/locations/loc_{{locationID}}/paymethods/mth_{{paymethodtoken}}/scheduleitems?filter=schedule_item_status%2Beq%2B%27scheduled%27' \
--header 'Authorization: {{Authorization}}' \
--header 'Accept: application/json' \
--header 'X-Forte-Auth-Organization-Id: org_{{AuthOrganizationID}}' \
--data ''
				
			

Example Response

				
					{
  "number_results": 18,
  "search_criteria": {
    "page_size": 50,
    "page_index": 0,
    "home_organization_id": "org_334316",
    "resource_specific": {
      "location_id": "loc_192642",
      "paymethod_token": "mth_3urq2yQexUmRWD3v8SOqlg"
    }
  },
  "results": [
    {
      "schedule_item_id": "sci_f7c0a527-075c-4311-9b9e-63f6380256d4",
      "organization_id": "org_334316",
      "customer_token": "cst_h_TrrHANEU6XjmMV_EMVrA",
      "paymethod_token": "mth_3urq2yQexUmRWD3v8SOqlg",
      "schedule_id": "sch_efb0d951-3f54-40b2-8ad8-febca0131562",
      "schedule_item_amount": 25,
      "schedule_item_status": "scheduled",
      "schedule_item_date": "2016-12-11T08:00:00",
      "schedule_item_created_date": "2016-10-11T12:44:27.88",
      "schedule_item_description": "Item 1 of 12",
      "links": {
        "self": "https://api.forte.net/v3/scheduleitems/sci_f7c0a527-075c-4311-9b9e-63f6380256d4"
      }
    },
    {
      "schedule_item_id": "sci_2b1f0ca8-2c7a-4c96-8b88-5bb9100f1d03",
      "organization_id": "org_334316",
      "customer_token": "cst_h_TrrHANEU6XjmMV_EMVrA",
      "paymethod_token": "mth_3urq2yQexUmRWD3v8SOqlg",
      "schedule_id": "sch_efb0d951-3f54-40b2-8ad8-febca0131562",
      "schedule_item_amount": 25,
      "schedule_item_status": "scheduled",
      "schedule_item_date": "2017-01-11T08:00:00",
      "schedule_item_created_date": "2016-10-11T12:44:27.937",
      "schedule_item_description": "Item 2 of 12",
      "links": {
        "self": "https://api.forte.net/v3/scheduleitems/sci_2b1f0ca8-2c7a-4c96-8b88-5bb9100f1d03"
      }
    },
    {
      "schedule_item_id": "sci_e5e51c9d-f0ee-43b4-9d7c-b9352a199b90",
      "organization_id": "org_334316",
      "customer_token": "cst_h_TrrHANEU6XjmMV_EMVrA",
      "paymethod_token": "mth_3urq2yQexUmRWD3v8SOqlg",
      "schedule_id": "sch_efb0d951-3f54-40b2-8ad8-febca0131562",
      "schedule_item_amount": 25,
      "schedule_item_status": "scheduled",
      "schedule_item_date": "2017-02-11T08:00:00",
      "schedule_item_created_date": "2016-10-11T12:44:27.96",
      "schedule_item_description": "Item 3 of 12",
      "links": {
        "self": "https://api.forte.net/v3/scheduleitems/sci_e5e51c9d-f0ee-43b4-9d7c-b9352a199b90"
      }
    },
    {
      "schedule_item_id": "sci_fb791dad-bf14-4f6c-8fe2-8578aebfb02f",
      "organization_id": "org_334316",
      "customer_token": "cst_h_TrrHANEU6XjmMV_EMVrA",
      "paymethod_token": "mth_3urq2yQexUmRWD3v8SOqlg",
      "schedule_id": "sch_efb0d951-3f54-40b2-8ad8-febca0131562",
      "schedule_item_amount": 25,
      "schedule_item_status": "scheduled",
      "schedule_item_date": "2017-03-11T08:00:00",
      "schedule_item_created_date": "2016-10-11T12:44:27.973",
      "schedule_item_description": "Item 4 of 12",
      "links": {
        "self": "https://api.forte.net/v3/scheduleitems/sci_fb791dad-bf14-4f6c-8fe2-8578aebfb02f"
      }
    },
    {
      "schedule_item_id": "sci_b15ea3e7-036c-4c7f-85ea-8784b1d6007e",
      "organization_id": "org_334316",
      "customer_token": "cst_h_TrrHANEU6XjmMV_EMVrA",
      "paymethod_token": "mth_3urq2yQexUmRWD3v8SOqlg",
      "schedule_id": "sch_efb0d951-3f54-40b2-8ad8-febca0131562",
      "schedule_item_amount": 25,
      "schedule_item_status": "scheduled",
      "schedule_item_date": "2017-04-11T08:00:00",
      "schedule_item_created_date": "2016-10-11T12:44:27.99",
      "schedule_item_description": "Item 5 of 12",
      "links": {
        "self": "https://api.forte.net/v3/scheduleitems/sci_b15ea3e7-036c-4c7f-85ea-8784b1d6007e"
      }
    },
    {
      "schedule_item_id": "sci_de8c07fc-ce3b-4962-8dc3-411dda568d3a",
      "organization_id": "org_334316",
      "customer_token": "cst_h_TrrHANEU6XjmMV_EMVrA",
      "paymethod_token": "mth_3urq2yQexUmRWD3v8SOqlg",
      "schedule_id": "sch_efb0d951-3f54-40b2-8ad8-febca0131562",
      "schedule_item_amount": 25,
      "schedule_item_status": "scheduled",
      "schedule_item_date": "2017-05-11T08:00:00",
      "schedule_item_created_date": "2016-10-11T12:44:28.003",
      "schedule_item_description": "Item 6 of 12",
      "links": {
        "self": "https://api.forte.net/v3/scheduleitems/sci_de8c07fc-ce3b-4962-8dc3-411dda568d3a"
      }
    },
    {
      "schedule_item_id": "sci_80805b6c-4615-4be3-9b6b-8af5b7ae1102",
      "organization_id": "org_334316",
      "customer_token": "cst_h_TrrHANEU6XjmMV_EMVrA",
      "paymethod_token": "mth_3urq2yQexUmRWD3v8SOqlg",
      "schedule_id": "sch_efb0d951-3f54-40b2-8ad8-febca0131562",
      "schedule_item_amount": 25,
      "schedule_item_status": "scheduled",
      "schedule_item_date": "2017-06-11T08:00:00",
      "schedule_item_created_date": "2016-10-11T12:44:28.003",
      "schedule_item_description": "Item 7 of 12",
      "links": {
        "self": "https://api.forte.net/v3/scheduleitems/sci_80805b6c-4615-4be3-9b6b-8af5b7ae1102"
      }
    },
    {
      "schedule_item_id": "sci_0fea5186-0f3e-433b-8220-5eb90dbff1a0",
      "organization_id": "org_334316",
      "customer_token": "cst_h_TrrHANEU6XjmMV_EMVrA",
      "paymethod_token": "mth_3urq2yQexUmRWD3v8SOqlg",
      "schedule_id": "sch_efb0d951-3f54-40b2-8ad8-febca0131562",
      "schedule_item_amount": 25,
      "schedule_item_status": "scheduled",
      "schedule_item_date": "2017-07-11T08:00:00",
      "schedule_item_created_date": "2016-10-11T12:44:28.007",
      "schedule_item_description": "Item 8 of 12",
      "links": {
        "self": "https://api.forte.net/v3/scheduleitems/sci_0fea5186-0f3e-433b-8220-5eb90dbff1a0"
      }
    },
    {
      "schedule_item_id": "sci_8e4f165d-9d61-4293-8b34-2898e9b7b0b9",
      "organization_id": "org_334316",
      "customer_token": "cst_h_TrrHANEU6XjmMV_EMVrA",
      "paymethod_token": "mth_3urq2yQexUmRWD3v8SOqlg",
      "schedule_id": "sch_efb0d951-3f54-40b2-8ad8-febca0131562",
      "schedule_item_amount": 25,
      "schedule_item_status": "scheduled",
      "schedule_item_date": "2017-08-11T08:00:00",
      "schedule_item_created_date": "2016-10-11T12:44:28.007",
      "schedule_item_description": "Item 9 of 12",
      "links": {
        "self": "https://api.forte.net/v3/scheduleitems/sci_8e4f165d-9d61-4293-8b34-2898e9b7b0b9"
      }
    },
    {
      "schedule_item_id": "sci_d731aa5d-650c-4ec0-b0ae-38efbd64e182",
      "organization_id": "org_334316",
      "customer_token": "cst_h_TrrHANEU6XjmMV_EMVrA",
      "paymethod_token": "mth_3urq2yQexUmRWD3v8SOqlg",
      "schedule_id": "sch_efb0d951-3f54-40b2-8ad8-febca0131562",
      "schedule_item_amount": 25,
      "schedule_item_status": "scheduled",
      "schedule_item_date": "2017-09-11T08:00:00",
      "schedule_item_created_date": "2016-10-11T12:44:28.01",
      "schedule_item_description": "Item 10 of 12",
      "links": {
        "self": "https://api.forte.net/v3/scheduleitems/sci_d731aa5d-650c-4ec0-b0ae-38efbd64e182"
      }
    },
    {
      "schedule_item_id": "sci_ae98158b-2c74-4552-aca9-643c61e8f00d",
      "organization_id": "org_334316",
      "customer_token": "cst_h_TrrHANEU6XjmMV_EMVrA",
      "paymethod_token": "mth_3urq2yQexUmRWD3v8SOqlg",
      "schedule_id": "sch_efb0d951-3f54-40b2-8ad8-febca0131562",
      "schedule_item_amount": 25,
      "schedule_item_status": "scheduled",
      "schedule_item_date": "2017-10-11T08:00:00",
      "schedule_item_created_date": "2016-10-11T12:44:28.01",
      "schedule_item_description": "Item 11 of 12",
      "links": {
        "self": "https://api.forte.net/v3/scheduleitems/sci_ae98158b-2c74-4552-aca9-643c61e8f00d"
      }
    },
    {
      "schedule_item_id": "sci_1af98a71-cf95-4658-ab68-cd994400130a",
      "organization_id": "org_334316",
      "customer_token": "cst_h_TrrHANEU6XjmMV_EMVrA",
      "paymethod_token": "mth_3urq2yQexUmRWD3v8SOqlg",
      "schedule_id": "sch_efb0d951-3f54-40b2-8ad8-febca0131562",
      "schedule_item_amount": 25,
      "schedule_item_status": "scheduled",
      "schedule_item_date": "2017-11-11T08:00:00",
      "schedule_item_created_date": "2016-10-11T12:44:28.013",
      "schedule_item_description": "Item 12 of 12",
      "links": {
        "self": "https://api.forte.net/v3/scheduleitems/sci_1af98a71-cf95-4658-ab68-cd994400130a"
      }
    },
    {
      "schedule_item_id": "sci_441fa0ae-b5ab-46b6-abd4-01cd9db68e5e",
      "organization_id": "org_334316",
      "customer_token": "cst_h_TrrHANEU6XjmMV_EMVrA",
      "paymethod_token": "mth_3urq2yQexUmRWD3v8SOqlg",
      "schedule_id": "sch_efb0d951-3f54-40b2-8ad8-febca0131562",
      "schedule_item_amount": 100,
      "schedule_item_status": "scheduled",
      "schedule_item_date": "2016-12-21T08:00:00",
      "schedule_item_created_date": "2016-10-21T13:10:26.003",
      "schedule_item_description": "",
      "links": {
        "self": "https://api.forte.net/v3/scheduleitems/sci_441fa0ae-b5ab-46b6-abd4-01cd9db68e5e"
      }
    },
    {
      "schedule_item_id": "sci_4d6c562a-54a4-446e-abc6-97daaeb159c0",
      "organization_id": "org_334316",
      "customer_token": "cst_h_TrrHANEU6XjmMV_EMVrA",
      "paymethod_token": "mth_3urq2yQexUmRWD3v8SOqlg",
      "schedule_id": "sch_efb0d951-3f54-40b2-8ad8-febca0131562",
      "schedule_item_amount": 100,
      "schedule_item_status": "scheduled",
      "schedule_item_date": "2016-12-21T08:00:00",
      "schedule_item_created_date": "2016-11-28T12:44:32.013",
      "schedule_item_description": "",
      "links": {
        "self": "https://api.forte.net/v3/scheduleitems/sci_4d6c562a-54a4-446e-abc6-97daaeb159c0"
      }
    },
    {
      "schedule_item_id": "sci_b3d46bab-966f-4729-b37e-666b557f4347",
      "organization_id": "org_334316",
      "customer_token": "cst_h_TrrHANEU6XjmMV_EMVrA",
      "paymethod_token": "mth_3urq2yQexUmRWD3v8SOqlg",
      "schedule_id": "sch_efb0d951-3f54-40b2-8ad8-febca0131562",
      "schedule_item_amount": 100,
      "schedule_item_status": "scheduled",
      "schedule_item_date": "2016-12-21T08:00:00",
      "schedule_item_created_date": "2016-11-28T13:57:30.127",
      "schedule_item_description": "",
      "links": {
        "self": "https://api.forte.net/v3/scheduleitems/sci_b3d46bab-966f-4729-b37e-666b557f4347"
      }
    },
    {
      "schedule_item_id": "sci_2bb8953c-9564-49f9-a357-63699b31c237",
      "organization_id": "org_334316",
      "customer_token": "cst_h_TrrHANEU6XjmMV_EMVrA",
      "paymethod_token": "mth_3urq2yQexUmRWD3v8SOqlg",
      "schedule_id": "sch_efb0d951-3f54-40b2-8ad8-febca0131562",
      "schedule_item_amount": 100,
      "schedule_item_status": "scheduled",
      "schedule_item_date": "2016-12-21T08:00:00",
      "schedule_item_created_date": "2016-12-14T23:33:36.197",
      "schedule_item_description": "",
      "links": {
        "self": "https://api.forte.net/v3/scheduleitems/sci_2bb8953c-9564-49f9-a357-63699b31c237"
      }
    },
    {
      "schedule_item_id": "sci_03c0a9be-fa93-478c-afa6-ee73fe9ed7a0",
      "organization_id": "org_334316",
      "customer_token": "cst_h_TrrHANEU6XjmMV_EMVrA",
      "paymethod_token": "mth_3urq2yQexUmRWD3v8SOqlg",
      "schedule_id": "sch_efb0d951-3f54-40b2-8ad8-febca0131562",
      "schedule_item_amount": 100,
      "schedule_item_status": "scheduled",
      "schedule_item_date": "2017-12-21T08:00:00",
      "schedule_item_created_date": "2017-01-06T09:45:09.463",
      "schedule_item_description": "",
      "links": {
        "self": "https://api.forte.net/v3/scheduleitems/sci_03c0a9be-fa93-478c-afa6-ee73fe9ed7a0"
      }
    },
    {
      "schedule_item_id": "sci_19ccd5d1-f3b4-4888-b183-c62543653d21",
      "organization_id": "org_334316",
      "customer_token": "cst_h_TrrHANEU6XjmMV_EMVrA",
      "paymethod_token": "mth_3urq2yQexUmRWD3v8SOqlg",
      "schedule_id": "sch_efb0d951-3f54-40b2-8ad8-febca0131562",
      "schedule_item_amount": 100,
      "schedule_item_status": "scheduled",
      "schedule_item_date": "2017-12-21T08:00:00",
      "schedule_item_created_date": "2017-01-06T10:25:54.51",
      "schedule_item_description": "",
      "links": {
        "self": "https://api.forte.net/v3/scheduleitems/sci_19ccd5d1-f3b4-4888-b183-c62543653d21"
      }
    }
  ],
  "response": {
    "environment": "live",
    "response_desc": "Get Successful."
  },
  "links": {
    "self": "https://api.forte.net/v3/scheduleitems/"
  }
}
				
			

GET A Specific Scheduleitem

				
					{{baseURI}}/organizations/org_{{organizationID}}/scheduleitems/sci_{{scheduleitemID}}
				
			

This URI returns a specific scheduleitem using the schedule_id parameter.

AUTHORIZATION Basic Auth
Username      {{apiaccessid}}
Password       {{apisecurekey}}

Example Request

				
					curl --location -g 'https://api.forte.net/v3/organizations/org_{{organizationID}}/scheduleitems/sci_{{scheduleitemID}}' \
--header 'Authorization: {{Authorization}}' \
--header 'Accept: application/json' \
--header 'X-Forte-Auth-Organization-Id: org_{{AuthOrganizationID}}' \
--data ''
				
			

Example Response

				
					{
  "schedule_item_id": "sci_ef428d98-aaa5-42af-b63e-3ccdad88805b",
  "organization_id": "org_334316",
  "customer_token": "cst_h_TrrHANEU6XjmMV_EMVrA",
  "paymethod_token": "mth_cp459q53Q0W5wJdMG35f1w",
  "schedule_id": "sch_857eed95-b661-468c-8037-1cb63a13f23a",
  "schedule_item_amount": 25,
  "schedule_item_service_fee_amount": 0,
  "schedule_item_authorization_amount": 25,
  "schedule_item_status": "scheduled",
  "schedule_item_date": "2017-07-11T08:00:00",
  "schedule_item_created_date": "2016-11-02T13:19:59.907",
  "schedule_item_description": "Item 8 of 12",
  "response": {
    "environment": "live",
    "response_desc": "Get Successful."
  },
  "links": {
    "self": "https://api.forte.net/v3/scheduleitems/sci_ef428d98-aaa5-42af-b63e-3ccdad88805b"
  }
}
				
			

PUT Update a Scheduleitem

				
					{{baseURI}}/organizations/org_{{organizationID}}/locations/loc_{{locationID}}/scheduleitems/sci_{{scheduleitemID}}
				
			

This URI updates the specified scheduleitem. Only scheduleitems with a future date value in the schedule_item_date field and a status of scheduled or suspended in the schedule_item_status field can be updated. If the status of a scheduleitem in a continuous schedule is changed to suspended, the status of the schedule definition will also be suspendedNOTE: Updates to the schedule_item_created_date and schedule_item_processed_date are not allowed.

AUTHORIZATION Basic Auth
Username      {{apiaccessid}}
Password       {{apisecurekey}}
Body raw
				
					{
       "schedule_item_amount": 200.00
}
				
			

Example Request

				
					curl --location -g --request PUT 'https://api.forte.net/v3/organizations/org_{{organizationID}}/locations/loc_{{locationID}}/scheduleitems/sci_{{scheduleitemID}}' \
--header 'Authorization: {{Authorization}}' \
--header 'Accept: application/json' \
--header 'X-Forte-Auth-Organization-Id: org_{{AuthOrganizationID}}' \
--header 'Content-Type: application/json' \
--data '{
       "schedule_item_amount": 200.00
}'
				
			

Example Response

				
					{
  "schedule_item_id": "sci_0d2d949e-b3a9-4e6d-a9c9-db358ae49cfa",
  "location_id": "loc_192642",
  "schedule_item_amount": 200,
  "response": {
    "environment": "live",
    "response_desc": "Update Successful."
  },
  "links": {
    "self": "https://api.forte.net/v3/scheduleitems/sci_0d2d949e-b3a9-4e6d-a9c9-db358ae49cfa"
  }
}
				
			

DELETE Scheduleitem

				
					{{baseURI}}/organizations/org_{{organizationID}}/locations/loc_{{locationID}}//scheduleitems/sci_{{scheduleitemID}}
				
			

This URI deletes the specified scheduleitem. Deleting a scheduleitem will not delete the schedule definition.

AUTHORIZATION Basic Auth
Username      {{apiaccessid}}
Password       {{apisecurekey}}

Example Request

				
					curl --location -g --request DELETE 'https://api.forte.net/v3/organizations/org_{{organizationID}}/locations/loc_{{locationID}}//scheduleitems/sci_{{scheduleitemID}}' \
--header 'Authorization: {{Authorization}}' \
--header 'Accept: application/json' \
--header 'X-Forte-Auth-Organization-Id: org_{{AuthOrganizationID}}' \
--data ''
				
			

Example Response

				
					{
  "schedule_item_id": "sci_99529f2d-ffde-457c-b8a2-9cdc9a786d9d",
  "location_id": "loc_192642",
  "response": {
    "environment": "live",
    "response_desc": "Delete Successful."
  }
}
				
			

Schedules

The schedules object captures scheduled transactions for a merchant's organization or location and includes the summary sub-object. Merchants can specify a particular quantity of scheduled transactions or can set up continuous transactions that will occur until the schedule is suspended or deleted. Subscription billing enables merchants to bill customers automatically on a fixed schedule for a specific product or service. Scheduled transactions can only be created with customer_token and paymethod_token parameters.

Schedules Object

Parameter

Description

Type

Req

organization_id

The identification number of the associated organization. For example, org_5551236.

string

R

location_id

The identification number of the associated location. For example, loc_1234568.

string

R

schedule_id

A unique string used to represent a schedule. For example, sch_2e5770ae-c120-414f-ae8c-d065753567e7. [max length = 40]

string

R

customer_token

A unique string used to represent a customer. For example, cst_SoGUG6mcLUS1nVzYBIbk3g. [max length = 26]

string

R

paymethod_token

A unique string used to represent a payment method. For example, mth_1578436587. [max length = 26]

string

R

action

The supported transaction types include the following values:

sale - Creates an ad-hoc or token transaction that will settle at the end of the day
credit - Used to send funds back to the account/card holder rather than collecting funds from an account/card holder.

string

R

schedule_quantity

Indicates the quantity of transactions to perform. For continuous schedules, set the value of this field to 0. [max length = 6]

integer

R

schedule_frequency

Indicates the frequency of the scheduled transactions. The supported values for this field include the following:

one_time_future
weekly
bi_weekly
monthly
bi_monthly
semi_monthly
quarterly
semi_annually
annually

string

R

schedule_amount

Indicates the amount of each recurring transaction plus any sales taxes, shipping fees, tips or other extraneous amounts. For service fee transactions, use this parameter as the base amount for calculating a service fee. The value of this parameter depends on the value in the schedule_frequency parameter. [max length = 6]

decimal

O

schedule_service_fee_amount

The amount of the service fee (i.e., convenience fee).

decimal

O

schedule_authorization_amount

Indicates the amount of the recurring payment. For service fee transactions, this parameter is the resulting sum of the schedule_amount and the schedule_service_fee_amount values.

decimal

R

schedule_start_date

Indicates the start day of the next recurring transaction in MM/DD/YYYY format. This date can be today's date or greater. NOTE: If the merchant does not specify this value, the system defaults to today's date. [max length = 10]

datetime

R

schedule_created_date

The date the schedule was created. This parameter is return only.

datetime

--

customer_acct_code

The customer accounting code. This field only applies to credit card transactions. [max length = 17]

string

--

schedule_status

The current status of the schedule. The supported values for this field include the following:

active - The schedule is active.
suspended - The schedule is suspended.
completed - The schedule is completed

string

O

item_description

The check number or other description of the item to be processed. [max length = 50]

string

O

reference_id

A merchant-defined string that identifies the transaction. [max length = 50]

O

order_number

A merchant-assigned ID code that is returned with the transaction response. [max length = 26]

string

O

customer_id

A merchant-defined string created at the customer level to identify the customer. [max length = 15]

string

O

echeck

The eCheck Object

object

O

echeck.sec_code

The Standard Entry Class code for the transaction. This field is required for echeck transactions. Additionally, the available options for this field depend on your merchant configuration [max length = 3]

string

R

summary

The Summary Object

object

O

summary.schedule_next_amount

The amount of the next scheduled transaction that will be processed. This parameter is return only.

decimal

--

summary.schedule_next_date

The next date when a scheduled transaction will be processed. This parameter is return only.

datetime

--

summary.schedule_last_amount

The authorization amount for the last scheduled transaction that Forte processed. This parameter is return only.

decimal

--

summary.schedule_last_date

The date and timestamp when Forte processed the last scheduled transaction. This parameter is return only.

datetime

--

summary.schedule_successful_amount

The total amount of the successful transactions for this schedule. This parameter is return only.

decimal

--

summary.schedule_successful_authorization_amount

The authorization amount of the last scheduled transaction that Forte successfully processed. This parameter is return only.

decimal

--

summary.schedule_successful_quantity

The total number of successful transactions for this schedule. This parameter is return only.

integer

--

summary.schedule_failed_amount

The total amount of failed transactions for this schedule. This parameter is return only.

decimal

--

summary.schedule_failed_quantity

The total number of failed transactions for this schedule. This parameter is return only.

integer

--

summary.scheduled_remaining_amount

The total amount of the remaining transactions for this schedule. This parameter is return only.

decimal

--

summary.scheduled_remaining_quantity

The total number of the remaining transactions for this schedule. This parameter is return only.

integer

--

summary.scheduled_suspended_amount

The total amount of the suspended transactions for this schedule. This parameter is return only.

decimal

--

summary.scheduled_suspended_quantity

The total number of suspended transactions for this schedule. This parameter is return only.

integer

--

xdata

The Xdata Object

object

O

xdata.xdata_1-9

Up to nine fields (1-9) of extra data that can be associated with a schedule or transaction. Each xdata_# field can contain up to 255 characters.

string

O

POST Schedule for a Specific Customer

				
					{{baseURI}}/organizations/org_{{organizationID}}/locations/loc_{{locationID}}/customers/cst_{{customertoken}}/schedules
				
			

Creates a new schedule and returns a new unique schedule_id for the customer. NOTE: The paymethod_token parameter must be specified in the request.

AUTHORIZATION Basic Auth
Username      {{apiaccessid}}
Password       {{apisecurekey}}
Body raw
				
					{
       "action": "sale",
       "schedule_amount": 25.00,
       "schedule_quantity": 0,
       "schedule_frequency": "monthly",
       "schedule_start_date": "12/11/2018",
       "paymethod_token":"mth_cp459q53Q0W5wJdMG35f1w"
}
				
			

Example Request

				
					curl --location -g 'https://api.forte.net/v3/organizations/org_{{organizationID}}/locations/loc_{{locationID}}/customers/cst_{{customertoken}}/schedules' \
--header 'Authorization: {{Authorization}}' \
--header 'Accept: application/json' \
--header 'X-Forte-Auth-Organization-Id: org_{{AuthOrganizationID}}' \
--header 'Content-Type: application/json' \
--data '{
       "action": "sale",
       "schedule_amount": 25.00,
       "schedule_quantity": 0,
       "schedule_frequency": "monthly",
       "schedule_start_date": "12/11/2018",
       "paymethod_token":"mth_cp459q53Q0W5wJdMG35f1w"
}'
				
			

Example Response

				
					{
  "schedule_id": "sch_db092a0b-5b73-4373-ab88-4445d1164c6e",
  "location_id": "loc_192642",
  "customer_token": "cst_h_TrrHANEU6XjmMV_EMVrA",
  "paymethod_token": "mth_cp459q53Q0W5wJdMG35f1w",
  "action": "sale",
  "schedule_quantity": 0,
  "schedule_frequency": "monthly",
  "schedule_amount": 25,
  "schedule_start_date": "2018-12-11T00:00:00",
  "response": {
    "environment": "live",
    "response_desc": "Create Successful."
  },
  "links": {
    "scheduleitems": "https://api.forte.net/v3/schedules/sch_db092a0b-5b73-4373-ab88-4445d1164c6e/scheduleitems",
    "self": "https://api.forte.net/v3/schedules/sch_db092a0b-5b73-4373-ab88-4445d1164c6e"
  }
}
				
			

POST 12-Month Schedule

				
					{{baseURI}}/organizations/org_{{organizationID}}/locations/loc_{{locationID}}/schedules
				
			

Creates a new schedule and returns a new unique schedule_idNOTE: Both the customer_token and the paymethod_token parameters must be specified in the body of the request.

AUTHORIZATION Basic Auth
Username      {{apiaccessid}}
Password       {{apisecurekey}}
Body raw
				
					{
       "customer_token":"cst_h_TrrHANEU6XjmMV_EMVrA",
       "paymethod_token":"mth_cp459q53Q0W5wJdMG35f1w",
       "action": "sale",
       "schedule_quantity": "12",
       "schedule_frequency": "monthly",
       "schedule_amount": 25.00,
       "schedule_start_date": "12/11/2018",
       "reference_id":"INV-123",
       "order_number":"98762222",
       "item_description":"Car Payment",
       "xdata": {
          "xdata_1": "inv-321",
          "xdata_2": "Southern Branch"
       }
}
				
			

Example Request

				
					curl --location -g 'https://api.forte.net/v3/organizations/org_{{organizationID}}/locations/loc_{{locationID}}/schedules' \
--header 'Authorization: {{Authorization}}' \
--header 'Accept: application/json' \
--header 'X-Forte-Auth-Organization-Id: org_{{AuthOrganizationID}}' \
--header 'Content-Type: application/json' \
--data '{
       "customer_token":"cst_h_TrrHANEU6XjmMV_EMVrA",
       "paymethod_token":"mth_cp459q53Q0W5wJdMG35f1w",
       "action": "sale",
       "schedule_quantity": "12",
       "schedule_frequency": "monthly",
       "schedule_amount": 25.00,
       "schedule_start_date": "12/11/2018",
       "reference_id":"INV-123",
       "order_number":"98762222",
       "item_description":"Car Payment",
       "xdata": {
          "xdata_1": "inv-321",
          "xdata_2": "Southern Branch"
       }
}'
				
			

Example Response

				
					{
  "schedule_id": "sch_1030151f-e1d6-4959-b46c-86403fc1268d",
  "location_id": "loc_192642",
  "customer_token": "cst_h_TrrHANEU6XjmMV_EMVrA",
  "paymethod_token": "mth_cp459q53Q0W5wJdMG35f1w",
  "action": "sale",
  "schedule_quantity": 12,
  "schedule_frequency": "monthly",
  "schedule_amount": 25,
  "schedule_start_date": "2018-12-11T00:00:00",
  "item_description": "Car Payment",
  "reference_id": "INV-123",
  "order_number": "98762222",
  "xdata": {
    "xdata_1": "inv-321",
    "xdata_2": "Southern Branch"
  },
  "response": {
    "environment": "live",
    "response_desc": "Create Successful."
  },
  "links": {
    "scheduleitems": "https://api.forte.net/v3/schedules/sch_1030151f-e1d6-4959-b46c-86403fc1268d/scheduleitems",
    "self": "https://api.forte.net/v3/schedules/sch_1030151f-e1d6-4959-b46c-86403fc1268d"
  }
}
				
			

POST Weekly Schedule

				
					{{baseURI}}/organizations/org_{{organizationID}}/locations/loc_{{locationID}}/schedules/sch_{{scheduleID}}/scheduleitems/
				
			

Creates a new schedule and returns a new unique schedule_idNOTE: Both the customer_token and the paymethod_token parameters must be specified in the body of the request.

AUTHORIZATION Basic Auth
Username      {{apiaccessid}}
Password       {{apisecurekey}}
Body raw
				
					{
"action":"sale",
"customer_token":"cst_-XqiJZuQ6EmV41auwt_gyQ",
"paymethod_token":"mth_Dvphvlf4RUyJsvz9sXlVWQ",
"schedule_start_date":"2020-08-31T00:00:00",
"schedule_amount":50.00,
"schedule_frequency":"weekly",
"schedule_quantity":10,
"echeck"{
   "sec_code":"ppd",
},
"schedule_service_fee_amount":"4.00",
"schedule_authorization_amount":"54.00"
}
				
			

Example Request

				
					curl --location -g 'https://api.forte.net/v3/organizations/org_{{organizationID}}/locations/loc_{{locationID}}/schedules' \
--header 'Authorization: {{Authorization}}' \
--header 'Accept: application/json' \
--header 'X-Forte-Auth-Organization-Id: org_{{AuthOrganizationID}}' \
--header 'Content-Type: application/json' \
--data '{
"action":"sale",
"customer_token":"cst_-XqiJZuQ6EmV41auwt_gyQ",
"paymethod_token":"mth_Dvphvlf4RUyJsvz9sXlVWQ",
"schedule_start_date":"2020-08-31T00:00:00",
"schedule_amount":50.00,
"schedule_frequency":"weekly",
"schedule_quantity":10,
"echeck"{
   "sec_code":"ppd",
},
"schedule_service_fee_amount":"4.00",
"schedule_authorization_amount":"54.00"
}'
				
			

Example Response

				
					{
  "schedule_id": "sch_3e9c3c0c-9d1e-4fb4-bf94-a46aedb428a1",
  "location_id": "loc_115161",
  "customer_token": "cst_-XqiJZuQ6EmV41auwt_gyQ",
  "paymethod_token": "mth_Dvphvlf4RUyJsvz9sXlVWQ",
  "action": "sale",
  "schedule_quantity": 10,
  "schedule_frequency": "weekly",
  "schedule_amount": 50,
  "schedule_service_fee_amount": 4,
  "schedule_authorization_amount": 54,
  "schedule_start_date": "2020-08-31T00:00:00",
  "echeck": {
    "sec_code": "ppd"
  },
  "response": {
    "environment": "live",
    "response_desc": "Create Successful."
  },
  "links": {
    "scheduleitems": "https://api.forte.net/v3/schedules/sch_3e9c3c0c-9d1e-4fb4-bf94-a46aedb428a1/scheduleitems",
    "self": "https://api.forte.net/v3/schedules/sch_3e9c3c0c-9d1e-4fb4-bf94-a46aedb428a1/"
  }
}
				
			

POST One-Time Future Schedule

				
					{{baseURI}}/organizations/org_{{organizationID}}/locations/loc_{{locationID}}/schedules
				
			

Creates a new schedule and returns a new unique schedule_idNOTE: Both the customer_token and the paymethod_token parameters must be specified in the body of the request.

AUTHORIZATION Basic Auth
Username      {{apiaccessid}}
Password       {{apisecurekey}}
Body raw
				
					{
       "customer_token": "cst_h_TrrHANEU6XjmMV_EMVrA",
       "paymethod_token": "mth_cp459q53Q0W5wJdMG35f1w",
       "action": "sale",
       "schedule_frequency": "one_time_future",
       "schedule_amount": 25.00,
       "schedule_start_date": "12/11/2018",
       "reference_id":"INV-123",
       "order_number":"98762222",
       "item_description":"DeLorean Payment",
       "xdata": {
          "xdata_1": "inv-321",
          "xdata_2": "Southern Branch"
       }
}
				
			

Example Request

				
					curl --location -g 'https://api.forte.net/v3/organizations/org_{{organizationID}}/locations/loc_{{locationID}}/schedules' \
--header 'Authorization: {{Authorization}}' \
--header 'Accept: application/json' \
--header 'X-Forte-Auth-Organization-Id: org_{{AuthOrganizationID}}' \
--header 'Content-Type: application/json' \
--data '{
       "customer_token": "cst_h_TrrHANEU6XjmMV_EMVrA",
       "paymethod_token": "mth_cp459q53Q0W5wJdMG35f1w",
       "action": "sale",
       "schedule_frequency": "one_time_future",
       "schedule_amount": 25.00,
       "schedule_start_date": "12/11/2018",
       "reference_id":"INV-123",
       "order_number":"98762222",
       "item_description":"DeLorean Payment",
       "xdata": {
          "xdata_1": "inv-321",
          "xdata_2": "Southern Branch"
       }
}'
				
			

Example Response

				
					{
  "schedule_id": "sch_1321a0e7-4dc4-4d0d-beae-9d595fe4d79f",
  "location_id": "loc_192642",
  "customer_token": "cst_h_TrrHANEU6XjmMV_EMVrA",
  "paymethod_token": "mth_cp459q53Q0W5wJdMG35f1w",
  "action": "sale",
  "schedule_quantity": 1,
  "schedule_frequency": "one_time_future",
  "schedule_amount": 25,
  "schedule_start_date": "2018-12-11T00:00:00",
  "item_description": "DeLorean Payment",
  "reference_id": "INV-123",
  "order_number": "98762222",
  "xdata": {
    "xdata_1": "inv-321",
    "xdata_2": "Southern Branch"
  },
  "response": {
    "environment": "live",
    "response_desc": "Create Successful."
  },
  "links": {
    "scheduleitems": "https://api.forte.net/v3/schedules/sch_1321a0e7-4dc4-4d0d-beae-9d595fe4d79f/scheduleitems",
    "self": "https://api.forte.net/v3/schedules/sch_1321a0e7-4dc4-4d0d-beae-9d595fe4d79f"
  }
}
				
			

POST Continuous Schedule

				
					{{baseURI}}/organizations/org_{{organizationID}}/locations/loc_{{locationID}}/schedules
				
			

Creates a new schedule and returns a new unique schedule_idNOTE: Both the customer_token and paymethod_token parameters must be specified in the request.

AUTHORIZATION Basic Auth
Username      {{apiaccessid}}
Password       {{apisecurekey}}
Body raw
				
					{
       "action": "sale",
       "schedule_amount": 25.00,
       "schedule_quantity": 0,
       "schedule_frequency": "monthly",
       "schedule_start_date": "12/11/2018",
       "paymethod_token":"mth_cp459q53Q0W5wJdMG35f1w"
}
				
			

Example Request

				
					curl --location -g 'https://api.forte.net/v3/organizations/org_{{organizationID}}/locations/loc_{{locationID}}/schedules' \
--header 'Authorization: {{Authorization}}' \
--header 'Accept: application/json' \
--header 'X-Forte-Auth-Organization-Id: org_{{AuthOrganizationID}}' \
--header 'Content-Type: application/json' \
--data '{
       "action": "sale",
       "schedule_amount": 25.00,
       "schedule_quantity": 0,
       "schedule_frequency": "monthly",
       "schedule_start_date": "12/11/2018",
       "paymethod_token":"mth_cp459q53Q0W5wJdMG35f1w"
}'
				
			

Example Response

				
					{
  "schedule_id": "sch_a8df462d-b282-467c-8d4e-a18b96a9e1e6",
  "location_id": "loc_192642",
  "customer_token": "cst_h_TrrHANEU6XjmMV_EMVrA",
  "paymethod_token": "mth_cp459q53Q0W5wJdMG35f1w",
  "action": "sale",
  "schedule_quantity": 0,
  "schedule_frequency": "monthly",
  "schedule_amount": 25,
  "schedule_start_date": "2018-12-11T00:00:00",
  "response": {
    "environment": "live",
    "response_desc": "Create Successful."
  },
  "links": {
    "scheduleitems": "https://api.forte.net/v3/schedules/sch_a8df462d-b282-467c-8d4e-a18b96a9e1e6/scheduleitems",
    "self": "https://api.forte.net/v3/schedules/sch_a8df462d-b282-467c-8d4e-a18b96a9e1e6"
  }
}
				
			

GET All Schedules for a Location

				
					{{baseURI}}/organizations/org_{{organizationID}}/locations/loc_{{locationID}}/schedules
				
			

This URI returns all schedules created for a location. To narrow your search data using specific criteria, use the following parameters to filter your results:

  • schedule_id
  • customer_token
  • paymethod_token
  • action
  • schedule_quantity
  • schedule_frequency
  • schedule_status
  • schedule_amount
  • start_schedule_created_date / end_schedule_created_date
  • start_schedule_start_date / end_schedule_start_date
AUTHORIZATION Basic Auth
Username      {{apiaccessid}}
Password       {{apisecurekey}}

Example Request

				
					curl --location -g 'https://api.forte.net/v3/organizations/org_{{organization}}/locations/loc_{{location}}/schedules' \
--header 'Authorization: {{Authorization}}' \
--header 'Accept: application/json' \
--header 'X-Forte-Auth-Organization-Id: org_{{AuthOrganizationID}}'
				
			

Example Response

				
					{
  "number_results": 8,
  "search_criteria": {
    "page_size": 50,
    "page_index": 0,
    "home_organization_id": "org_334316",
    "resource_specific": {
      "location_id": "loc_192642"
    }
  },
  "results": [
    {
      "schedule_id": "sch_81f2bff7-11e2-4cd8-b451-07c317edbd7b",
      "location_id": "loc_192642",
      "customer_token": "cst_h_TrrHANEU6XjmMV_EMVrA",
      "paymethod_token": "mth_cp459q53Q0W5wJdMG35f1w",
      "action": "sale",
      "schedule_quantity": 12,
      "schedule_frequency": "monthly",
      "schedule_amount": 25,
      "schedule_created_date": "2017-09-08T09:07:19.52",
      "schedule_start_date": "2018-12-11T08:00:00",
      "schedule_status": "active",
      "item_description": "Car Payment",
      "reference_id": "INV-123",
      "order_number": "98762222",
      "schedule_summary": {
        "schedule_next_amount": 25,
        "schedule_next_date": "2018-12-11T08:00:00",
        "schedule_last_amount": 25,
        "schedule_last_date": "2019-11-11T08:00:00",
        "schedule_successful_amount": 0,
        "schedule_successful_authorization_amount": 0,
        "schedule_successful_quantity": 0,
        "schedule_failed_amount": 0,
        "schedule_failed_quantity": 0,
        "schedule_remaining_amount": 300,
        "schedule_remaining_quantity": 12,
        "schedule_suspended_amount": 0,
        "schedule_suspended_quantity": 0
      },
      "xdata": {
        "xdata_1": "inv-321",
        "xdata_2": "Southern Branch"
      },
      "links": {
        "scheduleitems": "https://api.forte.net/v3/schedules/sch_81f2bff7-11e2-4cd8-b451-07c317edbd7b/scheduleitems",
        "self": "https://api.forte.net/v3/schedules/sch_81f2bff7-11e2-4cd8-b451-07c317edbd7b"
      }
    },
    {
      "schedule_id": "sch_319a6b29-3afe-46d3-b540-08e64f2bbebf",
      "location_id": "loc_192642",
      "customer_token": "cst_h_TrrHANEU6XjmMV_EMVrA",
      "paymethod_token": "mth_cp459q53Q0W5wJdMG35f1w",
      "action": "sale",
      "schedule_quantity": 1,
      "schedule_frequency": "one_time_future",
      "schedule_amount": 25,
      "schedule_created_date": "2017-09-08T09:08:38.76",
      "schedule_start_date": "2018-12-11T08:00:00",
      "schedule_status": "active",
      "item_description": "DeLorean Paymen",
      "reference_id": "INV-123",
      "order_number": "98762222",
      "schedule_summary": {
        "schedule_next_amount": 25,
        "schedule_next_date": "2018-12-11T08:00:00",
        "schedule_last_amount": 25,
        "schedule_last_date": "2018-12-11T08:00:00",
        "schedule_successful_amount": 0,
        "schedule_successful_authorization_amount": 0,
        "schedule_successful_quantity": 0,
        "schedule_failed_amount": 0,
        "schedule_failed_quantity": 0,
        "schedule_remaining_amount": 25,
        "schedule_remaining_quantity": 1,
        "schedule_suspended_amount": 0,
        "schedule_suspended_quantity": 0
      },
      "xdata": {
        "xdata_1": "inv-321",
        "xdata_2": "Southern Branch"
      },
      "links": {
        "scheduleitems": "https://api.forte.net/v3/schedules/sch_319a6b29-3afe-46d3-b540-08e64f2bbebf/scheduleitems",
        "self": "https://api.forte.net/v3/schedules/sch_319a6b29-3afe-46d3-b540-08e64f2bbebf"
      }
    },
    {
      "schedule_id": "sch_dfac49a5-dbee-4c47-9a9c-0ce3d253b260",
      "location_id": "loc_192642",
      "customer_token": "cst_h_TrrHANEU6XjmMV_EMVrA",
      "paymethod_token": "mth_cp459q53Q0W5wJdMG35f1w",
      "action": "sale",
      "schedule_quantity": 1,
      "schedule_frequency": "one_time_future",
      "schedule_amount": 25,
      "schedule_created_date": "2017-09-08T09:07:52.343",
      "schedule_start_date": "2018-12-11T08:00:00",
      "schedule_status": "active",
      "item_description": "DeLorean Paymen",
      "reference_id": "INV-123",
      "order_number": "98762222",
      "schedule_summary": {
        "schedule_next_amount": 25,
        "schedule_next_date": "2018-12-11T08:00:00",
        "schedule_last_amount": 25,
        "schedule_last_date": "2018-12-11T08:00:00",
        "schedule_successful_amount": 0,
        "schedule_successful_authorization_amount": 0,
        "schedule_successful_quantity": 0,
        "schedule_failed_amount": 0,
        "schedule_failed_quantity": 0,
        "schedule_remaining_amount": 25,
        "schedule_remaining_quantity": 1,
        "schedule_suspended_amount": 0,
        "schedule_suspended_quantity": 0
      },
      "xdata": {
        "xdata_1": "inv-321",
        "xdata_2": "Southern Branch"
      },
      "links": {
        "scheduleitems": "https://api.forte.net/v3/schedules/sch_dfac49a5-dbee-4c47-9a9c-0ce3d253b260/scheduleitems",
        "self": "https://api.forte.net/v3/schedules/sch_dfac49a5-dbee-4c47-9a9c-0ce3d253b260"
      }
    },
    {
      "schedule_id": "sch_857eed95-b661-468c-8037-1cb63a13f23a",
      "location_id": "loc_192642",
      "customer_token": "cst_h_TrrHANEU6XjmMV_EMVrA",
      "paymethod_token": "mth_cp459q53Q0W5wJdMG35f1w",
      "action": "sale",
      "schedule_quantity": 12,
      "schedule_frequency": "monthly",
      "schedule_amount": 25,
      "schedule_created_date": "2016-11-02T13:19:59.783",
      "schedule_start_date": "2016-12-11T08:00:00",
      "schedule_status": "active",
      "item_description": "Car Payment",
      "reference_id": "INV-123",
      "order_number": "98762222",
      "schedule_summary": {
        "schedule_next_amount": 25,
        "schedule_next_date": "2016-12-11T08:00:00",
        "schedule_last_amount": 100,
        "schedule_last_date": "2018-12-21T08:00:00",
        "schedule_successful_amount": 0,
        "schedule_successful_authorization_amount": 0,
        "schedule_successful_quantity": 0,
        "schedule_failed_amount": 0,
        "schedule_failed_quantity": 0,
        "schedule_remaining_amount": 400,
        "schedule_remaining_quantity": 13,
        "schedule_suspended_amount": 0,
        "schedule_suspended_quantity": 0
      },
      "xdata": {
        "xdata_1": "inv-321",
        "xdata_2": "Southern Branch"
      },
      "links": {
        "scheduleitems": "https://api.forte.net/v3/schedules/sch_857eed95-b661-468c-8037-1cb63a13f23a/scheduleitems",
        "self": "https://api.forte.net/v3/schedules/sch_857eed95-b661-468c-8037-1cb63a13f23a"
      }
    },
    {
      "schedule_id": "sch_17490fc3-927f-4ed3-9981-2f6d309a7758",
      "location_id": "loc_192642",
      "customer_token": "cst_h_TrrHANEU6XjmMV_EMVrA",
      "paymethod_token": "mth_cp459q53Q0W5wJdMG35f1w",
      "action": "sale",
      "schedule_quantity": 0,
      "schedule_frequency": "monthly",
      "schedule_amount": 25,
      "schedule_created_date": "2017-02-02T09:29:17.94",
      "schedule_start_date": "2017-02-02T08:00:00",
      "schedule_status": "active",
      "schedule_summary": {
        "schedule_successful_amount": 0,
        "schedule_successful_authorization_amount": 0,
        "schedule_successful_quantity": 0,
        "schedule_failed_amount": 0,
        "schedule_failed_quantity": 0,
        "schedule_remaining_amount": 25,
        "schedule_remaining_quantity": 1,
        "schedule_suspended_amount": 0,
        "schedule_suspended_quantity": 0
      },
      "links": {
        "scheduleitems": "https://api.forte.net/v3/schedules/sch_17490fc3-927f-4ed3-9981-2f6d309a7758/scheduleitems",
        "self": "https://api.forte.net/v3/schedules/sch_17490fc3-927f-4ed3-9981-2f6d309a7758"
      }
    },
    {
      "schedule_id": "sch_b171d771-d055-433e-b402-3e6146d781e5",
      "location_id": "loc_192642",
      "customer_token": "cst_h_TrrHANEU6XjmMV_EMVrA",
      "paymethod_token": "mth_cp459q53Q0W5wJdMG35f1w",
      "action": "sale",
      "schedule_quantity": 0,
      "schedule_frequency": "monthly",
      "schedule_amount": 25,
      "schedule_created_date": "2017-08-08T18:54:09.15",
      "schedule_start_date": "2017-08-11T07:00:00",
      "schedule_status": "active",
      "schedule_summary": {
        "schedule_successful_amount": 0,
        "schedule_successful_authorization_amount": 0,
        "schedule_successful_quantity": 0,
        "schedule_failed_amount": 0,
        "schedule_failed_quantity": 0,
        "schedule_remaining_amount": 25,
        "schedule_remaining_quantity": 1,
        "schedule_suspended_amount": 0,
        "schedule_suspended_quantity": 0
      },
      "links": {
        "scheduleitems": "https://api.forte.net/v3/schedules/sch_b171d771-d055-433e-b402-3e6146d781e5/scheduleitems",
        "self": "https://api.forte.net/v3/schedules/sch_b171d771-d055-433e-b402-3e6146d781e5"
      }
    },
    {
      "schedule_id": "sch_ce7b86ea-7510-444e-bd46-431c8d175b7e",
      "location_id": "loc_192642",
      "customer_token": "cst_h_TrrHANEU6XjmMV_EMVrA",
      "paymethod_token": "mth_cp459q53Q0W5wJdMG35f1w",
      "action": "sale",
      "schedule_quantity": 12,
      "schedule_frequency": "monthly",
      "schedule_amount": 25,
      "schedule_created_date": "2017-09-08T09:04:15.227",
      "schedule_start_date": "2018-12-11T08:00:00",
      "schedule_status": "active",
      "item_description": "Car Payment",
      "reference_id": "INV-123",
      "order_number": "98762222",
      "schedule_summary": {
        "schedule_next_amount": 25,
        "schedule_next_date": "2018-12-11T08:00:00",
        "schedule_last_amount": 25,
        "schedule_last_date": "2019-11-11T08:00:00",
        "schedule_successful_amount": 0,
        "schedule_successful_authorization_amount": 0,
        "schedule_successful_quantity": 0,
        "schedule_failed_amount": 0,
        "schedule_failed_quantity": 0,
        "schedule_remaining_amount": 400,
        "schedule_remaining_quantity": 13,
        "schedule_suspended_amount": 0,
        "schedule_suspended_quantity": 0
      },
      "xdata": {
        "xdata_1": "inv-321",
        "xdata_2": "Southern Branch"
      },
      "links": {
        "scheduleitems": "https://api.forte.net/v3/schedules/sch_ce7b86ea-7510-444e-bd46-431c8d175b7e/scheduleitems",
        "self": "https://api.forte.net/v3/schedules/sch_ce7b86ea-7510-444e-bd46-431c8d175b7e"
      }
    },
    {
      "schedule_id": "sch_8fcd5fc7-d674-4f33-b490-4d01e92c96bb",
      "location_id": "loc_192642",
      "customer_token": "cst_h_TrrHANEU6XjmMV_EMVrA",
      "paymethod_token": "mth_cp459q53Q0W5wJdMG35f1w",
      "action": "sale",
      "schedule_quantity": 12,
      "schedule_frequency": "monthly",
      "schedule_amount": 25,
      "schedule_created_date": "2017-09-08T08:58:54.97",
      "schedule_start_date": "2018-01-01T08:00:00",
      "schedule_status": "active",
      "item_description": "Car Payment",
      "reference_id": "INV-123",
      "order_number": "98762222",
      "schedule_summary": {
        "schedule_next_amount": 25,
        "schedule_next_date": "2018-01-01T08:00:00",
        "schedule_last_amount": 25,
        "schedule_last_date": "2018-12-01T08:00:00",
        "schedule_successful_amount": 0,
        "schedule_successful_authorization_amount": 0,
        "schedule_successful_quantity": 0,
        "schedule_failed_amount": 0,
        "schedule_failed_quantity": 0,
        "schedule_remaining_amount": 300,
        "schedule_remaining_quantity": 12,
        "schedule_suspended_amount": 0,
        "schedule_suspended_quantity": 0
      },
      "xdata": {
        "xdata_1": "inv-321",
        "xdata_2": "Southern Branch"
      },
      "links": {
        "scheduleitems": "https://api.forte.net/v3/schedules/sch_8fcd5fc7-d674-4f33-b490-4d01e92c96bb/scheduleitems",
        "self": "https://api.forte.net/v3/schedules/sch_8fcd5fc7-d674-4f33-b490-4d01e92c96bb"
      }
    }
  ],
  "response": {
    "environment": "live",
    "response_desc": "Get Successful."
  },
  "links": {
    "self": "https://api.forte.net/v3/schedules/"
  }
}
				
			

GET All Schedules for a Customer

				
					{{baseURI}}/organizations/org_{{organizationID}}/locations/loc_{{locationID}}/customers/cst_{{customertoken}}/schedules
				
			

This URI returns all schedules associated with a particular customer_token.

AUTHORIZATION Basic Auth
Username      {{apiaccessid}}
Password       {{apisecurekey}}

Example Request

				
					curl --location -g 'https://api.forte.net/v3 /v3/organizations/org_{{organization}}/locations/loc_{{location}}/customers/cst_{{customer_token}}' \
--header 'Authorization: {{Authorization}}' \
--header 'Accept: application/json' \
--header 'X-Forte-Auth-Organization-Id: org_{{AuthOrganizationID}}'
				
			

Example Response

				
					{
  "number_results": 10,
  "search_criteria": {
    "page_size": 50,
    "page_index": 0,
    "home_organization_id": "org_334316",
    "resource_specific": {
      "location_id": "loc_192642",
      "customer_token": "cst_h_TrrHANEU6XjmMV_EMVrA"
    }
  },
  "results": [
    {
      "schedule_id": "sch_81f2bff7-11e2-4cd8-b451-07c317edbd7b",
      "location_id": "loc_192642",
      "customer_token": "cst_h_TrrHANEU6XjmMV_EMVrA",
      "paymethod_token": "mth_cp459q53Q0W5wJdMG35f1w",
      "action": "sale",
      "schedule_quantity": 12,
      "schedule_frequency": "monthly",
      "schedule_amount": 25,
      "schedule_created_date": "2017-09-08T09:07:19.52",
      "schedule_start_date": "2018-12-11T08:00:00",
      "schedule_status": "active",
      "item_description": "Car Payment",
      "reference_id": "INV-123",
      "order_number": "98762222",
      "schedule_summary": {
        "schedule_next_amount": 25,
        "schedule_next_date": "2018-12-11T08:00:00",
        "schedule_last_amount": 25,
        "schedule_last_date": "2019-11-11T08:00:00",
        "schedule_successful_amount": 0,
        "schedule_successful_authorization_amount": 0,
        "schedule_successful_quantity": 0,
        "schedule_failed_amount": 0,
        "schedule_failed_quantity": 0,
        "schedule_remaining_amount": 300,
        "schedule_remaining_quantity": 12,
        "schedule_suspended_amount": 0,
        "schedule_suspended_quantity": 0
      },
      "xdata": {
        "xdata_1": "inv-321",
        "xdata_2": "Southern Branch"
      },
      "links": {
        "scheduleitems": "https://api.forte.net/v3/schedules/sch_81f2bff7-11e2-4cd8-b451-07c317edbd7b/scheduleitems",
        "self": "https://api.forte.net/v3/schedules/sch_81f2bff7-11e2-4cd8-b451-07c317edbd7b"
      }
    },
    {
      "schedule_id": "sch_319a6b29-3afe-46d3-b540-08e64f2bbebf",
      "location_id": "loc_192642",
      "customer_token": "cst_h_TrrHANEU6XjmMV_EMVrA",
      "paymethod_token": "mth_cp459q53Q0W5wJdMG35f1w",
      "action": "sale",
      "schedule_quantity": 1,
      "schedule_frequency": "one_time_future",
      "schedule_amount": 25,
      "schedule_created_date": "2017-09-08T09:08:38.76",
      "schedule_start_date": "2018-12-11T08:00:00",
      "schedule_status": "active",
      "item_description": "DeLorean Paymen",
      "reference_id": "INV-123",
      "order_number": "98762222",
      "schedule_summary": {
        "schedule_next_amount": 25,
        "schedule_next_date": "2018-12-11T08:00:00",
        "schedule_last_amount": 25,
        "schedule_last_date": "2018-12-11T08:00:00",
        "schedule_successful_amount": 0,
        "schedule_successful_authorization_amount": 0,
        "schedule_successful_quantity": 0,
        "schedule_failed_amount": 0,
        "schedule_failed_quantity": 0,
        "schedule_remaining_amount": 25,
        "schedule_remaining_quantity": 1,
        "schedule_suspended_amount": 0,
        "schedule_suspended_quantity": 0
      },
      "xdata": {
        "xdata_1": "inv-321",
        "xdata_2": "Southern Branch"
      },
      "links": {
        "scheduleitems": "https://api.forte.net/v3/schedules/sch_319a6b29-3afe-46d3-b540-08e64f2bbebf/scheduleitems",
        "self": "https://api.forte.net/v3/schedules/sch_319a6b29-3afe-46d3-b540-08e64f2bbebf"
      }
    },
    {
      "schedule_id": "sch_dfac49a5-dbee-4c47-9a9c-0ce3d253b260",
      "location_id": "loc_192642",
      "customer_token": "cst_h_TrrHANEU6XjmMV_EMVrA",
      "paymethod_token": "mth_cp459q53Q0W5wJdMG35f1w",
      "action": "sale",
      "schedule_quantity": 1,
      "schedule_frequency": "one_time_future",
      "schedule_amount": 25,
      "schedule_created_date": "2017-09-08T09:07:52.343",
      "schedule_start_date": "2018-12-11T08:00:00",
      "schedule_status": "active",
      "item_description": "DeLorean Paymen",
      "reference_id": "INV-123",
      "order_number": "98762222",
      "schedule_summary": {
        "schedule_next_amount": 25,
        "schedule_next_date": "2018-12-11T08:00:00",
        "schedule_last_amount": 25,
        "schedule_last_date": "2018-12-11T08:00:00",
        "schedule_successful_amount": 0,
        "schedule_successful_authorization_amount": 0,
        "schedule_successful_quantity": 0,
        "schedule_failed_amount": 0,
        "schedule_failed_quantity": 0,
        "schedule_remaining_amount": 25,
        "schedule_remaining_quantity": 1,
        "schedule_suspended_amount": 0,
        "schedule_suspended_quantity": 0
      },
      "xdata": {
        "xdata_1": "inv-321",
        "xdata_2": "Southern Branch"
      },
      "links": {
        "scheduleitems": "https://api.forte.net/v3/schedules/sch_dfac49a5-dbee-4c47-9a9c-0ce3d253b260/scheduleitems",
        "self": "https://api.forte.net/v3/schedules/sch_dfac49a5-dbee-4c47-9a9c-0ce3d253b260"
      }
    },
    {
      "schedule_id": "sch_857eed95-b661-468c-8037-1cb63a13f23a",
      "location_id": "loc_192642",
      "customer_token": "cst_h_TrrHANEU6XjmMV_EMVrA",
      "paymethod_token": "mth_cp459q53Q0W5wJdMG35f1w",
      "action": "sale",
      "schedule_quantity": 12,
      "schedule_frequency": "monthly",
      "schedule_amount": 25,
      "schedule_created_date": "2016-11-02T13:19:59.783",
      "schedule_start_date": "2016-12-11T08:00:00",
      "schedule_status": "active",
      "item_description": "Car Payment",
      "reference_id": "INV-123",
      "order_number": "98762222",
      "schedule_summary": {
        "schedule_next_amount": 25,
        "schedule_next_date": "2016-12-11T08:00:00",
        "schedule_last_amount": 100,
        "schedule_last_date": "2018-12-21T08:00:00",
        "schedule_successful_amount": 0,
        "schedule_successful_authorization_amount": 0,
        "schedule_successful_quantity": 0,
        "schedule_failed_amount": 0,
        "schedule_failed_quantity": 0,
        "schedule_remaining_amount": 400,
        "schedule_remaining_quantity": 13,
        "schedule_suspended_amount": 0,
        "schedule_suspended_quantity": 0
      },
      "xdata": {
        "xdata_1": "inv-321",
        "xdata_2": "Southern Branch"
      },
      "links": {
        "scheduleitems": "https://api.forte.net/v3/schedules/sch_857eed95-b661-468c-8037-1cb63a13f23a/scheduleitems",
        "self": "https://api.forte.net/v3/schedules/sch_857eed95-b661-468c-8037-1cb63a13f23a"
      }
    },
    {
      "schedule_id": "sch_17490fc3-927f-4ed3-9981-2f6d309a7758",
      "location_id": "loc_192642",
      "customer_token": "cst_h_TrrHANEU6XjmMV_EMVrA",
      "paymethod_token": "mth_cp459q53Q0W5wJdMG35f1w",
      "action": "sale",
      "schedule_quantity": 0,
      "schedule_frequency": "monthly",
      "schedule_amount": 25,
      "schedule_created_date": "2017-02-02T09:29:17.94",
      "schedule_start_date": "2017-02-02T08:00:00",
      "schedule_status": "active",
      "schedule_summary": {
        "schedule_successful_amount": 0,
        "schedule_successful_authorization_amount": 0,
        "schedule_successful_quantity": 0,
        "schedule_failed_amount": 0,
        "schedule_failed_quantity": 0,
        "schedule_remaining_amount": 25,
        "schedule_remaining_quantity": 1,
        "schedule_suspended_amount": 0,
        "schedule_suspended_quantity": 0
      },
      "links": {
        "scheduleitems": "https://api.forte.net/v3/schedules/sch_17490fc3-927f-4ed3-9981-2f6d309a7758/scheduleitems",
        "self": "https://api.forte.net/v3/schedules/sch_17490fc3-927f-4ed3-9981-2f6d309a7758"
      }
    },
    {
      "schedule_id": "sch_b171d771-d055-433e-b402-3e6146d781e5",
      "location_id": "loc_192642",
      "customer_token": "cst_h_TrrHANEU6XjmMV_EMVrA",
      "paymethod_token": "mth_cp459q53Q0W5wJdMG35f1w",
      "action": "sale",
      "schedule_quantity": 0,
      "schedule_frequency": "monthly",
      "schedule_amount": 25,
      "schedule_created_date": "2017-08-08T18:54:09.15",
      "schedule_start_date": "2017-08-11T07:00:00",
      "schedule_status": "active",
      "schedule_summary": {
        "schedule_successful_amount": 0,
        "schedule_successful_authorization_amount": 0,
        "schedule_successful_quantity": 0,
        "schedule_failed_amount": 0,
        "schedule_failed_quantity": 0,
        "schedule_remaining_amount": 25,
        "schedule_remaining_quantity": 1,
        "schedule_suspended_amount": 0,
        "schedule_suspended_quantity": 0
      },
      "links": {
        "scheduleitems": "https://api.forte.net/v3/schedules/sch_b171d771-d055-433e-b402-3e6146d781e5/scheduleitems",
        "self": "https://api.forte.net/v3/schedules/sch_b171d771-d055-433e-b402-3e6146d781e5"
      }
    },
    {
      "schedule_id": "sch_ce7b86ea-7510-444e-bd46-431c8d175b7e",
      "location_id": "loc_192642",
      "customer_token": "cst_h_TrrHANEU6XjmMV_EMVrA",
      "paymethod_token": "mth_cp459q53Q0W5wJdMG35f1w",
      "action": "sale",
      "schedule_quantity": 12,
      "schedule_frequency": "monthly",
      "schedule_amount": 25,
      "schedule_created_date": "2017-09-08T09:04:15.227",
      "schedule_start_date": "2018-12-11T08:00:00",
      "schedule_status": "active",
      "item_description": "Car Payment",
      "reference_id": "INV-123",
      "order_number": "98762222",
      "schedule_summary": {
        "schedule_next_amount": 25,
        "schedule_next_date": "2018-12-11T08:00:00",
        "schedule_last_amount": 25,
        "schedule_last_date": "2019-11-11T08:00:00",
        "schedule_successful_amount": 0,
        "schedule_successful_authorization_amount": 0,
        "schedule_successful_quantity": 0,
        "schedule_failed_amount": 0,
        "schedule_failed_quantity": 0,
        "schedule_remaining_amount": 400,
        "schedule_remaining_quantity": 13,
        "schedule_suspended_amount": 0,
        "schedule_suspended_quantity": 0
      },
      "xdata": {
        "xdata_1": "inv-321",
        "xdata_2": "Southern Branch"
      },
      "links": {
        "scheduleitems": "https://api.forte.net/v3/schedules/sch_ce7b86ea-7510-444e-bd46-431c8d175b7e/scheduleitems",
        "self": "https://api.forte.net/v3/schedules/sch_ce7b86ea-7510-444e-bd46-431c8d175b7e"
      }
    },
    {
      "schedule_id": "sch_8fcd5fc7-d674-4f33-b490-4d01e92c96bb",
      "location_id": "loc_192642",
      "customer_token": "cst_h_TrrHANEU6XjmMV_EMVrA",
      "paymethod_token": "mth_cp459q53Q0W5wJdMG35f1w",
      "action": "sale",
      "schedule_quantity": 12,
      "schedule_frequency": "monthly",
      "schedule_amount": 25,
      "schedule_created_date": "2017-09-08T08:58:54.97",
      "schedule_start_date": "2018-01-01T08:00:00",
      "schedule_status": "active",
      "item_description": "Car Payment",
      "reference_id": "INV-123",
      "order_number": "98762222",
      "schedule_summary": {
        "schedule_next_amount": 25,
        "schedule_next_date": "2018-01-01T08:00:00",
        "schedule_last_amount": 25,
        "schedule_last_date": "2018-12-01T08:00:00",
        "schedule_successful_amount": 0,
        "schedule_successful_authorization_amount": 0,
        "schedule_successful_quantity": 0,
        "schedule_failed_amount": 0,
        "schedule_failed_quantity": 0,
        "schedule_remaining_amount": 300,
        "schedule_remaining_quantity": 12,
        "schedule_suspended_amount": 0,
        "schedule_suspended_quantity": 0
      },
      "xdata": {
        "xdata_1": "inv-321",
        "xdata_2": "Southern Branch"
      },
      "links": {
        "scheduleitems": "https://api.forte.net/v3/schedules/sch_8fcd5fc7-d674-4f33-b490-4d01e92c96bb/scheduleitems",
        "self": "https://api.forte.net/v3/schedules/sch_8fcd5fc7-d674-4f33-b490-4d01e92c96bb"
      }
    },
    {
      "schedule_id": "sch_9a74e2a8-a182-40ef-89c1-4e38b9667206",
      "location_id": "loc_192642",
      "customer_token": "cst_h_TrrHANEU6XjmMV_EMVrA",
      "paymethod_token": "mth_cp459q53Q0W5wJdMG35f1w",
      "action": "sale",
      "schedule_quantity": 0,
      "schedule_frequency": "monthly",
      "schedule_amount": 25,
      "schedule_created_date": "2016-11-03T06:38:50.857",
      "schedule_start_date": "2016-12-11T08:00:00",
      "schedule_status": "active",
      "schedule_summary": {
        "schedule_successful_amount": 0,
        "schedule_successful_authorization_amount": 0,
        "schedule_successful_quantity": 0,
        "schedule_failed_amount": 0,
        "schedule_failed_quantity": 0,
        "schedule_remaining_amount": 25,
        "schedule_remaining_quantity": 1,
        "schedule_suspended_amount": 0,
        "schedule_suspended_quantity": 0
      },
      "links": {
        "scheduleitems": "https://api.forte.net/v3/schedules/sch_9a74e2a8-a182-40ef-89c1-4e38b9667206/scheduleitems",
        "self": "https://api.forte.net/v3/schedules/sch_9a74e2a8-a182-40ef-89c1-4e38b9667206"
      }
    },
    {
      "schedule_id": "sch_2ed98062-18c0-4d1b-9f84-4f25f07b498c",
      "location_id": "loc_192642",
      "customer_token": "cst_h_TrrHANEU6XjmMV_EMVrA",
      "paymethod_token": "mth_cp459q53Q0W5wJdMG35f1w",
      "action": "sale",
      "schedule_quantity": 0,
      "schedule_frequency": "monthly",
      "schedule_amount": 25,
      "schedule_created_date": "2016-11-17T12:00:29.913",
      "schedule_start_date": "2016-12-11T08:00:00",
      "schedule_status": "active",
      "schedule_summary": {
        "schedule_successful_amount": 0,
        "schedule_successful_authorization_amount": 0,
        "schedule_successful_quantity": 0,
        "schedule_failed_amount": 0,
        "schedule_failed_quantity": 0,
        "schedule_remaining_amount": 25,
        "schedule_remaining_quantity": 1,
        "schedule_suspended_amount": 0,
        "schedule_suspended_quantity": 0
      },
      "links": {
        "scheduleitems": "https://api.forte.net/v3/schedules/sch_2ed98062-18c0-4d1b-9f84-4f25f07b498c/scheduleitems",
        "self": "https://api.forte.net/v3/schedules/sch_2ed98062-18c0-4d1b-9f84-4f25f07b498c"
      }
    }
  ],
  "response": {
    "environment": "live",
    "response_desc": "Get Successful."
  },
  "links": {
    "self": "https://api.forte.net/v3/schedules/"
  }
}
				
			

GET A Specific Schedule

				
					{{baseURI}}/organizations/org_{{organizationID}}/locations/loc_{{locationID}}/schedules/sch_{{scheduleID}}
				
			

This URI returns a deleted schedule based on the schedule_id parameter and the schedule_status=deleted filter. The schedule detailed data that Forte returns includes schedule summary data that can be used to quickly find useful information about that schedule.

AUTHORIZATION Basic Auth
Username      {{apiaccessid}}
Password       {{apisecurekey}}

Example Request

				
					curl --location -g 'https://api.forte.net/v3/v3/organizations/org_{{organization}}/locations/loc_{{location}}/schedules/sch_{{scheduleID}}' \
--header 'Authorization: {{Authorization}}' \
--header 'Accept: application/json' \
--header 'X-Forte-Auth-Organization-Id: org_{{AuthOrganizationID}}'
				
			

Example Response

				
					curl --location -g 'https://api.forte.net/v3/v3/organizations/org_{{organization}}/locations/loc_{{location}}/schedules/sch_{{scheduleID}}' \
--header 'Authorization: {{Authorization}}' \
--header 'Accept: application/json' \
--header 'X-Forte-Auth-Organization-Id: org_{{AuthOrganizationID}}'
				
			

GET A Deleted Schedule

				
					{{baseURI}}/organizations/org_{{organizationID}}/locations/loc_{{locationID}}/schedules/sch_{{scheduleID}}/?filter=schedule_status+eq+deleted
				
			

This URI returns a deleted schedule based on the schedule_id parameter and the schedule_status=deleted filter. The schedule detailed data that Forte returns includes schedule summary data that can be used to quickly find useful information about that schedule.

AUTHORIZATION Basic Auth
Username      {{apiaccessid}}
Password       {{apisecurekey}}
PARAMS
filter         schedule_status+eq+deleted

Example Request

				
					curl --location -g 'https://api.forte.net/v3/v3/organizations/org_{{organization}}/locations/loc_{{location}}/schedules/sch_{{scheduleID}}/?filter=schedule_status%2Beq%2Bdeleted' \
--header 'Authorization: {{Authorization}}' \
--header 'Accept: application/json' \
--header 'X-Forte-Auth-Organization-Id: org_{{AuthOrganizationID}}'
				
			

Example Response

				
					{
  "schedule_id": "sch_1611b4f8-527d-4bed-a4ff-f862e8ee1967",
  "location_id": "loc_115161",
  "customer_token": "cst_dNqILAxf7UaB5L3STrzkDw",
  "paymethod_token": "mth_d5vwLQlxbkSkaMRfNZJGWA",
  "action": "sale",
  "schedule_quantity": 0,
  "schedule_frequency": "weekly",
  "schedule_amount": 1.38,
  "schedule_service_fee_amount": 0,
  "schedule_authorization_amount": 1.38,
  "schedule_created_date": "2020-04-20T13:43:46.22",
  "schedule_start_date": "2020-04-20T20:43:30.817",
  "schedule_status": "deleted",
  "sec_code": "ppd",
  "schedule_summary": {
    "schedule_successful_amount": 0,
    "schedule_successful_authorization_amount": 0,
    "schedule_successful_quantity": 0,
    "schedule_failed_amount": 0,
    "schedule_failed_authorization_amount": 0,
    "schedule_failed_quantity": 0,
    "schedule_remaining_amount": 0,
    "schedule_remaining_authorization_amount": 0,
    "schedule_remaining_quantity": 0,
    "schedule_suspended_amount": 0,
    "schedule_suspended_authorization_amount": 0,
    "schedule_suspended_quantity": 0
  },
  "xdata": {
    "xdata_1": "data1",
    "xdata_2": "data2",
    "xdata_3": "data3",
    "xdata_4": "data4"
  },
  "response": {
    "environment": "live",
    "response_desc": "Get Successful."
  },
  "links": {
    "scheduleitems": "https://api.forte.net/v3/schedules/sch_1611b4f8-527d-4bed-a4ff-f862e8ee1967/scheduleitems",
    "self": "https://api.forte.net/v3/schedules/sch_1611b4f8-527d-4bed-a4ff-f862e8ee1967/"
  }
}
				
			

PUT Update a Schedule's Status

				
					{{baseURI}}/organizations/org_{{organizationID}}/locations/loc_{{locationID}}/schedules/sch_{{scheduleID}}
				
			

Updates the status of the schedule definition. When you reactivate a suspended schedule, its scheduleitems dated at least one day in the future are automatically reactivated as well.

AUTHORIZATION Basic Auth
Username      {{apiaccessid}}
Password       {{apisecurekey}}
Body raw
				
					{
       "schedule_status": "suspended"
}
				
			

Example Request

				
					curl --location -g --request PUT 'https://api.forte.net/v3/organizations/org_{{organizationID}}/locations/loc_{{locationID}}/schedules/sch_{{scheduleID}}' \
--header 'Authorization: {{Authorization}}' \
--header 'Accept: application/json' \
--header 'X-Forte-Auth-Organization-Id: org_{{AuthOrganizationID}}' \
--header 'Content-Type: application/json' \
--data '{
       "schedule_status": "suspended"
}'
				
			

Example Response

				
					{
  "schedule_id": "sch_e2a47594-51fe-4ea1-b137-345cf9cca87b",
  "location_id": "loc_192642",
  "schedule_status": "suspended",
  "response": {
    "environment": "live",
    "response_desc": "Update Successful."
  },
  "links": {
    "scheduleitems": "https://api.forte.net/v3/schedules/sch_e2a47594-51fe-4ea1-b137-345cf9cca87b/scheduleitems",
    "self": "https://api.forte.net/v3/schedules/sch_e2a47594-51fe-4ea1-b137-345cf9cca87b"
  }
}
				
			

PUT Update a Schedule's Paymethod Token

				
					{{baseURI}}/organizations/org_{{organizationID}}/locations/loc_{{locationID}}/schedules/sch_{{scheduleID}}
				
			

Updates the paymethod token of the schedule definition.

AUTHORIZATION Basic Auth
Username      {{apiaccessid}}
Password       {{apisecurekey}}
Body raw
				
					{
       "paymethod_token":"mth_3urq2yQexUmRWD3v8SOqlg"
}
				
			

Example Request

				
					curl --location -g --request PUT 'https://api.forte.net/v3/organizations/org_{{organizationID}}/locations/loc_{{locationID}}/schedules/sch_{{scheduleID}}' \
--header 'Authorization: {{Authorization}}' \
--header 'Accept: application/json' \
--header 'X-Forte-Auth-Organization-Id: org_{{AuthOrganizationID}}' \
--header 'Content-Type: application/json' \
--data '{
       "paymethod_token":"mth_3urq2yQexUmRWD3v8SOqlg"
}'
				
			

Example Response

				
					{
  "schedule_id": "sch_e2a47594-51fe-4ea1-b137-345cf9cca87b",
  "location_id": "loc_192642",
  "paymethod_token": "mth_3urq2yQexUmRWD3v8SOqlg",
  "response": {
    "environment": "live",
    "response_desc": "Update Successful."
  },
  "links": {
    "scheduleitems": "https://api.forte.net/v3/schedules/sch_e2a47594-51fe-4ea1-b137-345cf9cca87b/scheduleitems",
    "self": "https://api.forte.net/v3/schedules/sch_e2a47594-51fe-4ea1-b137-345cf9cca87b"
  }
}
				
			

DELETE Schedule

				
					{{baseURI}}/organizations/org_{{organizationID}}/locations/loc_{{locationID}}/schedules/sch_{{scheduleID}}
				
			

This URI deletes the schedule associated with the provided schedule_id.

AUTHORIZATION Basic Auth
Username      {{apiaccessid}}
Password       {{apisecurekey}}

Example Request

				
					curl --location -g --request DELETE 'https://api.forte.net/v3/organizations/org_{{organizationID}}/locations/loc_{{locationID}}/schedules/sch_{{scheduleID}}' \
--header 'Authorization: {{Authorization}}' \
--header 'Accept: application/json' \
--header 'X-Forte-Auth-Organization-Id: org_{{AuthOrganizationID}}' \
--data ''
				
			

Example Response

				
					{
  "schedule_id": "sch_84037b43-844b-4110-a5ba-5d5a547a4e60",
  "location_id": "loc_192642",
  "response": {
    "environment": "live",
    "response_desc": "Delete Successful."
  }
}
				
			

Settlements

The settlements object captures the status of transaction(s) associated with a merchant location. GET requests to this endpoint can be filtered according to settlement date, response, and method.

Settlements Object

Parameter

Description

Type

Req

organization_id

The identification number of the associated organization. For example, org_5551236.

string

R

location_id

The identification number of the associated location. For example, loc_1234568.

string

R

funding_id

A unique string used to represent a funding entry. For example, fnd_ACH-0226-173C5. [max length = 20]

string

--

customer_token

A unique string used to represent a customer. For example, cst_SoGUG6mcLUS1nVzYBIbk3g. [max length = 26]

string

--

customer_id

A merchant-defined string created at the customer level to identify the customer. [max length = 15]

string

--

order_number

A merchant-defined string. [max length = 50]

string

--

reference_id

A merchant-defined string that identifies the transaction. [max length = 50]

string

--

settle_id

The settlement ID of the settled transaction (e.g., stl_51cf4633-1767-484f-8784-be76a4076791). [max length = 40]

string

R

transaction_id

A 36-character code that uniquely identifies the transaction.

string

--

settle_batch_id

The ID of the credit card settlement batch, which the merchant can use to reconcile credit card bank deposits. This parameter is view-only and only for credit card transactions.

string

--

settle_date

The date when the transaction was settled. This parameter is return only.

datetime

--

settle_type

The type of settlement. Supported settlement types include the following values. For echeck transactions:


- deposit - A deposit to the merchant's bank account or a payment received
- reject - An ACH return such as Non-Sufficient Funds or Account Closed. There is no corresponding funding on the merchant's bank account.
- withdrawal - A withdrawal from the merchant's bank account such as a credit transaction or a transaction that was funded and then unfunded (such as an R10 return).


For credit card transactions:


- deposit - A deposit to the merchant's bank account or a payment received
- withdrawal - A withdrawal from the merchant's bank account such as a credit transaction or a transaction that was funded and then unfunded, e.g., a credit card chargeback


This parameter is return only.

string

--

settle_response_code

See the Response Codes table for more information. This parameter is return only. NOTE: Credit card transactions that do not return a settle response can be considered settled.

object

O

settle_amount

The amount the transaction settled for. This parameter is return only.

decimal

--

method

The payment method. This parameter is return only. The supported payment methods include the following values:


- echeck
- cc

string

--

GET All Settlements from a Location

				
					{{baseURI}}/organizations/org_{{organizationID}}/locations/loc_{{locationID}}/settlements/
				
			

This URI returns all the transaction settlements for a Location. To narrow your search data using specific criteria, use the following parameters to filter your results:

  • customer_token
  • transaction_id
  • customer_id
  • order_number
  • reference_id
  • start_settle_date / end_settle_date
  • settle_response_code
  • method

NOTES:

  • All date filter parameters are time aware.
  • If the start_settle_date and end_settle_date filters are not passed in via the body of the requst, the query automatically uses a default date range of 90 days. If you do not pass in any date filters, the system automatically uses the current date and the previous 90 days.
AUTHORIZATION Basic Auth
Username      {{apiaccessid}}
Password       {{apisecurekey}}

Example Request

				
					curl --location -g 'https://api.forte.net/v3/organizations/org_{{organizationID}}/locations/loc_{{locationID}}/settlements/' \
--header 'Authorization: {{Authorization}}' \
--header 'Accept: application/json' \
--header 'X-Forte-Auth-Organization-Id: org_{{AuthOrganizationID}}' \
--data ''
				
			

Example Response

				
					{
  "number_results": 13,
  "search_criteria": {
    "page_size": 50,
    "page_index": 0,
    "home_organization_id": "org_334316",
    "resource_specific": {
      "location_id": "loc_192642",
      "start_settle_date": "2016-10-01T00:00:00",
      "end_settle_date": "2016-10-31T00:00:00"
    }
  },
  "results": [
    {
      "settle_id": "stl_f90ce5f6-3990-4384-bfd5-13dbc63dc895",
      "organization_id": "org_334316",
      "location_id": "loc_192642",
      "transaction_id": "trn_05169f58-241f-45b0-a335-3569d4a4e13e",
      "settle_batch_id": "123123123",
      "settle_date": "2016-10-11T22:00:00",
      "settle_type": "deposit",
      "settle_response_code": "A01",
      "settle_amount": 102.45,
      "method": "cc",
      "links": {
        "self": "https://api.forte.net/v3//settlements/stl_f90ce5f6-3990-4384-bfd5-13dbc63dc895"
      }
    },
    {
      "settle_id": "stl_a2c3dcf6-0c0f-4bfc-9bdf-266ce0e475e6",
      "organization_id": "org_334316",
      "location_id": "loc_192642",
      "transaction_id": "trn_0da1b367-b2fc-4a8d-bf0c-6e17f9cfcade",
      "settle_batch_id": "123123123",
      "settle_date": "2016-10-17T08:55:22.333",
      "settle_type": "reject",
      "settle_response_code": "R49",
      "settle_amount": 0,
      "method": "echeck",
      "links": {
        "self": "https://api.forte.net/v3/settlements/stl_a2c3dcf6-0c0f-4bfc-9bdf-266ce0e475e6"
      }
    },
    {
      "settle_id": "stl_45a168b1-2c14-4250-85b5-2bb306956489",
      "organization_id": "org_334316",
      "location_id": "loc_192642",
      "transaction_id": "trn_0ebbc660-80a2-4a20-a610-11e2f205f742",
      "settle_batch_id": "123123123",
      "settle_date": "2016-10-11T22:00:00",
      "settle_type": "withdrawal",
      "settle_response_code": "A01",
      "settle_amount": -1,
      "method": "cc",
      "links": {
        "self": "https://api.forte.net/v3/settlements/stl_45a168b1-2c14-4250-85b5-2bb306956489"
      }
    },
    {
      "settle_id": "stl_0e48f734-630e-4738-a990-2f1ba62d4614",
      "organization_id": "org_334316",
      "location_id": "loc_192642",
      "transaction_id": "trn_eb64304c-6fbe-43db-9316-fdff1ef1a16a",
      "settle_batch_id": "123123123",
      "settle_date": "2016-10-11T22:00:00",
      "settle_type": "deposit",
      "settle_response_code": "A01",
      "settle_amount": 45698.45,
      "method": "cc",
      "links": {
        "self": "https://api.forte.net/v3/settlements/stl_0e48f734-630e-4738-a990-2f1ba62d4614"
      }
    },
    {
      "settle_id": "stl_dc1aad35-409c-416d-b267-31be430d2401",
      "organization_id": "org_334316",
      "location_id": "loc_192642",
      "transaction_id": "trn_dc0a2890-688f-4dc7-872b-820f23835dbd",
      "settle_batch_id": "123123123",
      "settle_date": "2016-10-11T22:00:00",
      "settle_type": "deposit",
      "settle_response_code": "A01",
      "settle_amount": 1500.45,
      "method": "cc",
      "links": {
        "self": "https://api.forte.net/v3/settlements/stl_dc1aad35-409c-416d-b267-31be430d2401"
      }
    },
    {
      "settle_id": "stl_db452945-8866-40d5-8625-4d67fe7c0f2f",
      "organization_id": "org_334316",
      "location_id": "loc_192642",
      "transaction_id": "trn_8d888da5-67b1-42ee-a211-3111fe916718",
      "settle_batch_id": "123123123",
      "settle_date": "2016-10-11T22:00:00",
      "settle_type": "deposit",
      "settle_response_code": "A01",
      "settle_amount": 1103.45,
      "method": "cc",
      "links": {
        "self": "https://api.forte.net/v3/settlements/stl_db452945-8866-40d5-8625-4d67fe7c0f2f"
      }
    },
    {
      "settle_id": "stl_051849e9-d104-4fd7-a5b6-61f5c4183d65",
      "organization_id": "org_334316",
      "location_id": "loc_192642",
      "transaction_id": "trn_173d67bb-0b30-47de-a82c-d8bb4429f84e",
      "settle_batch_id": "123123123",
      "settle_date": "2016-10-17T08:54:40.443",
      "settle_type": "reject",
      "settle_response_code": "R52",
      "settle_amount": 0,
      "method": "echeck",
      "links": {
        "self": "https://api.forte.net/v3/settlements/stl_051849e9-d104-4fd7-a5b6-61f5c4183d65"
      }
    },
    {
      "settle_id": "stl_d66ca0ff-8ba3-48d8-9f20-8a4db3b74236",
      "organization_id": "org_334316",
      "location_id": "loc_192642",
      "transaction_id": "trn_77aada8a-b324-4e1b-bdcf-2c3c4f8110ac",
      "customer_id": "customer ID",
      "order_number": "2925432",
      "reference_id": "inv-232",
      "settle_batch_id": "123123123",
      "settle_date": "2016-10-11T22:00:00",
      "settle_type": "deposit",
      "settle_response_code": "A01",
      "settle_amount": 1,
      "method": "cc",
      "links": {
        "self": "https://api.forte.net/v3/settlements/stl_d66ca0ff-8ba3-48d8-9f20-8a4db3b74236"
      }
    },
    {
      "settle_id": "stl_515761cb-7a78-4de3-aadb-9038a570cf57",
      "organization_id": "org_334316",
      "location_id": "loc_192642",
      "transaction_id": "trn_e3beac6d-c421-430c-9ce8-96873d938c9b",
      "customer_id": "customer ID",
      "order_number": "2925432",
      "reference_id": "inv-232",
      "settle_batch_id": "123123123",
      "settle_date": "2016-10-17T09:20:11.947",
      "settle_type": "deposit",
      "settle_response_code": "S01",
      "settle_amount": 1,
      "method": "echeck",
      "links": {
        "self": "https://api.forte.net/v3/settlements/stl_515761cb-7a78-4de3-aadb-9038a570cf57"
      }
    },
    {
      "settle_id": "stl_17024769-b2a8-4e5e-9000-b27ff90e5518",
      "organization_id": "org_334316",
      "location_id": "loc_192642",
      "transaction_id": "trn_a514ebde-cf90-4152-b67c-083ec78823a8",
      "settle_batch_id": "123123123",
      "settle_date": "2016-10-17T09:44:06.9",
      "settle_response_code": "A01",
      "method": "echeck",
      "links": {
        "self": "https://api.forte.net/v3/settlements/stl_17024769-b2a8-4e5e-9000-b27ff90e5518"
      }
    },
    {
      "settle_id": "stl_edce2138-ce1f-4c12-828c-d603fb8bcfde",
      "organization_id": "org_334316",
      "location_id": "loc_192642",
      "transaction_id": "trn_69106bd2-ed33-45c2-9bfc-7f3b57b50dfe",
      "settle_batch_id": "123123123",
      "settle_date": "2016-10-17T08:53:57.643",
      "settle_type": "reject",
      "settle_response_code": "R52",
      "settle_amount": 0,
      "method": "echeck",
      "links": {
        "self": "https://api.forte.net/v3/settlements/stl_edce2138-ce1f-4c12-828c-d603fb8bcfde"
      }
    },
    {
      "settle_id": "stl_60e00b41-7dce-41f3-bc25-e9857cb5295d",
      "organization_id": "org_334316",
      "location_id": "loc_192642",
      "transaction_id": "trn_67de8503-6723-44d4-ac05-72607dca3d67",
      "settle_batch_id": "123123123",
      "settle_date": "2016-10-17T08:54:46.893",
      "settle_type": "reject",
      "settle_response_code": "R52",
      "settle_amount": 0,
      "method": "echeck",
      "links": {
        "self": "https://api.forte.net/v3/settlements/stl_60e00b41-7dce-41f3-bc25-e9857cb5295d"
      }
    },
    {
      "settle_id": "stl_42ccb5cb-0c0b-466a-ae04-fcb76803f03a",
      "organization_id": "org_334316",
      "location_id": "loc_192642",
      "transaction_id": "trn_69009c9f-2fb4-4634-ad43-fd5acde6010c",
      "settle_batch_id": "123123123",
      "settle_date": "2016-10-11T22:00:00",
      "settle_type": "deposit",
      "settle_response_code": "A01",
      "settle_amount": 102.45,
      "method": "cc",
      "links": {
        "self": "https://api.forte.net/v3/settlements/stl_42ccb5cb-0c0b-466a-ae04-fcb76803f03a"
      }
    }
  ],
  "response": {
    "environment": "live",
    "response_desc": "Get Successful."
  },
  "links": {
    "self": "https://api.forte.net/v3/settlements/?filter=start_settle_date+eq+%272016-10-01%27+AND+end_settle_date+eq+%272016-10-31%27"
  }
}
				
			

GET Settlements from a Specific Data Range

				
					{{baseURI}}/organizations/org_{{organizationID}}/locations/loc_{{locationID}}/schedules
				
			

This URI returns all the transaction settlements for a Location within a specific date range.

Note: Please note that sending a request at the partner (org) level may result in a large data set and may cause timeout errors depending on the request. We recommend sending your GET request at the Merchant (Organization) level.

AUTHORIZATION Basic Auth
Username      {{apiaccessid}}
Password       {{apisecurekey}}
PARAMS
filter           start_settle_date+eq+%272016-10-01%27+AND+end_settle_date+eq+%272016-10-31%27

Example Request

				
					curl --location -g 'https://api.forte.net/v3/organizations/org_{{organizationID}}/locations/loc_{{locationID}}/settlements/?filter=start_settle_date%2Beq%2B%25272016-10-01%2527%2BAND%2Bend_settle_date%2Beq%2B%25272016-10-31%2527' \
--header 'Authorization: {{Authorization}}' \
--header 'Accept: application/json' \
--header 'X-Forte-Auth-Organization-Id: org_{{AuthOrganizationID}}' \
--data ''
				
			

Example Response

				
					{
  "number_results": 13,
  "search_criteria": {
    "page_size": 50,
    "page_index": 0,
    "home_organization_id": "org_334316",
    "resource_specific": {
      "location_id": "loc_192642",
      "start_settle_date": "2016-10-01T00:00:00",
      "end_settle_date": "2016-10-31T00:00:00"
    }
  },
  "results": [
    {
      "settle_id": "stl_f90ce5f6-3990-4384-bfd5-13dbc63dc895",
      "organization_id": "org_334316",
      "location_id": "loc_192642",
      "transaction_id": "trn_05169f58-241f-45b0-a335-3569d4a4e13e",
      "settle_batch_id": "123123123",
      "settle_date": "2016-10-11T22:00:00",
      "settle_type": "deposit",
      "settle_response_code": "A01",
      "settle_amount": 102.45,
      "method": "cc",
      "links": {
        "self": "https://api.forte.net/v3/settlements/stl_f90ce5f6-3990-4384-bfd5-13dbc63dc895"
      }
    },
    {
      "settle_id": "stl_a2c3dcf6-0c0f-4bfc-9bdf-266ce0e475e6",
      "organization_id": "org_334316",
      "location_id": "loc_192642",
      "transaction_id": "trn_0da1b367-b2fc-4a8d-bf0c-6e17f9cfcade",
      "settle_batch_id": "123123123",
      "settle_date": "2016-10-17T08:55:22.333",
      "settle_type": "reject",
      "settle_response_code": "R49",
      "settle_amount": 0,
      "method": "echeck",
      "links": {
        "self": "https://api.forte.net/v3/settlements/stl_a2c3dcf6-0c0f-4bfc-9bdf-266ce0e475e6"
      }
    },
    {
      "settle_id": "stl_45a168b1-2c14-4250-85b5-2bb306956489",
      "organization_id": "org_334316",
      "location_id": "loc_192642",
      "transaction_id": "trn_0ebbc660-80a2-4a20-a610-11e2f205f742",
      "settle_batch_id": "123123123",
      "settle_date": "2016-10-11T22:00:00",
      "settle_type": "withdrawal",
      "settle_response_code": "A01",
      "settle_amount": -1,
      "method": "cc",
      "links": {
        "self": "https://api.forte.net/v3/settlements/stl_45a168b1-2c14-4250-85b5-2bb306956489"
      }
    },
    {
      "settle_id": "stl_0e48f734-630e-4738-a990-2f1ba62d4614",
      "organization_id": "org_334316",
      "location_id": "loc_192642",
      "transaction_id": "trn_eb64304c-6fbe-43db-9316-fdff1ef1a16a",
      "settle_batch_id": "123123123",
      "settle_date": "2016-10-11T22:00:00",
      "settle_type": "deposit",
      "settle_response_code": "A01",
      "settle_amount": 45698.45,
      "method": "cc",
      "links": {
        "self": "https://api.forte.net/v3/settlements/stl_0e48f734-630e-4738-a990-2f1ba62d4614"
      }
    },
    {
      "settle_id": "stl_dc1aad35-409c-416d-b267-31be430d2401",
      "organization_id": "org_334316",
      "location_id": "loc_192642",
      "transaction_id": "trn_dc0a2890-688f-4dc7-872b-820f23835dbd",
      "settle_batch_id": "123123123",
      "settle_date": "2016-10-11T22:00:00",
      "settle_type": "deposit",
      "settle_response_code": "A01",
      "settle_amount": 1500.45,
      "method": "cc",
      "links": {
        "self": "https://api.forte.net/v3/settlements/stl_dc1aad35-409c-416d-b267-31be430d2401"
      }
    },
    {
      "settle_id": "stl_db452945-8866-40d5-8625-4d67fe7c0f2f",
      "organization_id": "org_334316",
      "location_id": "loc_192642",
      "transaction_id": "trn_8d888da5-67b1-42ee-a211-3111fe916718",
      "settle_batch_id": "123123123",
      "settle_date": "2016-10-11T22:00:00",
      "settle_type": "deposit",
      "settle_response_code": "A01",
      "settle_amount": 1103.45,
      "method": "cc",
      "links": {
        "self": "https://api.forte.net/v3/settlements/stl_db452945-8866-40d5-8625-4d67fe7c0f2f"
      }
    },
    {
      "settle_id": "stl_051849e9-d104-4fd7-a5b6-61f5c4183d65",
      "organization_id": "org_334316",
      "location_id": "loc_192642",
      "transaction_id": "trn_173d67bb-0b30-47de-a82c-d8bb4429f84e",
      "settle_batch_id": "123123123",
      "settle_date": "2016-10-17T08:54:40.443",
      "settle_type": "reject",
      "settle_response_code": "R52",
      "settle_amount": 0,
      "method": "echeck",
      "links": {
        "self": "https://api.forte.net/v3/settlements/stl_051849e9-d104-4fd7-a5b6-61f5c4183d65"
      }
    },
    {
      "settle_id": "stl_d66ca0ff-8ba3-48d8-9f20-8a4db3b74236",
      "organization_id": "org_334316",
      "location_id": "loc_192642",
      "transaction_id": "trn_77aada8a-b324-4e1b-bdcf-2c3c4f8110ac",
      "customer_id": "customer ID",
      "order_number": "2925432",
      "reference_id": "inv-232",
      "settle_batch_id": "123123123",
      "settle_date": "2016-10-11T22:00:00",
      "settle_type": "deposit",
      "settle_response_code": "A01",
      "settle_amount": 1,
      "method": "cc",
      "links": {
        "self": "https://api.forte.net/v3/settlements/stl_d66ca0ff-8ba3-48d8-9f20-8a4db3b74236"
      }
    },
    {
      "settle_id": "stl_515761cb-7a78-4de3-aadb-9038a570cf57",
      "organization_id": "org_334316",
      "location_id": "loc_192642",
      "transaction_id": "trn_e3beac6d-c421-430c-9ce8-96873d938c9b",
      "customer_id": "customer ID",
      "order_number": "2925432",
      "reference_id": "inv-232",
      "settle_batch_id": "123123123",
      "settle_date": "2016-10-17T09:20:11.947",
      "settle_type": "deposit",
      "settle_response_code": "S01",
      "settle_amount": 1,
      "method": "echeck",
      "links": {
        "self": "https://api.forte.net/v3/settlements/stl_515761cb-7a78-4de3-aadb-9038a570cf57"
      }
    },
    {
      "settle_id": "stl_17024769-b2a8-4e5e-9000-b27ff90e5518",
      "organization_id": "org_334316",
      "location_id": "loc_192642",
      "transaction_id": "trn_a514ebde-cf90-4152-b67c-083ec78823a8",
      "settle_batch_id": "123123123",
      "settle_date": "2016-10-17T09:44:06.9",
      "settle_response_code": "A01",
      "method": "echeck",
      "links": {
        "self": "https://api.forte.net/v3/settlements/stl_17024769-b2a8-4e5e-9000-b27ff90e5518"
      }
    },
    {
      "settle_id": "stl_edce2138-ce1f-4c12-828c-d603fb8bcfde",
      "organization_id": "org_334316",
      "location_id": "loc_192642",
      "transaction_id": "trn_69106bd2-ed33-45c2-9bfc-7f3b57b50dfe",
      "settle_batch_id": "123123123",
      "settle_date": "2016-10-17T08:53:57.643",
      "settle_type": "reject",
      "settle_response_code": "R52",
      "settle_amount": 0,
      "method": "echeck",
      "links": {
        "self": "https://api.forte.net/v3/settlements/stl_edce2138-ce1f-4c12-828c-d603fb8bcfde"
      }
    },
    {
      "settle_id": "stl_60e00b41-7dce-41f3-bc25-e9857cb5295d",
      "organization_id": "org_334316",
      "location_id": "loc_192642",
      "transaction_id": "trn_67de8503-6723-44d4-ac05-72607dca3d67",
      "settle_batch_id": "123123123",
      "settle_date": "2016-10-17T08:54:46.893",
      "settle_type": "reject",
      "settle_response_code": "R52",
      "settle_amount": 0,
      "method": "echeck",
      "links": {
        "self": "https://api.forte.net/v3/settlements/stl_60e00b41-7dce-41f3-bc25-e9857cb5295d"
      }
    },
    {
      "settle_id": "stl_42ccb5cb-0c0b-466a-ae04-fcb76803f03a",
      "organization_id": "org_334316",
      "location_id": "loc_192642",
      "transaction_id": "trn_69009c9f-2fb4-4634-ad43-fd5acde6010c",
      "settle_batch_id": "123123123",
      "settle_date": "2016-10-11T22:00:00",
      "settle_type": "deposit",
      "settle_response_code": "A01",
      "settle_amount": 102.45,
      "method": "cc",
      "links": {
        "self": "https://api.forte.net/v3/settlements/stl_42ccb5cb-0c0b-466a-ae04-fcb76803f03a"
      }
    }
  ],
  "response": {
    "environment": "live",
    "response_desc": "Get Successful."
  },
  "links": {
    "self": "https://api.forte.net/v3/settlements/?filter=start_settle_date+eq+%272016-10-01%27+AND+end_settle_date+eq+%272016-10-31%27"
  }
}
				
			

GET Settlements by Transaction ID

				
					{{baseURI}}/organizations/org_{{organizationID}}/locations/loc_{{locationID}}/transactions/trn_{{transactionID}}/settlements/
				
			

This URI returns all the settlement data for a specific transaction. NOTE: Most transactions only have one settlement, but due to disputes and returns, some transactions may have multiple settlements.

AUTHORIZATION Basic Auth
Username      {{apiaccessid}}
Password       {{apisecurekey}}

Example Request

				
					curl --location -g 'https://api.forte.net/v3/organizations/org_{{organizationID}}/locations/loc_{{locationID}}/transactions/{{transactionID}}/settlements/' \
--header 'Authorization: {{Authorization}}' \
--header 'Accept: application/json' \
--header 'X-Forte-Auth-Organization-Id: org_{{AuthOrganizationID}}' \
--data ''
				
			

Example Response

				
					{
  "settle_id": "stl_42ccb5cb-0c0b-466a-ae04-fcb76803f03a",
  "organization_id": "org_334316",
  "location_id": "loc_192642",
  "transaction_id": "trn_69009c9f-2fb4-4634-ad43-fd5acde6010c",
  "settle_batch_id": "123123123",
  "settle_date": "2016-10-11T22:00:00",
  "settle_type": "deposit",
  "settle_response_code": "A01",
  "settle_amount": 102.45,
  "method": "cc",
  "links": {
    "self": "https://api.forte.net/v3/settlements/stl_42ccb5cb-0c0b-466a-ae04-fcb76803f03a"
  },
  "response": {
    "environment": "live",
    "response_desc": "Get Successful."
  }
}
				
			

GET All Settlements from an Organization

				
					{{baseURI}}/organizations/org_{{organizationID}}/settlements/
				
			

This URI returns all the transaction settlements for an Organization. To narrow your search data using specific criteria, use the following parameters to filter your results:

  • location_id

  • customer_token

  • transaction_id

  • customer_id

  • order_number

  • reference_id

  • start_settle_date / end_settle_date

  • settle_response_code

  • method

NOTES:

  • All date filter parameters are time aware.

  • If the start_settle_date and end_settle_date filters are not passed in via the body of the requst, the query automatically uses a default date range of 90 days. If you do not pass in any date filters, the system automatically uses the current date and the previous 90 days.

Please note that sending a request at the partner (org) level may result in a large data set and may cause timeout errors depending on the request. We recommend sending your GET request at the Merchant (Organization) level.

AUTHORIZATION Basic Auth
Username      {{apiaccessid}}
Password       {{apisecurekey}}

Example Request

				
					curl --location -g 'https://api.forte.net/v3/organizations/org_{{organizationID}}/settlements/' \
--header 'Authorization: {{Authorization}}' \
--header 'Accept: application/json' \
--header 'X-Forte-Auth-Organization-Id: org_{{AuthOrganizationID}}' \
--data ''
				
			

Example Response

				
					{
  "number_results": 13,
  "search_criteria": {
    "page_size": 50,
    "page_index": 0,
    "home_organization_id": "org_334316",
    "resource_specific": {
      "start_settle_date": "2016-10-01T00:00:00",
      "end_settle_date": "2016-10-31T00:00:00"
    }
  },
  "results": [
    {
      "settle_id": "stl_f90ce5f6-3990-4384-bfd5-13dbc63dc895",
      "organization_id": "org_334316",
      "location_id": "loc_192642",
      "transaction_id": "trn_05169f58-241f-45b0-a335-3569d4a4e13e",
      "settle_batch_id": "123123123",
      "settle_date": "2016-10-11T22:00:00",
      "settle_type": "deposit",
      "settle_response_code": "A01",
      "settle_amount": 102.45,
      "method": "cc",
      "links": {
        "self": "https://api.forte.net/v3/settlements/stl_f90ce5f6-3990-4384-bfd5-13dbc63dc895"
      }
    },
    {
      "settle_id": "stl_a2c3dcf6-0c0f-4bfc-9bdf-266ce0e475e6",
      "organization_id": "org_334316",
      "location_id": "loc_192642",
      "transaction_id": "trn_0da1b367-b2fc-4a8d-bf0c-6e17f9cfcade",
      "settle_batch_id": "123123123",
      "settle_date": "2016-10-17T08:55:22.333",
      "settle_type": "reject",
      "settle_response_code": "R49",
      "settle_amount": 0,
      "method": "echeck",
      "links": {
        "self": "https://api.forte.net/v3/settlements/stl_a2c3dcf6-0c0f-4bfc-9bdf-266ce0e475e6"
      }
    },
    {
      "settle_id": "stl_45a168b1-2c14-4250-85b5-2bb306956489",
      "organization_id": "org_334316",
      "location_id": "loc_192642",
      "transaction_id": "trn_0ebbc660-80a2-4a20-a610-11e2f205f742",
      "settle_batch_id": "123123123",
      "settle_date": "2016-10-11T22:00:00",
      "settle_type": "withdrawal",
      "settle_response_code": "A01",
      "settle_amount": -1,
      "method": "cc",
      "links": {
        "self": "https://api.forte.net/v3/settlements/stl_45a168b1-2c14-4250-85b5-2bb306956489"
      }
    },
    {
      "settle_id": "stl_0e48f734-630e-4738-a990-2f1ba62d4614",
      "organization_id": "org_334316",
      "location_id": "loc_192642",
      "transaction_id": "trn_eb64304c-6fbe-43db-9316-fdff1ef1a16a",
      "settle_batch_id": "123123123",
      "settle_date": "2016-10-11T22:00:00",
      "settle_type": "deposit",
      "settle_response_code": "A01",
      "settle_amount": 45698.45,
      "method": "cc",
      "links": {
        "self": "https://api.forte.net/v3/settlements/stl_0e48f734-630e-4738-a990-2f1ba62d4614"
      }
    },
    {
      "settle_id": "stl_dc1aad35-409c-416d-b267-31be430d2401",
      "organization_id": "org_334316",
      "location_id": "loc_192642",
      "transaction_id": "trn_dc0a2890-688f-4dc7-872b-820f23835dbd",
      "settle_batch_id": "123123123",
      "settle_date": "2016-10-11T22:00:00",
      "settle_type": "deposit",
      "settle_response_code": "A01",
      "settle_amount": 1500.45,
      "method": "cc",
      "links": {
        "self": "https://api.forte.net/v3/settlements/stl_dc1aad35-409c-416d-b267-31be430d2401"
      }
    },
    {
      "settle_id": "stl_db452945-8866-40d5-8625-4d67fe7c0f2f",
      "organization_id": "org_334316",
      "location_id": "loc_192642",
      "transaction_id": "trn_8d888da5-67b1-42ee-a211-3111fe916718",
      "settle_batch_id": "123123123",
      "settle_date": "2016-10-11T22:00:00",
      "settle_type": "deposit",
      "settle_response_code": "A01",
      "settle_amount": 1103.45,
      "method": "cc",
      "links": {
        "self": "https://api.forte.net/v3/settlements/stl_db452945-8866-40d5-8625-4d67fe7c0f2f"
      }
    },
    {
      "settle_id": "stl_051849e9-d104-4fd7-a5b6-61f5c4183d65",
      "organization_id": "org_334316",
      "location_id": "loc_192642",
      "transaction_id": "trn_173d67bb-0b30-47de-a82c-d8bb4429f84e",
      "settle_batch_id": "123123123",
      "settle_date": "2016-10-17T08:54:40.443",
      "settle_type": "reject",
      "settle_response_code": "R52",
      "settle_amount": 0,
      "method": "echeck",
      "links": {
        "self": "https://api.forte.net/v3/settlements/stl_051849e9-d104-4fd7-a5b6-61f5c4183d65"
      }
    },
    {
      "settle_id": "stl_d66ca0ff-8ba3-48d8-9f20-8a4db3b74236",
      "organization_id": "org_334316",
      "location_id": "loc_192642",
      "transaction_id": "trn_77aada8a-b324-4e1b-bdcf-2c3c4f8110ac",
      "customer_id": "customer ID",
      "order_number": "2925432",
      "reference_id": "inv-232",
      "settle_batch_id": "123123123",
      "settle_date": "2016-10-11T22:00:00",
      "settle_type": "deposit",
      "settle_response_code": "A01",
      "settle_amount": 1,
      "method": "cc",
      "links": {
        "self": "https://api.forte.net/v3/settlements/stl_d66ca0ff-8ba3-48d8-9f20-8a4db3b74236"
      }
    },
    {
      "settle_id": "stl_515761cb-7a78-4de3-aadb-9038a570cf57",
      "organization_id": "org_334316",
      "location_id": "loc_192642",
      "transaction_id": "trn_e3beac6d-c421-430c-9ce8-96873d938c9b",
      "customer_id": "customer ID",
      "order_number": "2925432",
      "reference_id": "inv-232",
      "settle_batch_id": "123123123",
      "settle_date": "2016-10-17T09:20:11.947",
      "settle_type": "deposit",
      "settle_response_code": "S01",
      "settle_amount": 1,
      "method": "echeck",
      "links": {
        "self": "https://api.forte.net/v3/settlements/stl_515761cb-7a78-4de3-aadb-9038a570cf57"
      }
    },
    {
      "settle_id": "stl_17024769-b2a8-4e5e-9000-b27ff90e5518",
      "organization_id": "org_334316",
      "location_id": "loc_192642",
      "transaction_id": "trn_a514ebde-cf90-4152-b67c-083ec78823a8",
      "settle_batch_id": "123123123",
      "settle_date": "2016-10-17T09:44:06.9",
      "settle_response_code": "A01",
      "method": "echeck",
      "links": {
        "self": "https://api.forte.net/v3/settlements/stl_17024769-b2a8-4e5e-9000-b27ff90e5518"
      }
    },
    {
      "settle_id": "stl_edce2138-ce1f-4c12-828c-d603fb8bcfde",
      "organization_id": "org_334316",
      "location_id": "loc_192642",
      "transaction_id": "trn_69106bd2-ed33-45c2-9bfc-7f3b57b50dfe",
      "settle_batch_id": "123123123",
      "settle_date": "2016-10-17T08:53:57.643",
      "settle_type": "reject",
      "settle_response_code": "R52",
      "settle_amount": 0,
      "method": "echeck",
      "links": {
        "self": "https://api.forte.net/v3/settlements/stl_edce2138-ce1f-4c12-828c-d603fb8bcfde"
      }
    },
    {
      "settle_id": "stl_60e00b41-7dce-41f3-bc25-e9857cb5295d",
      "organization_id": "org_334316",
      "location_id": "loc_192642",
      "transaction_id": "trn_67de8503-6723-44d4-ac05-72607dca3d67",
      "settle_batch_id": "123123123",
      "settle_date": "2016-10-17T08:54:46.893",
      "settle_type": "reject",
      "settle_response_code": "R52",
      "settle_amount": 0,
      "method": "echeck",
      "links": {
        "self": "https://api.forte.net/v3/settlements/stl_60e00b41-7dce-41f3-bc25-e9857cb5295d"
      }
    },
    {
      "settle_id": "stl_42ccb5cb-0c0b-466a-ae04-fcb76803f03a",
      "organization_id": "org_334316",
      "location_id": "loc_192642",
      "transaction_id": "trn_69009c9f-2fb4-4634-ad43-fd5acde6010c",
      "settle_batch_id": "123123123",
      "settle_date": "2016-10-11T22:00:00",
      "settle_type": "deposit",
      "settle_response_code": "A01",
      "settle_amount": 102.45,
      "method": "cc",
      "links": {
        "self": "https://api.forte.net/v3/settlements/stl_42ccb5cb-0c0b-466a-ae04-fcb76803f03a"
      }
    }
  ],
  "response": {
    "environment": "live",
    "response_desc": "Get Successful."
  },
  "links": {
    "self": "https://api.forte.net/v3/settlements/?filter=start_settle_date+eq+%272016-10-01%27+AND+end_settle_date+eq+%272016-10-31%27"
  }
}
				
			

Transactions

The transactions object captures all the transaction(s) associated with a merchant location. The transactions object includes the addresscardecheckline_items and xdata sub-objects. Token-based transactions will use default addresses and will require you to set the customer's default shipping and billing addresses prior to passing transaction data. The transaction object supports both Canadian and U.S.-based addresses and payment methods. For more information on how to correctly format Canadian routing numbers see the echeck.routing_number parameter.

Transactions Object

Parameter

Description

Type

Req

organization_id

The identification number of the associated organization. For example, org_5551236.

string

R

location_id

The identification number of the associated location. For example, loc_1234568.

string

R

action


The supported transaction types include the following values:


sale - Used to collect funds from a debit/credit card or bank account. This action is the same as an authorization + capture operation in just one step, and should be the preferred option if the intent of the merchant is to capture the funds immediately upon authorization.
authorize - Used to verify the specified account information (bank account or debit/credit card account) and balance (for credit cards). This transaction should be used when the capture of the funds will be initiated at a later time. For example, after the shipping or the delivery of goods subject to the transaction. If the intent is to authorize the transaction and capture the funds immediately a sale transaction call should be sent instead of authorization and capture calls.
credit - Used to send fund to a bank account or credit/debit card.
void - Used to stop a transaction or cancel the hold on a transaction that was authorized. Voids can only be performed on items that haven't yet originated (for echeck transactions) or settled (for credit card transactions).
capture - Used to collect the funds that were previously authorized. See authorize.
inquiry - Requests the available balance from a card. NOTE: This action is only for merchant organizations approved to process partial authorization transactions.
verify - Used to verify a bank account or card account when there isn't a need to perform a capture operation later. NOTE: For credit cards, this action is only supported for merchants enrolled with Vantiv.
authenticate - used to verify the ownership of a bank account. This service verifies if the given person/business (identified by the First & Last name or Business Name) is the owner of a given bank account.
force - Used to capture funds by bypassing verification or authorization functionality. Merchants should verify or authorize a force operation prior to performing it.
reverse - Used to reverse a previous sale (action=sale) transaction if it's too late to void that transaction. NOTE: Action = credit or force cannot be reversed.

string

R

status

The current dispositon of the transaction. For a list of transaction status values, click here

string

--

customer_token

A unique string used to represent a customer. For example, cst_SoGUG6mcLUS1nVzYBIbk3g. Transactions can be created using only a customer_token (i.e., the merchant does not need to pass the paymethods object or a paymethod_token) if the customer has defined a default_paymethod_token in the customer object. [max length = 26]

string

R

customer_id

A merchant-defined string used to identify the customer. [max length = 15]

string

O

paymethod_token

A unique string used to represent a payment method. For example, mth_1578436587. [max length = 26]

string

O

reference_id

A merchant-defined string that identifies the transaction.[max length = 15]

string

O

authorization_amount

The amount to be charged/credited to the customer.

decimal

R

order_number

A merchant-assigned ID code that is returned with the transaction response. [max length = 36]

string

O

original_transaction_id

The trace number returned by the original transaction. [max length = 36]

string

O

transaction_id

A 36-character code that uniquely identifies the transaction.

string

O

authorization_code

An approval code from a vendor that authorizes a merchant to void a transaction.

object

R

entered_by

The name or the ID of the person entering the data. [max length = 20]

string

O

received_date

The date the merchant received the transaction. This parameter is return only.

datetime

--

origination_date

The date the funds of the transaction go to the originating depository financial institution. This parameter is return only.

datetime

--

sales_tax_amount

The sales tax amount. This field is only required for procurement card transactions.

decimal

O

subtotal_amount

The base amount of the good or service. This parameter is auto-calculated and is not required for requests. Use this parameter when calculating service fees.

decimal

--

service_fee_amount

The service fee (i.e., convenience fee) for this transaction. Use the following definitions when calculating a service fee:




service_fee_amount - The percentage calculated (e.g., subtotal_amount * 2.45% for a service fee of 2.45%)
authorization_amount - The resulting sum of the subtotal_amount and the service_fee_amount.

decimal

O

recurring_indicator

A merchant-assigned flag used to indicate recurring credit card transactions for the following transaction types when set to true for POST-only requests:




sale
authorize
credit
force







NOTE: When set to true, this parameter could have an impact on a merchant's interchange rates depending on his or her credit card processor. Contact your processor for more information.

bool

O

customer_ip_address

The customer's originating IP address. This parameter is used for fraud prevention and does not echo back in the response. [max length = 80]

string

O

save_token

This parameter creates customer and/or paymethod tokens for any transaction POST request—whether passed via request parameters or via swipe data through the card.card_data parameter. Supported values include the following:




customer - Creates a new customer and paymethod tokens.
paymethod - Creates a clientless paymethod token.

string

O

attempt_number

The number of times Forte has presented an ACH transaction for settlement. Values for this field can only be positive, whole numbers (e.g., attempt_number=1). This field is return only. [max length = 80]

string

--

cof_transaction_type

Indicates whether the credential on file (COF) transaction is recurring (0) or customer initiated (1). NOTE: If you are performing a zero-dollar authorization and only storing the payment method for future use, then the pg_cof_transaction_type should be 1.

int

--

cof_initial_transaction_id

The processor’s transaction ID of the first transaction for a stored credential on file. This field is required for non-tokenized, credential-on-file subsequent transactions. [max length = 20]

string

C

billing_address

The Address Object

object

R

billing_address.address_token

A unique string used to represent an address. For example, add_tq0hemmmtf-zsxgq689rew.

string

R

billing_address.customer_token

A unique string used to represent a customer. For example, cst_SoGUG6mcLUS1nVzYBIbk3g.

string

R

billing_address.organization_id

The identification number of the associated organization. For example, org_5551236.

string

R

billing_address.location_id

The identification number of the associated location. For example, loc_1234568.

string

R

billing_address.first_name

The first name of the user associated with this billing address [max length = 25]. NOTE: The first_name and last_name parameters are required for billing addresses when creating transactions without tokens.

string

R

billing_address.last_name

The last name of the user associated with this billing address [max length = 25]. NOTE: The first_name and last_name parameters are required for billing addresses when creating transactions without tokens.

string

R

billing_address.company_name

The name of the company associated with this billing address [max length = 20]. NOTE: The company_name parameter is required for billing addresses when creating transactions without tokens.

string

R

billing_address.phone

The phone number associated with this billing address. This field supports both U.S. and Canadian phone numbers. [max length = 15]

string

O

billing_address.email

The email address associated with this billing address. [max length = 50]

string

O

billing_address.label

A label that succinctly identifies the address. For example, "Work" or "Home." [max length = 50]

string

O

billing_address.address_type

The type of address. Use one of the following values:




default_billing - The default billing address
none - The address is not a default address
both - The address is both a default shipping and default billing address

string

O

billing_address.shipping_address_type

Indicates whether the address is a residential or commercial address (if the address is both a billing and shipping address).

string

R

billing_addreess.physical_address

The Physical Address Object.

object

O

billing_address.physical_address.street_line1

The first line of the street address. [max length = 35]

string

O

billing_address.physical_address.street_line2

The second line of the street address. [max length = 35]

string

O

billing_address.physical_address.locality

Locality or city/town/village. [max length = 25]

string

O

billing_address.physical_address.region

Region or state/province. This field supports both U.S. and Canadian regions. [max length = 2]

string

O

billing_address.physical_address.country

The ISO 3166-1 alpha-2 country abbreviation. [max length = 2]

string

O

billing_address.physical_address.postal_code

Postal Code [max length = 15]. This field supports both U.S. and Canadian postal codes.

string

O

shipping_address

The Address Object

object

O

shipping_address.address_token

A unique string used to represent an address. For example, add_tq0hemmmtf-zsxgq689rew.

string

R

shipping_address.customer_token

A unique string used to represent a customer. For example, cst_SoGUG6mcLUS1nVzYBIbk3g.

string

R

shipping_address.organization_id

The identification number of the associated organization. For example, org_5551236.

string

R

shipping_address.location_id

The identification number of the associated location. For example, loc_1234568.

string

R

shipping_address.first_name

The first name of the user associated with this shipping address [max length = 25]. NOTE: The first_name and last_name parameters are required for billing addresses when creating transactions without tokens.

string

R

shipping_address.last_name

The last name of the user associated with this shipping address [max length = 25]. NOTE: The first_name and last_name parameters are required for billing addresses when creating transactions without tokens.

string

R

shipping_address.company_name

The name of the company associated with this shipping address [max length = 20]. NOTE: The company_name parameter is required for billing addresses when creating transactions without tokens.

string

R

shipping_address.phone

The phone number associated with this shipping address. This field supports both U.S. and Canadian phone numbers. [max length = 15]

string

O

shipping_address.email

The email address associated with this shipping address. [max length = 50]

string

O

shipping_address.label

A label that succinctly identifies the address. For example, "Work" or "Home."

string

O

shipping_address.address_type

The type of address. Use one of the following values:




default_shipping - The default shipping address
none - The address is not a default address
both - The address is both a default shipping address and a default billing address

string

O

shipping_address.shipping_address_type

Indicates whether the address is a residential or commercial address.

string

R

shipping_address.physical_address

The Physical Address Object.

object

O

shipping_address.physical_address.street_line1

The first line of the street address. [max length = 35]

string

O

shipping_address.physical_address.street_line2

The second line of the street address. [max length = 35]

string

O

shipping_address.physical_address.locality

Locality or city/town/village [max length = 25]

string

O

shipping_address.physical_address.region

Region or state/province. This field supports both U.S. and Canadian regions. [max length = 2]

string

O

shipping_address.physical_address.country

The ISO 3166-1 alpha-2 country abbreviation. [max length = 2]

string

O

shipping_address.physical_address.postal_code

Postal Code [max length = 15]. This field supports both U.S. and Canadian postal codes.

string

O

card

The Card Object

object

R

card.card_type

The type of credit card [max length = 4]. Options for this field include the following:




visa
mast
amex
disc
dine
jcb

string

R

card.name_on_card

The name printed on the credit card [max length = 50]. This field is required when creating a new record or creating a permanent token from a one-time token.

string

R

card.last_4_account_number

The last four digits of the redacted account number. This field is return only. [max length = 4]

string

--

card.account_number

The card number. This field is required when creating a new record and can only contain digits. Forte echoes this parameter in the card.masked_account_number response parameter. [max length = 19].
For Digital wallet transactions this device-specific identifier (DPAN - Device Primary Account Number) replaces the card number to securely conduct transactions.
Note: Device Primary Account Number is used for alternative method of payments.

string

R

card.expire_month

The expiration month. This field is required when creating a new record and must be a valid future date. [max length = 2].

string

R

card.expire_year

The expiration year. This field is required when creating a new record and must be a valid future date. [max length = 4].

string

R

card.card_verification_value

The card verification number. Forte does not store this field with the paymethod token, but echoes it back. [max length = 5].

string

R

card.procurement_card

Indicates whether or not this is a procurement card transaction. Accepted values are either true or false. For procurement card transactions, merchants must pass the customer_accounting_code field in the card object and the sales_tax_amount field in the transaction object. [max length = 5].

bool

O

card.customer_accounting_code

Lists the procurement card accounting code. Forte does not save this information if the merchant is creating a paymethod. [max length = 17]

string

O

card.one_time_token

A single use token generated by Forte.js (e.g., ott_g7vnjqikszabzynu6eowbq).

string

O

card.card_reader

The eight-digit device part number specifying which swipe device was used to capture the card data. Currently, only the following models and part numbers are supported when capturing encrypted card data:




30050202 (IPAD)
30050203 (IPAD PIN Pad and Card Reader)
21073062 (Dynamag)
21073084 (iDynamo - used for iPhone mobile apps)
21073131 (iDynamo 5 (lightening adapter) - used for iPhone mobile apps)
21073092 (uDynamo - used for Android mobile apps)
21079802 (eDynamo)





[max length = 20]

string

O

card.card_data

The full set of swipe data received from the encrypting swipe device. [max length = 1500]

string

O

card.card_emv_data

The full set of emv data received from the emv device. [max length = 1500]

string

O

card.fallback_swipe

Indicates if this swiped transaction is a fallback swipe after a dipped transaction failed to process. Accepted values are either true or false [max length = 5]

bool

O

card.wallet_cryptogram

This one-time encrypted string represents the transaction and merchant information

string

R

card.wallet_type

This field will indicate the wallet used to obtain the cryptogram. Supported values: “ApplePay”

string

R

card.wallet_source

This will indicate the platform on which the payment request was received. Web: integrations capturing payments on browser Mobile: Data values describing an InApp Transaction

string

R

echeck

The eCheck Object

object

R

echeck.account_holder

The name of the account owner. This field is required when creating or updating a new record.

string

R

echeck.last_4_account_number

The last four digits of the redacted account number. This field is return only. [max length = 4]

string

--

echeck.account_number

The DDA or eCheck account number. This field is required when creating or updating a new record and can only contain digits. Forte echoes this parameter in the echeck.masked_account_number response parameter.

string

R

echeck.routing_number

The transit routing number. This field supports both U.S. and Canadian routing numbers. NOTE: A Canadian routing number displayed on a check needs to be reformatted differently for electronic payments. If a check displays a routing number as BBBBB-AAA (where AAA indicates the Financial Institution and BBBBB is the branch), then the routing number must be changed to 0AAABBBBB to process the payment electronically. For example, if a check from an account issued by the Bank of Montreal showed the routing number 00011-001, then that number would need to be reformatted to 000100011 for the payment to be electronically processed. Click here for a directory of Canadian financial institutions. This field is required when creating or updating a new record and can only contain digits. [max length = 9].

string

R

echeck.account_type

>Use one of the following values for this parameter:




Checking
Savings

string

O

echeck.item_description

Check number or other description of item to be processed. NOTE: This field is only available for POST transactions and is not included in the paymethods object.

string

O

echeck.sec_code

Use one of the following values for this standard-entry class code: ARC, CCD, CIE, CTX, POP, POS, PPD, RCK, TEL, WEB.

For eCheck transactions, it is only required for action= "sale", "authorize", "credit" and "force". Otherwise (e.g. "verify", "authenticate") it should be null. For more information on SEC codes, see the ACH Standard Entry Class (SEC) Codes Tutorial. This parameter is required to conform with a NACHA requirement that states when submitting a transaction for processing, the originator must designate how the transaction was authorized. Forte customers primarily use the PPD, CCD, and WEB SEC codes.

string

C

echeck.one_time_token

A single use token generated by Forte.js (e.g., ott_g7vnjqikszabzynu6eowbq).

string

O

line_items

The Line Items Object.

object

O

line_items.line_item_header

Description of the data elements contained within each line item. This header will be displayed when viewing transaction details.

string

O

line_items.line_item_1-10000

Contents of the line item formatted according to the line_item_header.

string

O

xdata

The Xdata Object

object

O

xdata.xdata_1-9

Up to nine fields (1-9) of extra data that can be associated with a schedule or transaction. Each xdata_# field can contain up to 255 characters.

string

O

vendor

The vendor Object

object

O

vendor.vendor_type

The supported vendor types include the following.

PayPal

string

R

vendor.vendor_order_number

The ID of the order

**Note:**The vendor_order_number is required for vendor when creating transaction without PayPal tokens

string

R

vendor.vendor_billing_agreement_id

The ID of PayPal billing agreement

NOTE:The vendor_billing_agreement_id is required for vendor when creating transaction with PayPal tokens.

string

R

POST Transaction (Credit Card)

				
					{{baseURI}}/organizations/org_{{organizationID}}/locations/loc_{{locationID}}/transactions
				
			

Accepted card types (debit and credit) include Visa, MasterCard, Amex, Discover, Diners and JCB.

This URI can perform the following tasks while returning a new transaction_id:

  • Create an ad-hoc transaction. Note: If the intent is to authorize and immediately capture the transaction, it is recommended that a sale transaction is sent.

  • Create a transaction based on the customer token using the default billing address

  • Create a transaction based on the customer and paymethod tokens using the customer default billing address

  • Create a transaction based on the paymethod token, which requires the address in the request message

  • Reverse a sale transaction and create a credit transaction, which requires the transaction_id and authorization_code of the original transaction

AUTHORIZATION Basic Auth
Username      {{apiaccessid}}
Password       {{apisecurekey}}
Body raw
				
					{
    "action":"sale",
    "authorization_amount": 102.45,
    "billing_address":{
     "first_name": "Jennifer",
     "last_name": "McFly"
  },
  "card":{
     "card_type": "visa",
     "name_on_card": "Jennifer McFly",
     "account_number": "4111111111111111",
     "expire_month": "12",
     "expire_year": "2020",
     "card_verification_value":"123"
  }
}
				
			

Example Request

				
					curl --location -g 'https://api.forte.net/v3/organizations/org_{{organizationID}}/locations/loc_{{locationID}}/transactions' \
--header 'Authorization: {{Authorization}}' \
--header 'Accept: application/json' \
--header 'X-Forte-Auth-Organization-Id: org_{{AuthOrganizationID}}' \
--header 'Content-Type: application/json' \
--data '{
    "action":"sale",
    "authorization_amount": 102.45,
    "subtotal_amount": 99.95,
    "billing_address":{
     "first_name": "Jennifer",
     "last_name": "McFly"
  },
  "card":{
     "card_type": "visa",
     "name_on_card": "Jennifer McFly",
     "account_number": "4111111111111111",
     "expire_month": "12",
     "expire_year": "2017",
     "card_verification_value":"123"
  }
}'
				
			

Example Response

				
					{
  "transaction_id": "trn_9eab1d30-5326-4d15-b500-5d04c1e74839",
  "location_id": "loc_192642",
  "action": "sale",
  "authorization_amount": 102.45,
  "entered_by": "4fefaf5f77d944ce10bdd3d88f7a2da9",
  "billing_address": {
    "first_name": "Jennifer",
    "last_name": "McFly"
  },
  "card": {
    "name_on_card": "Jennifer McFly",
    "last_4_account_number": "1111",
    "masked_account_number": "****1111",
    "expire_month": 12,
    "expire_year": 2017,
    "card_type": "visa"
  },
  "response": {
    "environment": "live",
    "response_type": "A",
    "response_code": "A01",
    "response_desc": "TEST APPROVAL",
    "authorization_code": "123456",
    "avs_result": "Y",
    "cvv_result": "M"
  }
}
				
			

POST Initial Sale Transaction (Digital Wallets)

				
					{{baseURI}}/organizations/org_{{organizationID}}/locations/loc_{{locationID}}/transactions
				
			

Note: Sending digital wallet transactions to Forte requires enablement at the merchant (location) label, and compliance with a set of prerequisites defined for each wallet. Currently this feature is certified for Apple Pay in merchants processing credit card payments with Fiserv, please check additional requirements here.

For the Initial sale transaction, the following additional parameters from the wallet’s decrypted payload should be sent to the transaction endpoint:

  • card.account_number = DPAN
  • card.card_type
  • card.expire_year
  • card.expire_month
  • card.wallet_cryptogram
  • card.wallet_type
  • card.wallet_source
  • transaction.cof_transaction_type = 1
AUTHORIZATION Basic Auth
Username      {{apiaccessid}}
Password       {{apisecurekey}}
Body raw
				
					{
    "action":"sale",
    "authorization_amount":5.00,
    "service_fee_amount":1.50,
    "billing_address":{
        "first_name":"Test",
        "last_name":"Person"
        },
        "card":{
            "name_on_card":"Test Q Person",
            "account_number": "4111111111111111",
            "card_type":"visa",
            "expire_month":"12",
            "expire_year":"2022",
            "wallet_type":"ApplePay",
            "wallet_source":"Web","wallet_cryptogram":"1K4ortp4uVams7mfCPohYcFP4WMzgnwmiX0JZcCdMWq2FlIsXGEojH6A"
            }, “cof_transaction_type”: 1
            }
				
			

Example Request

				
					curl --location -g 'https://api.forte.net/v3/organizations/org_{{organizationID}}/locations/loc_{{locationID}}/transactions' \
--header 'Authorization: {{Authorization}}' \
--header 'Accept: application/json' \
--header 'X-Forte-Auth-Organization-Id: org_{{AuthOrganizationID}}' \
--header 'Content-Type: application/json' \
--data '{
    "action":"sale",
    "authorization_amount": 102.45,
    "subtotal_amount": 99.95,
    "billing_address":{
     "first_name": "Jennifer",
     "last_name": "McFly"
  },
  "card":{
     "card_type": "visa",
     "name_on_card": "Jennifer McFly",
     "account_number": "4111111111111111",
     "expire_month": "12",
     "expire_year": "2017",
     "card_verification_value":"123"
  }
}'
				
			

Example Response

				
					{ "action":"sale",
"authorization_amount":5.00,
"service_fee_amount":1.50,
"billing_address":{
    "first_name":"Test",
    "last_name":"Person"
    },
    "card":{
        "name_on_card": "Test Q Person",
        "account_number": "4111111111111111",
        "card_type": "visa",
        "expire_month": "12",
        "expire_year": "2022",
        "wallet_type":"ApplePay",
        "wallet_source":"Web", "wallet_cryptogram":"1K4ortp4uVams7mfCPohYcFP4WMzgnwmiX0JZcCdMWq2FlIsXGEojH6A"
        },
        “cof_transaction_type”: 1
        }
				
			

POST Subsequent Transaction with DPAN (Digital Wallets)

				
					{{baseURI}}/organizations/org_{{organizationID}}/locations/loc_{{locationID}}/transactions
				
			

To send subsequent sale transactions after an initial transaction was authorized using DPAN you will need to submit transaction.cof_initial_transaction_id as received in the initial transaction response.

  • card.account_number = DPAN
  • card.card_type
  • card.expire_year
  • card.expire_month
  • card.wallet_type
  • card.wallet_source
  • transaction.cof_transaction_type = 0 (recurring)
  • transaction.cof_initial_transaction_id
AUTHORIZATION Basic Auth
Username      {{apiaccessid}}
Password       {{apisecurekey}}
Body raw
				
					{
    "action":"sale",
    "authorization_amount":5.00,
    "service_fee_amount":1.50,
    "billing_address":{
        "first_name":"Test",
        "last_name":"Person"
        },
        "card":{
            "name_on_card":"Test Q Person",
            "account_number": "4111111111111111",
            "card_type":"visa",
            "expire_month":"12",
            "expire_year":"2022",
            "wallet_type":"ApplePay",
            "wallet_source":"Web",
        },
            "cof_transaction_type": "0",
            "cof_initial_transaction_id": "123123123123"
    }
				
			

Example Request

				
					curl --location -g 'https://api.forte.net/v3/organizations/org_{{organizationID}}/locations/loc_{{locationID}}/transactions' \
--header 'Authorization: {{Authorization}}' \
--header 'Accept: application/json' \
--header 'X-Forte-Auth-Organization-Id: org_{{AuthOrganizationID}}' \
--header 'Content-Type: application/json' \
--data '{
    "action":"sale",
    "authorization_amount": 102.45,
    "subtotal_amount": 99.95,
    "billing_address":{
     "first_name": "Jennifer",
     "last_name": "McFly"
  },
  "card":{
     "card_type": "visa",
     "name_on_card": "Jennifer McFly",
     "account_number": "4111111111111111",
     "expire_month": "12",
     "expire_year": "2017",
     "card_verification_value":"123"
  }
}'
				
			

Example Response

				
					{
"action":"sale",
"authorization_amount":5.00,
"service_fee_amount":1.50,
"billing_address":{
    "first_name":"Test",
    "last_name":"Person"
    },
    "card":{
        "name_on_card": "Test Q Person",
        "account_number": "4111111111111111",
        "card_type": "visa",
        "expire_month": "12",
        "expire_year": "2022",
        "wallet_type":"ApplePay",
        "wallet_source":"Web", 
    },
        "cof_transaction_type": "0"
        "cof_initial_transaction_id": "123123123123"
    }
				
			

POST Subsequent Transaction with Token (Digital Wallets)

				
					{{baseURI}}/organizations/org_{{organizationID}}/locations/loc_{{locationID}}/transactions
				
			

To send subsequent sale transactions after an initial transaction was authorized using Payment Method Tokens you will need to submit transaction.paymethod_token, indicate that this is a subsequent transaction sending transaction.cof_transaction_type: 0 and specifying card.wallet_source (optional).

AUTHORIZATION Basic Auth
Username      {{apiaccessid}}
Password       {{apisecurekey}}
Body raw
				
					{
    "action":"sale",
    "authorization_amount": 102.45,
    "paymethod_token":"mth_jmBCI5cDV0CuyFb7NWzrAg",
    "card": {
        "wallet_source":"web"
        }
        "billing_address":{
            "first_name": "Jennifer",
            "last_name": "McFly"
            } "cof_transaction_type": "0"
        }
				
			

Example Request

				
					curl --location -g 'https://api.forte.net/v3/organizations/org_{{organizationID}}/locations/loc_{{locationID}}/transactions' \
--header 'Authorization: {{Authorization}}' \
--header 'Accept: application/json' \
--header 'X-Forte-Auth-Organization-Id: org_{{AuthOrganizationID}}' \
--header 'Content-Type: application/json' \
--data '{
    "action":"sale",
    "authorization_amount": 102.45,
    "subtotal_amount": 99.95,
    "billing_address":{
     "first_name": "Jennifer",
     "last_name": "McFly"
  },
  "card":{
     "card_type": "visa",
     "name_on_card": "Jennifer McFly",
     "account_number": "4111111111111111",
     "expire_month": "12",
     "expire_year": "2017",
     "card_verification_value":"123"
  }
}'
				
			

Example Response

				
					{
    "action":"sale",
    "authorization_amount": 102.45,
    "paymethod_token":"mth_jmBCI5cDV0CuyFb7NWzrAg",
    "card": {
        "wallet_source":"web"
        }
        "billing_address":{
            "first_name": "Jennifer",
            "last_name": "McFly"
            } "cof_transaction_type": "0"
        }
				
			

POST Transaction with Credit Card Token

				
					{{baseURI}}/organizations/org_{{organizationID}}/locations/loc_{{locationID}}/transactions
				
			

This URI creates sale transactions using an existing paymethod_token. A token is a random string of alpha-numeric characters that represent a payment method, which Forte stores in an encrypted database. Along with encryption, tokenization is used in the payments industry to protect sensitive data.

AUTHORIZATION Basic Auth
Username      {{apiaccessid}}
Password       {{apisecurekey}}
Body raw
				
					{
    "action":"sale",
    "authorization_amount": 102.45,
   	"paymethod_token": "mth_jmBCI5cDV0CuyFb7NWzrAg",
    "billing_address":{
     "first_name": "Jennifer",
     "last_name": "McFly"
  }
}
				
			

Example Request

				
					curl --location -g 'https://api.forte.net/v3/organizations/org_{{organizationID}}/locations/loc_{{locationID}}/transactions' \
--header 'Accept: application/json' \
--header 'Content-Type: application/json' \
--header 'X-Forte-Auth-Organization-Id: org_{{AuthOrganizationID}}' \
--data '{
    "action":"sale",
    "authorization_amount": 102.45,
   	"paymethod_token": "mth_jmBCI5cDV0CuyFb7NWzrAg",
    "billing_address":{
     "first_name": "Jennifer",
     "last_name": "McFly"
  }
}'
				
			

Example Response

				
					{
  "transaction_id": "trn_d61b923a-9de2-433f-9a48-8e13f1acd17b",
  "location_id": "loc_124125",
  "paymethod_token": "mth_jmBCI5cDV0CuyFb7NWzrAg",
  "action": "sale",
  "authorization_amount": 102.45,
  "entered_by": "9b26093587d09d0f1a847083b2e605c1",
  "billing_address": {
    "first_name": "Jennifer",
    "last_name": "McFly"
  },
  "response": {
    "environment": "live",
    "response_type": "A",
    "response_code": "A01",
    "response_desc": "TEST APPROVAL",
    "authorization_code": "123456",
    "avs_result": "Y",
    "cvv_result": "M",
    "paymethod_token": "mth_jmBCI5cDV0CuyFb7NWzrAg"
  }
}
				
			

POST Transaction with eCheck Token

				
					{{baseURI}}/organizations/org_{{organizationID}}/locations/loc_{{locationID}}/transactions
				
			

This URI creates sale transactions using an existing paymethod_token. A token is a random string of alpha-numeric characters that represent a payment method, which Forte stores in an encrypted database. Along with encryption, tokenization is used in the payments industry to protect sensitive data.

AUTHORIZATION Basic Auth
Username      {{apiaccessid}}
Password       {{apisecurekey}}
Body raw
				
					{
    "action":"sale",
    "authorization_amount": 102.45,
    "paymethod_token": "mth_jmBCI5cDV0CuyFb7NWzrAg",
    "echeck":{
       "sec_code":"PPD"
    },
    "billing_address":{
     "first_name": "Jennifer",
     "last_name": "McFly"
  }
}
				
			

Example Request

				
					curl --location -g 'https://api.forte.net/v3/organizations/org_{{organizationID}}/locations/loc_{{locationID}}/transactions' \
--header 'Accept: application/json' \
--header 'Content-Type: application/json' \
--header 'X-Forte-Auth-Organization-Id: org_{{AuthOrganizationID}}' \
--data '{
    "action":"sale",
    "authorization_amount": 102.45,
    "paymethod_token": "mth_jmBCI5cDV0CuyFb7NWzrAg",
    "echeck":{
       "sec_code":"PPD"
    },
    "billing_address":{
     "first_name": "Jennifer",
     "last_name": "McFly"
  }
}
'
				
			

Example Response

				
					{
  "transaction_id": "trn_d61b923a-9de2-433f-9a48-8e13f1acd17b",
  "location_id": "loc_124125",
  "paymethod_token": "mth_jmBCI5cDV0CuyFb7NWzrAg",
  "action": "sale",
  "authorization_amount": 102.45,
  "entered_by": "9b26093587d09d0f1a847083b2e605c1",
  "echeck": {
    "sec_code": "PPD"
  },
  "billing_address": {
    "first_name": "Jennifer",
    "last_name": "McFly"
  },
  "response": {
    "environment": "live",
    "response_type": "A",
    "response_code": "A01",
    "response_desc": "TEST APPROVAL",
    "authorization_code": "123456",
    "paymethod_token": "mth_jmBCI5cDV0CuyFb7NWzrAg"
  }
}
				
			

POST Swiped Credit Card Transaction

				
					{{baseURI}}/organizations/org_{{organizationID}}/locations/loc_{{locationID}}/transactions
				
			

Swiped card transactions require the card_reader and card_data parameters. For more information, see the Transactions Object.

AUTHORIZATION Basic Auth
Username      {{apiaccessid}}
Password       {{apisecurekey}}
Body raw
				
					{
    "action":"sale",
    "authorization_amount": 102.45,
    "subtotal_amount": 99.95,
    "billing_address":{
     "first_name": "Jennifer",
     "last_name": "McFly"
  },
  "card":{
       "card_reader": "30050202",       
       "card_data":"0~IPAD100KB|24~98CE04601007130D|1~11|2~87687687687876876876|4~|5~516F2DCD1EB18A99E775E36457E3454AA4C1448635D9067F3151A112D49A6F02F9CAC15F2B608D2E915EBA99846E81AC763AE89D29437B31|6~%B4445220002000007^TESTCARD/TEST^17120000011111000?|7~;4445220002000007=17120000000000000000?|8~|9~00000000|10~000001|11~9500020000C8892001C7|12~00002200|"
  }
}
				
			

Example Request

				
					curl --location -g 'https://api.forte.net/v3/organizations/org_{{organizationID}}/locations/loc_{{locationID}}/transactions' \
--header 'Authorization: {{Authorization}}' \
--header 'Accept: application/json' \
--header 'X-Forte-Auth-Organization-Id: org_{{AuthOrganizationID}}' \
--header 'Content-Type: application/json' \
--data '{
    "action":"sale",
    "authorization_amount": 102.45,
    "subtotal_amount": 99.95,
    "billing_address":{
     "first_name": "Jennifer",
     "last_name": "McFly"
  },
  "card":{
       "card_reader": "30050202",       
       "card_data":"0~IPAD100KB|24~98CE04601007130D|1~11|2~87687687687876876876|4~|5~516F2DCD1EB18A99E775E36457E3454AA4C1448635D9067F3151A112D49A6F02F9CAC15F2B608D2E915EBA99846E81AC763AE89D29437B31|6~%B4445220002000007^TESTCARD/TEST^17120000011111000?|7~;4445220002000007=17120000000000000000?|8~|9~00000000|10~000001|11~9500020000C8892001C7|12~00002200|"
  }
}'
				
			

Example Response

				
					{
  "transaction_id": "trn_574611cf-4db8-4b64-9eb3-a5347190030e",
  "location_id": "loc_192642",
  "action": "sale",
  "authorization_amount": 102.45,
  "entered_by": "4fefaf5f77d944ce10bdd3d88f7a2da9",
  "billing_address": {
    "first_name": "Jennifer",
    "last_name": "McFly"
  },
  "response": {
    "environment": "live",
    "response_type": "A",
    "response_code": "A01",
    "response_desc": "TEST APPROVAL",
    "authorization_code": "123456",
    "avs_result": "Y",
    "cvv_result": "M"
  }
}
				
			

POST Paymethod Token from a Swiped Transaction

				
					{{baseURI}}/organizations/org_{{organizationID}}/locations/loc_{{locationID}}/transactions
				
			

Including the save_token parameter in the body of your request creates customer and/or paymethod tokens from the card’s swipe data. The save_token parameter supports the following values:

  • customer – Creates both a customer and paymethod tokens
  • paymethod – Creates a clientless paymethod token (i.e., a paymethod token that is not associated to a customer token).

If you wish to create tokens from swipe data without creating a transaction, include the "action": "authorize" and "authorization_amount": 0.01 parameters in the body of your request.

AUTHORIZATION Basic Auth
Username      {{apiaccessid}}
Password       {{apisecurekey}}
Body raw
				
					{
    "action":"authorize",
    "authorization_amount": 0.01,
    "save_token": "paymethod",
    "card":{
       "card_reader": "30050202",       
       "card_data":"0~IPAD100KB|24~98CE04601007130D|1~11|2~87687687687876876876|4~|5~516F2DCD1EB18A99E775E36457E3454AA4C1448635D9067F3151A112D49A6F02F9CAC15F2B608D2E915EBA99846E81AC763AE89D29437B31|6~%B4445220002000007^TESTCARD/TEST^17120000011111000?|7~;4445220002000007=17120000000000000000?|8~|9~00000000|10~000001|11~9500020000C8892001C7|12~00002200|"
  }
}
				
			

Example Request

				
					curl --location -g 'https://api.forte.net/v3/organizations/org_{{organizationID}}/locations/loc_{{locationID}}/transactions' \
--header 'Authorization: {{Authorization}}' \
--header 'Accept: application/json' \
--header 'X-Forte-Auth-Organization-Id: org_{{AuthOrganizationID}}' \
--header 'Content-Type: application/json' \
--data '{
    "action":"authorize",
    "authorization_amount": 0.01,
    "save_token": "paymethod",
    "card":{
       "card_reader": "30050202",       
       "card_data":"0~IPAD100KB|24~98CE04601007130D|1~11|2~87687687687876876876|4~|5~516F2DCD1EB18A99E775E36457E3454AA4C1448635D9067F3151A112D49A6F02F9CAC15F2B608D2E915EBA99846E81AC763AE89D29437B31|6~%B4445220002000007^TESTCARD/TEST^17120000011111000?|7~;4445220002000007=17120000000000000000?|8~|9~00000000|10~000001|11~9500020000C8892001C7|12~00002200|"
  }
}'
				
			

Example Response

				
					{
  "transaction_id": "trn_169ca0c9-e444-49af-9d9f-c694d6c7f49e",
  "location_id": "loc_192642",
  "paymethod_token": "mth_ObBhkYDlRMGGl4Xl-wzDTg",
  "action": "authorize",
  "authorization_amount": 0.01,
  "entered_by": "4fefaf5f77d944ce10bdd3d88f7a2da9",
  "save_token": "paymethod",
  "response": {
    "environment": "live",
    "response_type": "A",
    "response_code": "A01",
    "response_desc": "TEST APPROVAL",
    "authorization_code": "123456",
    "avs_result": "Y",
    "cvv_result": "M",
    "paymethod_token": "mth_ObBhkYDlRMGGl4Xl-wzDTg"
  }
}
				
			

POST EMV Transaction

				
					{{baseURI}}/organizations/org_{{organizationID}}/locations/loc_{{locationID}}/transactions/
				
			

Use this endpoint with the following parameters to submit EMV transactions using your eDynamo device:

  • `card.card_reader = 21079802`
  • `card.card_emv_data`
AUTHORIZATION Basic Auth
Username      {{apiaccessid}}
Password       {{apisecurekey}}
Body raw
				
					{
   "action": "sale",
    "authorization_amount": "250.33",
    "billing_address":{
     "first_name": "Jennifer",
     "last_name": "McFly",
     "phone": "444-444-4444",
     "physical_address": {
       "street_line1": "8003 Clock Tower Ln",
       "street_line2": "Suite 200",
       "locality": "Hill Valley",
       "region": "CA",
       "postal_code": "46203"
      }
  },
  "card":{
     "card_reader": "21079802",
     "card_emv_data":"9011880B43A7710002B0|963A2FBE21EB8FDDB43CEEFBA158720272930EE43574E88906D6E05222C46DEB1675DA87496C8B1FE6A126F2D3DD1BC4036534DFBE7720E6B0AE80C08C06D5F00573591DD926627718B38F96037C26635AE8D7CFBC4552DAB59B0D26362EA4B31D328BC2EDA3C2807474CB79436116D5A21FADA42EAF0971B6BA73B46C965C73203D56DEB927AE9E09D32A64DBC5B6D17486D97892F0C2BC2C5F7105AFAB46257183BFFBA9E6D4EAA03BAC5F300F61ACA3F315A7ED15B90D79D8D09F92F21634CD8577E46F77730433D73946E1393320CEE7AD523B4C2A102DD0936E37875374BFFA835FDF03A955FEB3C913774B16419FACC10E6E032A2CC46E9103DC70ED655D38989ED6FA3DB5B202AFCFC1D1CAA825BC8E0DCE06CDC4E4FC5584B04D3F210A695626A3E779E5230708BE3280F379570B7EC3215EE4319D2308A0718C5F4F4DFB28924C8B123C"
  }
}
				
			

Example Request

				
					curl --location -g 'https://api.forte.net/v3/organizations/org_{{organizaztionID}}/locations/loc_{{locationID}}/transactions/' \
--header 'Authorization:  {{Authorization}}' \
--header 'Accept: application/json' \
--header 'X-Forte-Auth-Organization-Id: org_{{AuthOrganizationID}}' \
--header 'Content-Type: application/json' \
--data '{
   "action": "sale",
    "authorization_amount": "250.33",
    "billing_address":{
     "first_name": "Jennifer",
     "last_name": "McFly",
     "phone": "444-444-4444",
     "physical_address": {
       "street_line1": "8003 Clock Tower Ln",
       "street_line2": "Suite 200",
       "locality": "Hill Valley",
       "region": "CA",
       "postal_code": "46203"
      }
  },
  "card":{
     "card_reader": "21079802",
     "card_emv_data":"9011880B43A7710002B0|963A2FBE21EB8FDDB43CEEFBA158720272930EE43574E88906D6E05222C46DEB1675DA87496C8B1FE6A126F2D3DD1BC4036534DFBE7720E6B0AE80C08C06D5F00573591DD926627718B38F96037C26635AE8D7CFBC4552DAB59B0D26362EA4B31D328BC2EDA3C2807474CB79436116D5A21FADA42EAF0971B6BA73B46C965C73203D56DEB927AE9E09D32A64DBC5B6D17486D97892F0C2BC2C5F7105AFAB46257183BFFBA9E6D4EAA03BAC5F300F61ACA3F315A7ED15B90D79D8D09F92F21634CD8577E46F77730433D73946E1393320CEE7AD523B4C2A102DD0936E37875374BFFA835FDF03A955FEB3C913774B16419FACC10E6E032A2CC46E9103DC70ED655D38989ED6FA3DB5B202AFCFC1D1CAA825BC8E0DCE06CDC4E4FC5584B04D3F210A695626A3E779E5230708BE3280F379570B7EC3215EE4319D2308A0718C5F4F4DFB28924C8B123C"
  }
}'
				
			

Example Response

				
					{
    "transaction_id": "trn_c4425400-6ce2-415e-8b60-b740a2006c5a",
    "location_id": "loc_124125",
    "action": "sale",
    "authorization_amount": 10.10,
    "authorization_code": "08347A",
    "entered_by": "a30b90079d76d13c8f7dc390ba917b8b",
    "billing_address": {
        "first_name": "Jennifer",
        "last_name": "McFly",
        "phone": "444-444-4444",
        "physical_address": {
            "street_line1": "8003 Clock Tower Ln",
            "street_line2": "Suite 200",
            "locality": "Hill Valley",
            "region": "CA",
            "postal_code": "46203"
        }
    },
    "card": {
       "card_reader": "21079913"
    },
    "response": {
        "environment": "live",
        "response_type": "A",
        "response_code": "A01",
        "response_desc": "APPROVED",
        "authorization_code": "08358C",
        "avs_result": "N",
       "cvv_result": "P",
        "emv_receipt_data": "application_label:MASTERCARD|entry_mode:CHIP|CVM:1E0400|AID:A0000000052110|TVR:8000008000|IAD:0110A00001220000000000000000000000EE|TSI:5701|ARC:"
    }
				
			

POST Transaction with Service Fee

				
					{{baseURI}}/organizations/org_{{organizationID}}/locations/loc_{{locationID}}/transactions
				
			

For service fee transactions, merchants must calculate the fee amount and then include it in the service_fee_amount parameter in the request. To look up your location’s service fee rates/amounts, perform a GET call to the Locations by ID endpoint.

AUTHORIZATION Basic Auth
Username      {{apiaccessid}}
Password       {{apisecurekey}}
Body raw
				
					{
    "action":"sale",
    "authorization_amount": 111.54,
    "service_fee_amount": 3.20,
    "billing_address":{
     "first_name": "Jennifer",
     "last_name": "McFly"
  },
  "card":{
     "card_type": "visa",
     "name_on_card": "Jennifer McFly",
     "account_number": "4111111111111111",
     "expire_month": "12",
     "expire_year": "2020",
     "card_verification_value":"123"
  }
}
				
			

Example Request

				
					curl --location -g 'https://api.forte.net/v3/organizations/org_{{organizationID}}/locations/loc_{{locationID}}/transactions' \
--header 'Authorization: {{Authorization}}' \
--header 'Accept: application/json' \
--header 'X-Forte-Auth-Organization-Id: org_{{AuthOrganizationID}}' \
--header 'Content-Type: application/json' \
--data '{
    "action":"sale",
    "authorization_amount": 111.54,
    "service_fee_amount": 3.2,
    "billing_address":{
     "first_name": "Jennifer",
     "last_name": "McFly"
  },
  "card":{
     "card_type": "visa",
     "name_on_card": "Jennifer McFly",
     "account_number": "4111111111111111",
     "expire_month": "12",
     "expire_year": "2017",
     "card_verification_value":"123"
  }
}'
				
			

Example Response

				
					{
  "transaction_id": "trn_f3fc06e7-dc2d-47fe-bea2-596ff26a81c0",
  "location_id": "loc_200555",
  "action": "sale",
  "authorization_amount": 111.54,
  "service_fee_amount": 3.2,
  "subtotal_amount": 108.34,
  "entered_by": "93e5a2be4693067f18e42fcc88bd372c",
  "billing_address": {
    "first_name": "Jennifer",
    "last_name": "McFly"
  },
  "card": {
    "name_on_card": "Jennifer McFly",
    "last_4_account_number": "1111",
    "masked_account_number": "****1111",
    "expire_month": 12,
    "expire_year": 2020,
    "card_type": "visa"
  },
  "response": {
    "environment": "live",
    "response_type": "A",
    "response_code": "A01",
    "response_desc": "TEST APPROVAL",
    "authorization_code": "123456",
    "cvv_result": "M"
  }
}
				
			

POST Transaction (ECheck)

				
					{{baseURI}}/organizations/org_{{organizationID}}/locations/loc_{{locationID}}/transactions
				
			

EFT is an Electronic Funds Transfer, encompassing all electronic payments and including ACH (eCheck) payments. This URI can perform the following eCheck (ACH) tasks while returning a new transaction_id:

  • Create an ad-hoc transaction. Note: if the intent is to authorize and immediately capture the transaction, it is recommended that a sale transaction is sent.

  • Create a transaction based on the customer token using the default billing address

  • Create a transaction based on the customer and paymethod tokens using the customer default billing address

  • Create a transaction based on the paymethod token, which requires the address in the request message

  • Reverse a sale transaction and create a credit transaction, which requires the transaction_id and authorization_code of the original transaction

AUTHORIZATION Basic Auth
Username      {{apiaccessid}}
Password       {{apisecurekey}}
Body raw
				
					{
    "action":"sale",
    "authorization_amount": 240.52,
    "billing_address":{
       "first_name": "Marty",
       "last_name": "McFly"
    },
    "echeck":{
       "sec_code": "WEB",
       "account_type": "Checking",
       "routing_number": "021000021",
       "account_number": "000111222",
       "account_holder": "Marty McFly"
    }
}
				
			

Example Request

				
					curl --location -g 'https://api.forte.net/v3/organizations/org_{{organizationID}}/locations/loc_{{locationID}}/transactions' \
--header 'Authorization: {{Authorization}}' \
--header 'Accept: application/json' \
--header 'X-Forte-Auth-Organization-Id: org_{{AuthOrganizationID}}' \
--header 'Content-Type: application/json' \
--data '{
    "action":"sale",
    "authorization_amount": 240.52,
    "billing_address":{
       "first_name": "Marty",
       "last_name": "McFly"
    },
    "echeck":{
       "sec_code": "WEB",
       "account_type": "Checking",
       "routing_number": "021000021",
       "account_number": "000111222",
       "account_holder": "Marty McFly"
    }
}'
				
			

Example Response

				
					{
  "transaction_id": "trn_ea2d1204-9672-482e-83a2-6e9bb9347051",
  "location_id": "loc_192642",
  "action": "sale",
  "authorization_amount": 240.52,
  "entered_by": "4fefaf5f77d944ce10bdd3d88f7a2da9",
  "billing_address": {
    "first_name": "Marty",
    "last_name": "McFly"
  },
  "echeck": {
    "account_holder": "Marty McFly",
    "masked_account_number": "****1222",
    "last_4_account_number": "1222",
    "routing_number": "021000021",
    "account_type": "checking",
    "sec_code": "WEB"
  },
  "response": {
    "environment": "live",
    "response_type": "A",
    "response_code": "A01",
    "response_desc": "APPROVED",
    "authorization_code": "17339493",
    "preauth_result": "POS",
    "preauth_desc": "P70:VALIDATED"
  }
}
				
			

POST Transaction (Alternative URI)

				
					{{baseURI}}/organizations/org_{{organizationID}}/transactions
				
			

This URI can perform the following tasks while returning a new transaction_id:

  • Create an ad-hoc transaction
  • Create a transaction based on the customer token using the default billing address
  • Create a transaction based on the customer and paymethod tokens using the customer default billing address
  • Create a transaction based on the paymethod token, which requires the address in the request message
  • Reverse a sale transaction and create a credit transaction, which requires the transaction_id and authorization_code of the original transaction

NOTE: This endpoint does not specify the location of the transaction in the endpoint; rather, the location_id parameter is included in the body of the request.

AUTHORIZATION Basic Auth
Username      {{apiaccessid}}
Password       {{apisecurekey}}
Body raw
				
					{
    "location_id": "loc_192642",
    "action":"sale",
    "authorization_amount": 102.45,
    "subtotal_amount": 99.95,
    "billing_address":{
     "first_name": "Jennifer",
     "last_name": "McFly"
  },
  "card":{
     "card_type": "visa",
     "name_on_card": "Jennifer McFly",
     "account_number": "4111111111111111",
     "expire_month": "12",
     "expire_year": "2017",
     "card_verification_value":"123"
  }
}
				
			

Example Request

				
					curl --location -g 'https://api.forte.net/v3/organizations/org_{{organizationID}}/transactions' \
--header 'Authorization: {{Authorization}}' \
--header 'Accept: application/json' \
--header 'X-Forte-Auth-Organization-Id: org_{{AuthOrganizationID}}' \
--header 'Content-Type: application/json' \
--data '{
    "location_id": "loc_192642",
    "action":"sale",
    "authorization_amount": 102.45,
    "subtotal_amount": 99.95,
    "billing_address":{
     "first_name": "Jennifer",
     "last_name": "McFly"
  },
  "card":{
     "card_type": "visa",
     "name_on_card": "Jennifer McFly",
     "account_number": "4111111111111111",
     "expire_month": "12",
     "expire_year": "2017",
     "card_verification_value":"123"
  }
}'
				
			

Example Response

				
					{
  "transaction_id": "trn_8e1e070e-ec96-4fbf-95d1-a076b728e419",
  "location_id": "loc_192642",
  "action": "sale",
  "authorization_amount": 102.45,
  "entered_by": "4fefaf5f77d944ce10bdd3d88f7a2da9",
  "billing_address": {
    "first_name": "Jennifer",
    "last_name": "McFly"
  },
  "card": {
    "name_on_card": "Jennifer McFly",
    "last_4_account_number": "1111",
    "masked_account_number": "****1111",
    "expire_month": 12,
    "expire_year": 2017,
    "card_type": "visa"
  },
  "response": {
    "environment": "live",
    "response_type": "A",
    "response_code": "A01",
    "response_desc": "TEST APPROVAL",
    "authorization_code": "123456",
    "avs_result": "Y",
    "cvv_result": "M"
  }
}
				
			

POST Sale Transaction

				
					{{baseURI}}/organizations/org_{{organizationID}}/locations/loc_{{locationID}}/transactions/sale
				
			

A sale transaction is used to collect funds from a customer’s debit/credit card or bank account in exchange for goods or services. The sale action creates an authorization request and a capture operation in one step. Use this URI to create a sale transaction by appending the sale action to the end of the URI. You can also create a sale transaction by including the "action"="sale" parameter in the body of a request to the /organizations/{organization_id}/transactions URI.

AUTHORIZATION Basic Auth
Username      {{apiaccessid}}
Password       {{apisecurekey}}
Body raw
				
					{
    "authorization_amount": 102.45,
    "subtotal_amount": 99.95,
    "billing_address":{
     "first_name": "Jennifer",
     "last_name": "McFly"
  },
  "card":{
     "card_type": "visa",
     "name_on_card": "Jennifer McFly",
     "account_number": "4111111111111111",
     "expire_month": "12",
     "expire_year": "2017",
     "card_verification_value":"123"
  }
}
				
			

Example Request

				
					curl --location -g 'https://api.forte.net/v3/organizations/org_{{organizationID}}/locations/loc_{{locationID}}/transactions/sale' \
--header 'Authorization: {{Authorization}}' \
--header 'Accept: application/json' \
--header 'X-Forte-Auth-Organization-Id: org_{{AuthOrganizationID}}' \
--header 'Content-Type: application/json' \
--data '{
    "authorization_amount": 102.45,
    "subtotal_amount": 99.95,
    "billing_address":{
     "first_name": "Jennifer",
     "last_name": "McFly"
  },
  "card":{
     "card_type": "visa",
     "name_on_card": "Jennifer McFly",
     "account_number": "4111111111111111",
     "expire_month": "12",
     "expire_year": "2017",
     "card_verification_value":"123"
  }
}'
				
			

Example Response

				
					{
  "transaction_id": "trn_659c0afa-3a3f-496b-8553-1a52ac029168",
  "location_id": "loc_192642",
  "action": "sale",
  "authorization_amount": 102.45,
  "entered_by": "4fefaf5f77d944ce10bdd3d88f7a2da9",
  "billing_address": {
    "first_name": "Jennifer",
    "last_name": "McFly"
  },
  "card": {
    "name_on_card": "Jennifer McFly",
    "last_4_account_number": "1111",
    "masked_account_number": "****1111",
    "expire_month": 12,
    "expire_year": 2017,
    "card_type": "visa"
  },
  "response": {
    "environment": "live",
    "response_type": "A",
    "response_code": "A01",
    "response_desc": "TEST APPROVAL",
    "authorization_code": "123456",
    "avs_result": "Y",
    "cvv_result": "M"
  }
}
				
			

POST Credit Transaction

				
					{{baseURI}}/organizations/org_{{organizationID}}/locations/loc_{{locationID}}/transactions/credit
				
			

A credit transaction is used to send funds to a bank account or credit/debit card. Typically, merchants use this action to refund a customer for a returned good or for payroll distributions. This URI creates a credit transaction by appending the credit action to the end of the URI. You can also create a credit transaction by including the "action"="credit" parameter in the body of a request to the /organizations/{organization_id}/transactions URI.

AUTHORIZATION Basic Auth
Username      {{apiaccessid}}
Password       {{apisecurekey}}
Body raw
				
					{
    "authorization_amount": 102.45,
    "subtotal_amount": 99.95,
    "billing_address":{
     "first_name": "Jennifer",
     "last_name": "McFly"
  },
  "card":{
     "card_type": "visa",
     "name_on_card": "Jennifer McFly",
     "account_number": "4111111111111111",
     "expire_month": "12",
     "expire_year": "2017",
     "card_verification_value":"123"
  }
}
				
			

Example Request

				
					curl --location -g 'https://api.forte.net/v3/organizations/org_{{organizationID}}/locations/loc_{{locationID}}/transactions/credit' \
--header 'Authorization: {{Authorization}}' \
--header 'Accept: application/json' \
--header 'X-Forte-Auth-Organization-Id: org_{{AuthOrganizationID}}' \
--header 'Content-Type: application/json' \
--data '{
    "authorization_amount": 102.45,
    "subtotal_amount": 99.95,
    "billing_address":{
     "first_name": "Jennifer",
     "last_name": "McFly"
  },
  "card":{
     "card_type": "visa",
     "name_on_card": "Jennifer McFly",
     "account_number": "4111111111111111",
     "expire_month": "12",
     "expire_year": "2017",
     "card_verification_value":"123"
  }
}'
				
			

Example Response

				
					{
  "transaction_id": "trn_8dfc1f75-d0b2-495b-87eb-bc7636000229",
  "location_id": "loc_192642",
  "action": "credit",
  "authorization_amount": 102.45,
  "entered_by": "4fefaf5f77d944ce10bdd3d88f7a2da9",
  "billing_address": {
    "first_name": "Jennifer",
    "last_name": "McFly"
  },
  "card": {
    "name_on_card": "Jennifer McFly",
    "last_4_account_number": "1111",
    "masked_account_number": "****1111",
    "expire_month": 12,
    "expire_year": 2017,
    "card_type": "visa"
  },
  "response": {
    "environment": "live",
    "response_type": "A",
    "response_code": "A01",
    "response_desc": "TEST APPROVAL",
    "authorization_code": "123456",
    "avs_result": "Y",
    "cvv_result": "M"
  }
}
				
			

POST Authorize Transaction

				
					{{baseURI}}/organizations/org_{{organizationID}}/locations/loc_{{locationID}}/transactions/authorize
				
			

An authorization validates funds and occurs at the time of the transaction–such as when a card is swiped at a point-of-sale terminal. In a matter of seconds, a request is sent on behalf of the merchant and authorizations are approved or declined by the issuing bank. Authorizations ensure that cardholders have sufficient funds/credit limits available to complete the transaction. Forte supports both full and partial authorizations. Authorizations should be performed when the capture of the funds will be initiated later. If the intent is to authorize the transaction and capture the funds immediately, a sale transaction should be sent instead of authorization and capture.

This URI creates an authorize transaction by appending the authorize action to the end of the URI. You can also create an authorize transaction by including the "action"="authorize" parameter in the body of a request to the /organizations/{organization_id}/transactions URI.

AUTHORIZATION Basic Auth
Username      {{apiaccessid}}
Password       {{apisecurekey}}
Body raw
				
					{
    "authorization_amount": 102.45,
    "subtotal_amount": 99.95,
    "billing_address":{
     "first_name": "Jennifer",
     "last_name": "McFly"
  },
  "card":{
     "card_type": "visa",
     "name_on_card": "Jennifer McFly",
     "account_number": "4111111111111111",
     "expire_month": "12",
     "expire_year": "2017",
     "card_verification_value":"123"
  }
}
				
			

Example Request

				
					curl --location -g 'https://api.forte.net/v3/organizations/org_{{organizationID}}/locations/loc_{{locationID}}/transactions/authorize' \
--header 'Authorization: {{Authorization}}' \
--header 'Accept: application/json' \
--header 'X-Forte-Auth-Organization-Id: org_{{AuthOrganizationID}}' \
--header 'Content-Type: application/json' \
--data '{
    "authorization_amount": 102.45,
    "subtotal_amount": 99.95,
    "billing_address":{
     "first_name": "Jennifer",
     "last_name": "McFly"
  },
  "card":{
     "card_type": "visa",
     "name_on_card": "Jennifer McFly",
     "account_number": "4111111111111111",
     "expire_month": "12",
     "expire_year": "2017",
     "card_verification_value":"123"
  }
}'
				
			

Example Response

				
					{
  "transaction_id": "trn_72653a06-3c32-4d82-8a70-9513bdc15aef",
  "location_id": "loc_192642",
  "action": "authorize",
  "authorization_amount": 102.45,
  "entered_by": "4fefaf5f77d944ce10bdd3d88f7a2da9",
  "billing_address": {
    "first_name": "Jennifer",
    "last_name": "McFly"
  },
  "card": {
    "name_on_card": "Jennifer McFly",
    "last_4_account_number": "1111",
    "masked_account_number": "****1111",
    "expire_month": 12,
    "expire_year": 2017,
    "card_type": "visa"
  },
  "response": {
    "environment": "live",
    "response_type": "A",
    "response_code": "A01",
    "response_desc": "APPROVAL",
    "authorization_code": "123456",
    "avs_result": "Y",
    "cvv_result": "M"
  }
}
				
			

POST Forte Verify Transaction

				
					{{baseURI}}/organizations/org_{{organizationID}}/locations/loc_{{locationID}}/transactions/verify
				
			

NOTE: Forte Verify requires a subscription.

Forte Verify is a service that automatically performs pre-authorization checks on EFT account numbers to ensure the account is valid and in good standing. This URI creates a Forte Verify transaction by appending the verify action to the end of the URI. You can also create a Forte Verify transaction by including the "action"="verify" parameter in the body of a request to the /organizations/{organization_id}/transactions URI.

AUTHORIZATION Basic Auth
Username      {{apiaccessid}}
Password       {{apisecurekey}}
Body raw
				
					{
    "authorization_amount": "",
    "billing_address":{
     "first_name": "Jennifer",
     "last_name": "McFly",
     "phone": "444-444-4444",
     "physical_address": {
       "street_line1": "8003 Clock Tower Ln",
       "street_line2": "Suite 200",
       "locality": "Hill Valley",
       "region": "CA",
       "postal_code": "95420"
      }
  },
  "card":{
     "card_type": "visa",
     "name_on_card": "Jennifer McFly",
     "account_number": "4111111111111111",
     "expire_month": "12",
     "expire_year": "2017",
     "card_verification_value":"123"
  }
}
				
			

Example Request

				
					curl --location -g 'https://api.forte.net/v3/organizations/org_{{organizationID}}/locations/loc_{{locationID}}/transactions/verify' \
--header 'Authorization: {{Authorization}}' \
--header 'Accept: application/json' \
--header 'X-Forte-Auth-Organization-Id: org_{{AuthOrganizationID}}' \
--header 'Content-Type: application/json' \
--data '{
    "authorization_amount": "0.00",
    "billing_address":{
     "first_name": "Jennifer",
     "last_name": "McFly",
     "phone": "444-444-4444",
     "physical_address": {
       "street_line1": "8003 Clock Tower Ln",
       "street_line2": "Suite 200",
       "locality": "Hill Valley",
       "region": "CA",
       "postal_code": "95420"
      }
  },
  "echeck":{
      "account_type": "Checking",
     "routing_number": "021000021",
     "account_number": "000111222",
     "account_holder": "Forte Verify"
  }
}
'
				
			

Example Response

				
					{
  "transaction_id": "trn_633c067c-8335-47d3-a04e-8a70a1536068",
  "location_id": "loc_173185",
  "action": "verify",
  "entered_by": "ce71ece4f900dcb11b30e511b0b97ea6",
  "billing_address": {
    "first_name": "Jennifer",
    "last_name": "McFly",
    "phone": "444-444-4444",
    "physical_address": {
      "street_line1": "8003 Clock Tower Ln",
      "street_line2": "Suite 200",
      "locality": "Hill Valley",
      "region": "CA",
      "postal_code": "95420"
    }
  },
  "echeck": {
    "account_holder": "Forte Verify",
    "masked_account_number": "****1222",
    "last_4_account_number": "1222",
    "routing_number": "021000021",
    "account_type": "checking"
  },
  "response": {
    "environment": "live",
    "response_type": "D",
    "response_code": "U80",
    "response_desc": "PREAUTH DECLINE",
    "preauth_result": "NEG",
    "preauth_desc": "P15:HIGH RISK"
  },
  "links": {
    "disputes": "https://api.forte.net/v3/transactions/trn_633c067c-8335-47d3-a04e-8a70a1536068/disputes",
    "settlements": "https://api.forte.net/v3/transactions/trn_633c067c-8335-47d3-a04e-8a70a1536068/settlements",
    "self": "https://api.forte.net/v3/transactions/trn_633c067c-8335-47d3-a04e-8a70a1536068/"
  }
}
				
			

POST Authenticate Transaction

				
					{{baseURI}}/organizations/org_{{organizationID}}/locations/loc_{{locationID}}/transactions/authenticate
				
			

NOTE: Authenticate requires a subscription.

Authenticate is a service that will verify the ownership of bank accounts. This service will verify if the given person/business (identified by the First & Last name or Business Name) is the owner of a given bank account. This URI creates an Authenticate transaction by appending the authenticate action to the end of the URI. You can also create an Authenticate transaction by including the "action"="authenticate" parameter in the body of a request to the /organizations/{organization_id}/transactions URI.

AUTHORIZATION Basic Auth
Username      {{apiaccessid}}
Password       {{apisecurekey}}
Body raw
				
					{
   "action":"authenticate",
   "authorization_amount": "1.00",
    "billing_address":{
     "first_name": "Jennifer",
     "last_name": "McFly"
  },
  "echeck":{
     "account_number": "91222160453",
     "routing_number": "122199983",
     "account_type":"checking"
  }
}

				
			

Example Request

				
					curl --location -g '{{baseURI}}/organizations/org_{{organizationID}}/locations/loc_{{locationID}}/transactions/authenticate' \
--header 'Content-Type: application/x-www-form-urlencoded' \
--data '{
    "action":"authenticate",
    "authorization_amount":"1.00",
    "billing_address":{
     "first_name": "Jennifer",
     "last_name": "McFly",
      }
  },
  "echeck":{
     "account_number": "91222160453",
     "routing_number": "122199983",
     "account_type": "checking"
  }
}'
				
			

Example Response

				
					 {
   "action":"authenticate",
   "authorization_amount": "1.00",
    "billing_address":{
     "first_name": "Jennifer",
     "last_name": "McFly"
  },
  "echeck":{
     "account_number": "91222160453",
     "routing_number": "122199983",
     "account_type":"checking"
  }
}

 {
    "transaction_id": "trn_076c9020-3b24-4ede-ad0a-4080177a991a",
    "location_id": "loc_224805",
    "action": "authenticate",
    "authorization_amount": 1.00,
    "entered_by": "5ac9543ed4e892bb3da595e7192c9fd6",
    "billing_address": {
        "first_name": "Jennifer",
        "last_name": "McFly"
    },
    "echeck": {
        "masked_account_number": "****0453",
        "last_4_account_number": "0453",
        "routing_number": "122199983",
        "account_type": "checking"
    },
    "response": {
        "environment": "live",
        "response_type": "M",
        "response_code": "A05",
        "response_desc": "FIRST & LAST NAME  MATCH",
        "preauth_result": "POS",
        "preauth_desc": "MATCH",
        "ownership_match": "Y|Y|Y|"
    },
    "links": {
"disputes": "https://api.forte.net/v3/transactions/trn_076c9020-3b24-4ede-ad0a-4080177a991a/disputes",
"settlements": "https://api.forte.net/v3/transactions/trn_076c9020-3b24-4ede-ad0a-4080177a991a/settlements",
 "self": "https://api.forte.net/v3/transactions/trn_076c9020-3b24-4ede-ad0a-4080177a991a/"
    }
}


				
			

POST Force Transaction

				
					{{baseURI}}/organizations/org_{{organizationID}}/locations/loc_{{locationID}}/transactions/force
				
			

A force transaction captures the funds of an echeck transaction by bypassing verification or authorization functionality. Merchants should verify or authorize force operations prior to performing them. This URI creates a force transaction by appending the force action to the end of the URI. You can also create a force transaction by including the "action"="force" parameter in the body of a request to the /organizations/{organization_id}/transactions URI.

AUTHORIZATION Basic Auth
Username      {{apiaccessid}}
Password       {{apisecurekey}}
Body raw
				
					{
       "authorization_amount":1.00,
       "authorization_code":"123456",
       "billing_address":{
          "first_name":"Emmett",
          "last_name":"Brown",
          "physical_address":{
             "street_line1":"2123 Einstein Way",
             "street_line2":"Suite 200",
             "locality":"Hill Valley",
             "region":"CA",
             "country": "US",
             "postal_code":"90217"
         }
      },
      "card":{
         "card_type":"visa",
         "name_on_card":"Emmett Brown",
         "account_number":"4012888888881881",
         "expire_month":02,
         "expire_year":2019,
         "customer_accounting_code":"123"
     }
}
				
			

Example Request

				
					curl --location -g 'https://api.forte.net/v3/organizations/org_{{organizationID}}/locations/loc_{{locationID}}/transactions/force' \
--header 'Authorization: {{Authorization}}' \
--header 'Accept: application/json' \
--header 'X-Forte-Auth-Organization-Id: org_{{AuthOrganizationID}}' \
--header 'Content-Type: application/json' \
--data '{
       "authorization_amount":1.00,
       "authorization_code":"123456",
       "billing_address":{
          "first_name":"Emmett",
          "last_name":"Brown",
          "physical_address":{
             "street_line1":"2123 Einstein Way",
             "street_line2":"Suite 200",
             "locality":"Hill Valley",
             "region":"CA",
             "postal_code":"90217"
         }
      },
      "card":{
         "card_type":"visa",
         "name_on_card":"Emmett Brown",
         "account_number":"4012888888881881",
         "expire_month":02,
         "expire_year":2019,
         "customer_accounting_code":"123"
     }
}'
				
			

Example Response

				
					{
  "transaction_id": "trn_7ac51dbc-e163-4bc1-8873-c696463777e4",
  "location_id": "loc_192642",
  "action": "force",
  "authorization_amount": 1,
  "authorization_code": "123456",
  "entered_by": "4fefaf5f77d944ce10bdd3d88f7a2da9",
  "billing_address": {
    "first_name": "Emmett",
    "last_name": "Brown",
    "physical_address": {
      "street_line1": "2123 Einstein Way",
      "street_line2": "Suite 200",
      "locality": "Hill Valley",
      "region": "CA",
      "country": "US",
      "postal_code": "90217"
    }
  },
  "card": {
    "name_on_card": "Emmett Brown",
    "last_4_account_number": "1881",
    "masked_account_number": "****1881",
    "customer_accounting_code": "123",
    "card_type": "visa"
  },
  "response": {
    "environment": "live",
    "response_type": "A",
    "response_code": "A01",
    "response_desc": "TEST APPROVAL",
    "authorization_code": "123456"
  }
}
				
			

POST Transaction from a One-Time Token

				
					{{baseURI}}/organizations/org_{{organizationID}}/locations/loc_{{locationID}}/transactions
				
			

One-time tokens require a Forte.js integration. Forte.js is a script you can add to your payment form that sends sensitive payment data to Forte (instead of the directly to your server) in return for a one-time token. This one-time token keeps sensitive data safe and reduces your Payment Card Industry Data Security Standard (PCI-DSS) obligations and scope. One-time tokens expire after 60 minutes.

AUTHORIZATION Basic Auth
Username      {{apiaccessid}}
Password       {{apisecurekey}}
Body raw
				
					{
       "action":"sale", 
       "authorization_amount":1.00,
       "billing_address":{
          "first_name":"Emmett",
          "last_name":"Brown"
       },
       "card":{
          "one_time_token":"ott_tq0hemmmtf-zsxgp689rew"
       }
}
				
			

Example Request

				
					curl --location -g 'https://api.forte.net/v3/organizations/org_{{organizationID}}/locations/loc_{{locationID}}/transactions' \
--header 'Authorization: {{Authorization}}' \
--header 'Accept: application/json' \
--header 'X-Forte-Auth-Organization-Id: org_{{AuthOrganizationID}}' \
--header 'Content-Type: application/json' \
--data '{
       "action":"sale", 
       "authorization_amount":1.00,
       "billing_address":{
          "first_name":"Emmett",
          "last_name":"Brown"
       },
       "card":{
          "one_time_token":"ott_tq0hemmmtf-zsxgp689rew"
       }
}'
				
			

Example Response

				
					{
  "transaction_id": "trn_4aa187d1-330a-4993-96a0-3d83f321c5d4",
  "location_id": "loc_192642",
  "action": "sale",
  "authorization_amount": 1,
  "entered_by": "4fefaf5f77d944ce10bdd3d88f7a2da9",
  "billing_address": {
    "first_name": "Emmett",
    "last_name": "Brown"
  },
  "card": {
    "one_time_token": "ott_tq0hemmmtf-zsxgp689rew"
  },
  "response": {
    "environment": "live",
    "response_type": "A",
    "response_code": "A01",
    "response_desc": "APPROVED"
  }
}
				
			

POST Transaction with Line Items

				
					{{baseURI}}/organizations/org_{{organizationID}}/locations/loc_{{locationID}}/transactions
				
			

Line items require both a line_item_header and a numbered line item field (line_item_1). You can include up to 100 fields of line items (e.g., name, quantity, price, etc.)

AUTHORIZATION Basic Auth
Username      {{apiaccessid}}
Password       {{apisecurekey}}
Body raw
				
					{
       "action":"sale",
       "authorization_amount": 109.49,
       "billing_address":{
          "first_name": "Emmett",
          "last_name": "Brown"
       },
       "echeck":{
          "sec_code": "WEB",
          "account_type": "Checking",
          "routing_number": "021000021",
          "account_number": "000111222",
          "account_holder": "Emmett Brown"
       },
       "line_items":{
          "line_item_header":"SKU,Price,Qty",
          "line_item_1":"021000021,45.00,2",
          "line_item_2":"021000022,36.99,10",
          "line_item_3":"021000023,27.50,7"
      }
}
				
			

Example Request

				
					curl --location -g 'https://api.forte.net/v3/organizations/org_{{organizationID}}/locations/loc_{{locationID}}/transactions' \
--header 'Authorization: {{Authorization}}' \
--header 'Accept: application/json' \
--header 'X-Forte-Auth-Organization-Id: org_{{AuthOrganizationID}}' \
--header 'Content-Type: application/json' \
--data '{
       "action":"sale",
       "authorization_amount": 109.49,
       "billing_address":{
          "first_name": "Emmett",
          "last_name": "Brown"
       },
       "echeck":{
          "sec_code": "WEB",
          "account_type": "Checking",
          "routing_number": "021000021",
          "account_number": "000111222",
          "account_holder": "Emmett Brown"
       },
       "line_items":{
          "line_item_header":"SKU,Price,Qty",
          "line_item_1":"021000021,45.00,2",
          "line_item_2":"021000022,36.99,10",
          "line_item_3":"021000023,27.50,7"
      }
}'
				
			

Example Response

				
					{
  "transaction_id": "trn_f9ffe880-c1ae-476e-9885-14584a8734d2",
  "location_id": "loc_192642",
  "action": "sale",
  "authorization_amount": 109.49,
  "entered_by": "4fefaf5f77d944ce10bdd3d88f7a2da9",
  "billing_address": {
    "first_name": "Emmett",
    "last_name": "Brown"
  },
  "echeck": {
    "account_holder": "Emmett Brown",
    "masked_account_number": "****1222",
    "last_4_account_number": "1222",
    "routing_number": "021000021",
    "account_type": "checking",
    "sec_code": "WEB"
  },
  "line_items": {
    "line_item_header": "SKU,Price,Qty",
    "line_item_1": "021000021,45.00,2",
    "line_item_2": "021000022,36.99,10",
    "line_item_3": "021000023,27.50,7"
  },
  "response": {
    "environment": "live",
    "response_type": "A",
    "response_code": "A01",
    "response_desc": "APPROVED",
    "authorization_code": "18079003",
    "preauth_result": "POS",
    "preauth_desc": "P70:VALIDATED"
  }
}
				
			

POST Transaction with XDATA

				
					{{baseURI}}/organizations/org_{{organizationID}}/locations/loc_{{locationID}}/transactions
				
			

You can include up to nine xdata fields. Each field can contain up to 80 characters. NOTE: Values within this field cannot contain double quotation characters (i.e., “text”); Forte supports single quotation characters (i.e., ‘text’). If you require double quotation characters within this value, use HTML escape characters to ensure the information properly displays (e.g., xdata_1="Marco's &#147;Place&#148;").

AUTHORIZATION Basic Auth
Username      {{apiaccessid}}
Password       {{apisecurekey}}
Body raw
				
					{
       "action":"sale",
       "customer_token":"cst_h_TrrHANEU6XjmMV_EMVrA",
       "paymethod_token":"mth_cp459q53Q0W5wJdMG35f1w",
       "reference_id": "000159",
       "authorization_amount": 1.00,
       "entered_by":"Griff Tannen",
       "sales_tax_amount": 0.25,
       "xdata":{
          "xdata_1":"Branch 00189",
          "xdata_2":"Hill Valley, CA",
          "xdata_3":"Region WEST"
       }
}
				
			

Example Request

				
					curl --location -g 'https://api.forte.net/v3/organizations/org_{{organizationID}}/locations/loc_{{locationID}}/transactions' \
--header 'Authorization: {{Authorization}}' \
--header 'Accept: application/json' \
--header 'X-Forte-Auth-Organization-Id: org_{{AuthOrganizationID}}' \
--header 'Content-Type: application/json' \
--data '{
       "action":"sale",
       "customer_token":"cst_h_TrrHANEU6XjmMV_EMVrA",
       "paymethod_token":"mth_cp459q53Q0W5wJdMG35f1w",
       "reference_id": "000159",
       "authorization_amount": 1.00,
       "entered_by":"Griff Tannen",
       "sales_tax_amount": 0.25,
       "xdata":{
          "xdata_1":"Branch 00189",
          "xdata_2":"Hill Valley, CA",
          "xdata_3":"Region WEST"
       }
}'
				
			

Example Response

				
					{
  "transaction_id": "trn_d7e58292-8471-4c81-b7db-09fe3dd4efd8",
  "location_id": "loc_192642",
  "customer_token": "cst_h_TrrHANEU6XjmMV_EMVrA",
  "paymethod_token": "mth_cp459q53Q0W5wJdMG35f1w",
  "reference_id": "000159",
  "action": "sale",
  "authorization_amount": 1,
  "sales_tax_amount": 0.25,
  "entered_by": "Griff Tannen",
  "xdata": {
    "xdata_1": "Branch 00189",
    "xdata_2": "Hill Valley, CA",
    "xdata_3": "Region WEST"
  },
  "response": {
    "environment": "live",
    "response_type": "A",
    "response_code": "A01",
    "response_desc": "TEST APPROVAL",
    "authorization_code": "123456",
    "avs_result": "Y",
    "cvv_result": "M",
    "customer_token": "cst_h_TrrHANEU6XjmMV_EMVrA",
    "paymethod_token": "mth_cp459q53Q0W5wJdMG35f1w"
  }
}
				
			

POST Fully Refund a Transaction

				
					{{baseURI}}/organizations/org_{{organizationID}}/locations/loc_{{locationID}}/transactions
				
			

A reverse (i.e., refund) takes the original charge from a billing account and retracts it (e.g., reversed sales will have a disbursement or credit performed). Forte supports both full and partial reversals. Reversals can be performed on sale transactions that have been settled (credit cards) or funded (echecks). Including the reverse action in the body of your request automatically generates a credit transaction. The original_transaction_id and the authorization_code must also be included in the body of the request.

AUTHORIZATION Basic Auth
Username      {{apiaccessid}}
Password       {{apisecurekey}}
Body raw
				
					{
       "action":"reverse", 
       "authorization_amount":104.95,
       "original_transaction_id":"trn_eb28a71e-377c-41a2-89de-bfa7bd47ecd2",
       "authorization_code":"9ZQ754"
}
				
			

Example Request

				
					curl --location -g 'https://api.forte.net/v3/organizations/org_{{organizationID}}/locations/loc_{{locationID}}/transactions' \
--header 'Authorization: {{Authorization}}' \
--header 'Accept: application/json' \
--header 'X-Forte-Auth-Organization-Id: org_{{AuthOrganizationID}}' \
--header 'Content-Type: application/json' \
--data '{
       "action":"reverse", 
       "authorization_amount":104.95,
       "original_transaction_id":"trn_05169f58-241f-45b0-a335-3569d4a4e13e",
       "authorization_code":"123456"
}'
				
			

Example Response

				
					{
  "transaction_id": "trn_5354c405-f9bb-4d72-a7b1-7befdce75270",
  "location_id": "loc_192642",
  "original_transaction_id": "trn_05169f58-241f-45b0-a335-3569d4a4e13e",
  "action": "credit",
  "authorization_amount": 104.95,
  "authorization_code": "123456",
  "entered_by": "4fefaf5f77d944ce10bdd3d88f7a2da9",
  "billing_address": {
    "first_name": "Jennifer",
    "last_name": "McFly"
  },
  "response": {
    "environment": "live",
    "response_type": "A",
    "response_code": "A01",
    "response_desc": "TEST APPROVAL",
    "authorization_code": "123456",
    "avs_result": "Y",
    "cvv_result": "M"
  }
}
				
			

POST Partially Refund a Transaction

				
					{{baseURI}}/organizations/org_{{organizationID}}/locations/loc_{{locationID}}/transactions
				
			

A reverse (i.e., refund) takes the original charge from a billing account and retracts it (e.g., reversed sales will have a disbursement or credit performed). Forte supports both full and partial reversals. Reverses can be performed on sale transactions that have been settled (credit cards) or funded (echecks). Including the reverse action in the body of your request automatically generates a credit transaction. The original_transaction_id and the authorization_code must also be included in the body of the request.

AUTHORIZATION Basic Auth
Username      {{apiaccessid}}
Password       {{apisecurekey}}
Body raw
				
					{
       "action":"reverse", 
       "authorization_amount":50.00,
       "original_transaction_id":"trn_eb28a71e-377c-41a2-89de-bfa7bd47ecd2",
       "authorization_code":"9ZQ754"
}
				
			

Example Request

				
					curl --location -g '{{baseURI}}/organizations/org_{{organizationID}}/locations/loc_{{locationID}}/transactions' \
--header 'Authorization: {{Authorization}}' \
--header 'Accept: application/json' \
--header 'X-Forte-Auth-Organization-Id: org_{{AuthOrganizationID}}' \
--header 'Content-Type: application/json' \
--data '{
       "action":"reverse", 
       "authorization_amount":50.00,
       "original_transaction_id":"trn_eb28a71e-377c-41a2-89de-bfa7bd47ecd2",
       "authorization_code":"9ZQ754"
}'
				
			

Example Response

				
					{
  "transaction_id": "trn_62a776c7-d7d3-48aa-a5d3-873d0773ad24",
  "location_id": "loc_124125",
  "original_transaction_id": "trn_eb28a71e-377c-41a2-89de-bfa7bd47ecd2",
  "action": "credit",
  "authorization_amount": 50,
  "authorization_code": "2SB997",
  "entered_by": "9b26093587d09d0f1a847083b2e605c1",
  "billing_address": {
    "first_name": "Jennifer",
    "last_name": "McFly"
  },
  "response": {
    "environment": "live",
    "response_type": "A",
    "response_code": "A01",
    "response_desc": "TEST APPROVAL",
    "authorization_code": "2SB997",
    "avs_result": "Y",
    "cvv_result": "M"
  },
  "links": {
    "disputes": "https://api.forte.net/v3/transactions/trn_62a776c7-d7d3-48aa-a5d3-873d0773ad24/disputes",
    "settlements": "https://api.forte.net/v3/transactions/trn_62a776c7-d7d3-48aa-a5d3-873d0773ad24/settlements",
    "self": "https://api.forte.net/v3/transactions/trn_62a776c7-d7d3-48aa-a5d3-873d0773ad24/"
  }
}
				
			

GET All Transactions

				
					{{baseURI}}/organizations/org_{{organizationID}}/locations/loc_{{locationID}}/transactions/
				
			

This URI returns all transactions for a location.

AUTHORIZATION Basic Auth
Username      {{apiaccessid}}
Password       {{apisecurekey}}

Example Request

				
					curl --location -g 'https://api.forte.net/v3/organizations/org_{{organizationID}}/locations/loc_{{locationID}}/transactions/' \
--header 'Authorization: {{Authorization}}' \
--header 'Accept: application/json' \
--header 'X-Forte-Auth-Organization-Id: org_{{AuthOrganizationID}}'
				
			

Example Response

				
					{
  "number_results": 3,
  "search_criteria": {
    "page_size": 50,
    "page_index": 0,
    "home_organization_id": "org_300005",
    "resource_specific": {
      "location_id": "loc_115161",
      "start_received_date": "2018-05-05T07:52:32.9895316-07:00",
      "end_received_date": "2018-08-03T07:52:32.9895316-07:00"
    }
  },
  "results": [
    {
      "transaction_id": "trn_5acbc87c-0277-4f43-8f09-643cefdc131e",
      "organization_id": "org_300005",
      "location_id": "loc_115161",
      "status": "ready",
      "action": "sale",
      "authorization_amount": 3.5,
      "authorization_code": "123456",
      "entered_by": "jayashri.srivelu-nam",
      "received_date": "2018-05-30T13:57:32.257",
      "billing_address": {
        "first_name": "test",
        "last_name": "ach"
      },
      "card": {
        "last_4_account_number": "1111",
        "masked_account_number": "****1111",
        "card_type": "visa"
      },
      "response": {
        "response_code": "A01",
        "authorization_code": "123456"
      },
      "links": {
        "disputes": "https://api.forte.net/v3/transactions/trn_5acbc87c-0277-4f43-8f09-643cefdc131e/disputes",
        "settlements": "https://api.forte.net/v3/transactions/trn_5acbc87c-0277-4f43-8f09-643cefdc131e/settlements",
        "self": "https://api.forte.net/v3/transactions/trn_5acbc87c-0277-4f43-8f09-643cefdc131e"
      }
    },
    {
      "transaction_id": "trn_35acd4f0-419f-47d2-a2cd-c8ab2a7722bc",
      "organization_id": "org_300005",
      "location_id": "loc_115161",
      "status": "ready",
      "action": "sale",
      "authorization_amount": 2,
      "authorization_code": "21334993",
      "entered_by": "jayashri.srivelu-nam",
      "received_date": "2018-05-30T13:58:15.15",
      "billing_address": {
        "first_name": "test",
        "last_name": "ach"
      },
      "echeck": {
        "masked_account_number": "****3454",
        "last_4_account_number": "3454"
      },
      "attempt_number": 1,
      "response": {
        "response_code": "A01",
        "authorization_code": "21334993"
      },
      "links": {
        "disputes": "https://api.forte.net/v3/transactions/trn_35acd4f0-419f-47d2-a2cd-c8ab2a7722bc/disputes",
        "settlements": "https://api.forte.net/v3/transactions/trn_35acd4f0-419f-47d2-a2cd-c8ab2a7722bc/settlements",
        "self": "https://api.forte.net/v3/transactions/trn_35acd4f0-419f-47d2-a2cd-c8ab2a7722bc"
      }
    },
    {
      "transaction_id": "trn_d81e5f47-d899-4d7e-8e3a-398418921385",
      "organization_id": "org_300005",
      "location_id": "loc_115161",
      "status": "ready",
      "action": "sale",
      "authorization_amount": 6.5,
      "authorization_code": "123456",
      "entered_by": "b9f088229ab4989d499e",
      "received_date": "2018-05-31T06:28:58.373",
      "billing_address": {
        "company_name": "c"
      },
      "card": {
        "last_4_account_number": "0006",
        "masked_account_number": "****0006",
        "card_type": "visa"
      },
      "response": {
        "response_code": "A01",
        "authorization_code": "123456"
      },
      "links": {
        "disputes": "https://api.forte.net/v3/transactions/trn_d81e5f47-d899-4d7e-8e3a-398418921385/disputes",
        "settlements": "https://api.forte.net/v3/transactions/trn_d81e5f47-d899-4d7e-8e3a-398418921385/settlements",
        "self": "https://api.forte.net/v3/transactions/trn_d81e5f47-d899-4d7e-8e3a-398418921385"
      }
    }
  ],
  "response": {
    "environment": "sandbox",
    "response_desc": "Get Successful."
  },
  "links": {
    "self": "https://api.forte.net/v3/transactions/",
    "next": "https://api.forte.net/v3/transactions/?page_index=1"
  }
}
				
			

GET All Sale Transactions

				
					{{baseURI}}/organizations/org_{{organizationID}}/locations/loc_{{locationID}}/transactions/sale
				
			

This URI returns all sale transactions for a location.

AUTHORIZATION Basic Auth
Username      {{apiaccessid}}
Password       {{apisecurekey}}

Example Request

				
					curl --location -g 'https://api.forte.net/v3/organizations/org_{{organizationID}}/locations/loc_{{locationID}}/transactions/sale' \
--header 'Authorization: {{Authorization}}' \
--header 'Accept: application/json' \
--header 'X-Forte-Auth-Organization-Id: org_{{AuthOrganizationID}}'
				
			

Example Response

				
					{
  "number_results": 3,
  "search_criteria": {
    "page_size": 50,
    "page_index": 0,
    "home_organization_id": "org_300005",
    "resource_specific": {
      "location_id": "loc_115161",
      "action": "sale",
      "start_received_date": "2018-05-05T08:04:40.4616114-07:00",
      "end_received_date": "2018-08-03T08:04:40.4616114-07:00"
    }
  },
  "results": [
    {
      "transaction_id": "trn_35acd4f0-419f-47d2-a2cd-c8ab2a7722bc",
      "organization_id": "org_300005",
      "location_id": "loc_115161",
      "status": "ready",
      "action": "sale",
      "authorization_amount": 2,
      "authorization_code": "21334993",
      "entered_by": "jayashri.srivelu-nam",
      "received_date": "2018-05-30T13:58:15.15",
      "billing_address": {
        "first_name": "test",
        "last_name": "ach"
      },
      "echeck": {
        "masked_account_number": "****3454",
        "last_4_account_number": "3454"
      },
      "attempt_number": 2,
      "response": {
        "response_code": "A01",
        "authorization_code": "21334993"
      },
      "links": {
        "disputes": "https://api.forte.net/v3/transactions/trn_35acd4f0-419f-47d2-a2cd-c8ab2a7722bc/disputes",
        "settlements": "https://api.forte.net/v3/transactions/trn_35acd4f0-419f-47d2-a2cd-c8ab2a7722bc/settlements",
        "self": "https://api.forte.net/v3/transactions/trn_35acd4f0-419f-47d2-a2cd-c8ab2a7722bc"
      }
    },
    {
      "transaction_id": "trn_d81e5f47-d899-4d7e-8e3a-398418921385",
      "organization_id": "org_300005",
      "location_id": "loc_115161",
      "status": "ready",
      "action": "sale",
      "authorization_amount": 6.5,
      "authorization_code": "123456",
      "entered_by": "b9f088229ab4989d499e",
      "received_date": "2018-05-31T06:28:58.373",
      "billing_address": {
        "company_name": "c"
      },
      "card": {
        "last_4_account_number": "0006",
        "masked_account_number": "****0006",
        "card_type": "visa"
      },
      "response": {
        "response_code": "A01",
        "authorization_code": "123456"
      },
      "links": {
        "disputes": "https://api.forte.net/v3/transactions/trn_d81e5f47-d899-4d7e-8e3a-398418921385/disputes",
        "settlements": "https://api.forte.net/v3/transactions/trn_d81e5f47-d899-4d7e-8e3a-398418921385/settlements",
        "self": "https://api.forte.net/v3/transactions/trn_d81e5f47-d899-4d7e-8e3a-398418921385"
      }
    },
    {
      "transaction_id": "trn_b12547c2-914f-4e92-9914-295f5559a372",
      "organization_id": "org_300005",
      "location_id": "loc_115161",
      "customer_token": "cst_8Wb88FpYRzeCxDVklXZcHQ",
      "status": "review",
      "action": "sale",
      "authorization_amount": 2.5,
      "entered_by": "Scheduled",
      "received_date": "2018-06-01T06:53:22.32",
      "billing_address": {
        "company_name": "company name"
      },
      "card": {
        "last_4_account_number": "0006",
        "masked_account_number": "****0006",
        "card_type": "visa"
      },
      "response": {
        "response_code": "U54"
      },
      "links": {
        "disputes": "https://api.forte.net/v3/transactions/trn_b12547c2-914f-4e92-9914-295f5559a372/disputes",
        "settlements": "https://api.forte.net/v3/transactions/trn_b12547c2-914f-4e92-9914-295f5559a372/settlements",
        "self": "https://api.forte.net/v3/transactions/trn_b12547c2-914f-4e92-9914-295f5559a372"
      }
    }
  ],
  "response": {
    "environment": "live",
    "response_desc": "Get Successful."
  },
  "links": {
    "self": "https://api.forte.net/v3/transactions/",
    "next": "https://api.forte.net/v3/transactions/?page_index=1"
  }
}
				
			

GET All Credit Transactions

				
					{{baseURI}}/organizations/org_{{organizationID}}/locations/loc_{{locationID}}/transactions/credit
				
			

This URI returns all credit transactions for a location.

AUTHORIZATION Basic Auth
Username      {{apiaccessid}}
Password       {{apisecurekey}}

Example Request

				
					curl --location -g 'https://api.forte.net/v3/organizations/org_{{organization}}/locations/loc_{{location}}/transactions/credit' \
--header 'Authorization: {{Authorization}}' \
--header 'Accept: application/json' \
--header 'X-Forte-Auth-Organization-Id: org_{{AuthOrganizationID}}'
				
			

Example Response

				
					{
  "number_results": 2,
  "search_criteria": {
    "page_size": 50,
    "page_index": 0,
    "home_organization_id": "org_300005",
    "resource_specific": {
      "location_id": "loc_115161",
      "action": "credit",
      "start_received_date": "2018-05-05T08:11:34.8764873-07:00",
      "end_received_date": "2018-08-03T08:11:34.8764873-07:00"
    }
  },
  "results": [
    {
      "transaction_id": "trn_1560df17-c6f2-4150-8b22-eef951692486",
      "organization_id": "org_300005",
      "location_id": "loc_115161",
      "status": "ready",
      "action": "credit",
      "authorization_amount": 2,
      "authorization_code": "22415004",
      "entered_by": "david.ayodele@forte",
      "received_date": "2018-07-25T11:25:21.103",
      "billing_address": {
        "first_name": "test",
        "last_name": "test"
      },
      "echeck": {
        "masked_account_number": "****3434",
        "last_4_account_number": "3434"
      },
      "attempt_number": 1,
      "response": {
        "response_code": "A01",
        "authorization_code": "22415004"
      },
      "links": {
        "disputes": "https://api.forte.net/v3/transactions/trn_1560df17-c6f2-4150-8b22-eef951692486/disputes",
        "settlements": "https://api.forte.net/v3/transactions/trn_1560df17-c6f2-4150-8b22-eef951692486/settlements",
        "self": "https://api.forte.net/v3/transactions/trn_1560df17-c6f2-4150-8b22-eef951692486"
      }
    },
    {
      "transaction_id": "trn_f510202b-340f-4bab-9692-fdc7918449bf",
      "organization_id": "org_300005",
      "location_id": "loc_115161",
      "status": "ready",
      "action": "credit",
      "authorization_amount": 2,
      "authorization_code": "22415005",
      "entered_by": "david.ayodele@forte",
      "received_date": "2018-07-25T11:25:24.973",
      "billing_address": {
        "first_name": "test",
        "last_name": "test"
      },
      "echeck": {
        "masked_account_number": "****3434",
        "last_4_account_number": "3434"
      },
      "attempt_number": 3,
      "response": {
        "response_code": "A01",
        "authorization_code": "22415005"
      },
      "links": {
        "disputes": "https://api.forte.net/v3/transactions/trn_f510202b-340f-4bab-9692-fdc7918449bf/disputes",
        "settlements": "https://api.forte.net/v3/transactions/trn_f510202b-340f-4bab-9692-fdc7918449bf/settlements",
        "self": "https://api.forte.net/v3/transactions/trn_f510202b-340f-4bab-9692-fdc7918449bf"
      }
    }
  ],
  "response": {
    "environment": "sandbox",
    "response_desc": "Get Successful."
  },
  "links": {
    "self": "https://api.forte.net/v3/transactions/"
  }
}
				
			

GET All Authorize Transactions

				
					{{baseURI}}/organizations/org_{{organizationID}}/locations/loc_{{locationID}}/transactions/authorize
				
			

This URI returns all authorize transactions for a location.

AUTHORIZATION Basic Auth
Username      {{apiaccessid}}
Password       {{apisecurekey}}

Example Request

				
					curl --location -g 'https://api.forte.net/v3/organizations/org_{{organization}}/locations/loc_{{location}}/transactions/authorize' \
--header 'Authorization: {{Authorization}}' \
--header 'Accept: application/json' \
--header 'X-Forte-Auth-Organization-Id: org_{{AuthOrganizationID}}' 
				
			

Example Response

				
					{
  "number_results": 2,
  "search_criteria": {
    "page_size": 50,
    "page_index": 0,
    "home_organization_id": "org_300005",
    "resource_specific": {
      "location_id": "loc_115161",
      "action": "authorize",
      "start_received_date": "2018-05-05T08:25:50.5165011-07:00",
      "end_received_date": "2018-08-03T08:25:50.5165011-07:00"
    }
  },
  "results": [
    {
      "transaction_id": "trn_8652719a-ba88-42c4-b4ad-507571692f3c",
      "organization_id": "org_300005",
      "location_id": "loc_115161",
      "status": "declined",
      "action": "authorize",
      "authorization_amount": 1,
      "entered_by": "jayashri.srivelu-nam",
      "received_date": "2018-06-14T14:14:42.173",
      "billing_address": {
        "first_name": "test",
        "last_name": "test"
      },
      "card": {
        "last_4_account_number": "1111",
        "masked_account_number": "****1111",
        "card_type": "visa"
      },
      "response": {
        "response_code": "U54"
      },
      "links": {
        "disputes": "https://api.forte.net/v3/transactions/trn_8652719a-ba88-42c4-b4ad-507571692f3c/disputes",
        "settlements": "https://api.forte.net/v3/transactions/trn_8652719a-ba88-42c4-b4ad-507571692f3c/settlements",
        "self": "https://api.forte.net/v3/transactions/trn_8652719a-ba88-42c4-b4ad-507571692f3c"
      }
    },
    {
      "transaction_id": "trn_011a8c80-fc5c-457f-8769-1e0d0ec21bd1",
      "organization_id": "org_300005",
      "location_id": "loc_115161",
      "status": "authorized",
      "action": "authorize",
      "authorization_amount": 2,
      "authorization_code": "123456",
      "entered_by": "jayashri.srivelu-nam",
      "received_date": "2018-06-22T08:40:50.517",
      "billing_address": {
        "first_name": "test",
        "last_name": "test"
      },
      "card": {
        "last_4_account_number": "1111",
        "masked_account_number": "****1111",
        "card_type": "visa"
      },
      "response": {
        "response_code": "A01",
        "authorization_code": "123456"
      },
      "links": {
        "disputes": "https://api.forte.net/v3/transactions/trn_011a8c80-fc5c-457f-8769-1e0d0ec21bd1/disputes",
        "settlements": "https://api.forte.net/v3/transactions/trn_011a8c80-fc5c-457f-8769-1e0d0ec21bd1/settlements",
        "self": "https://api.forte.net/v3/transactions/trn_011a8c80-fc5c-457f-8769-1e0d0ec21bd1"
      }
    }
  ],
  "response": {
    "environment": "live",
    "response_desc": "Get Successful."
  },
  "links": {
    "self": "https://api.forte.net/v3/transactions/"
  }
}
				
			

GET All Verify Transactions

				
					{{baseURI}}/organizations/org_{{organizationID}}/locations/loc_{{locationID}}/transactions/verify
				
			

This URI returns all verify transactions for a location.

AUTHORIZATION Basic Auth
Username      {{apiaccessid}}
Password       {{apisecurekey}}

Example Request

				
					curl --location -g 'https://api.forte.net/v3/organizations/org_{{organization}}/locations/loc_{{location}}/transactions/verify' \
--header 'Authorization: {{Authorization}}' \
--header 'Accept: application/json' \
--header 'X-Forte-Auth-Organization-Id: org_{{AuthOrganizationID}}'
				
			

Example Response

				
					{
  "number_results": 2,
  "search_criteria": {
    "page_size": 50,
    "page_index": 0,
    "home_organization_id": "org_334316",
    "resource_specific": {
      "location_id": "loc_192642",
      "action": "verify",
      "start_received_date": "2017-09-05T12:15:17.0173652-07:00",
      "end_received_date": "2017-12-04T12:15:17.0173652-08:00"
    }
  },
  "results": [
    {
      "transaction_id": "trn_20aa0aeb-bfac-497a-9512-d8d8dde008ea",
      "organization_id": "org_334316",
      "location_id": "loc_192642",
      "status": "failed",
      "action": "verify",
      "authorization_amount": 0.01,
      "entered_by": "4fefaf5f77d944ce10bd",
      "received_date": "2017-12-04T12:06:40.51",
      "billing_address": {
        "first_name": "Marty",
        "last_name": "McFly"
      },
      "echeck": {
        "masked_account_number": "****1222",
        "last_4_account_number": "1222"
      },
      "attempt_number": 1,
      "response": {
        "response_code": "U02"
      },
      "links": {
        "disputes": "https://api.forte.net/v3/transactions/trn_20aa0aeb-bfac-497a-9512-d8d8dde008ea/disputes",
        "settlements": "https://api.forte.net/v3/transactions/trn_20aa0aeb-bfac-497a-9512-d8d8dde008ea/settlements",
        "self": "https://api.forte.net/v3/transactions/trn_20aa0aeb-bfac-497a-9512-d8d8dde008ea"
      }
    },
    {
      "transaction_id": "trn_c0f10b2c-de27-44ba-9a79-ec05d81e051c",
      "organization_id": "org_334316",
      "location_id": "loc_192642",
      "status": "complete",
      "action": "verify",
      "authorization_amount": 0.01,
      "authorization_code": "18078821",
      "entered_by": "4fefaf5f77d944ce10bd",
      "received_date": "2017-12-04T12:10:42.237",
      "billing_address": {
        "first_name": "Marty",
        "last_name": "McFly"
      },
      "echeck": {
        "masked_account_number": "****9886",
        "last_4_account_number": "9886"
      },
      "attempt_number": 1,
      "response": {
        "response_code": "A01",
        "authorization_code": "18078821"
      },
      "links": {
        "disputes": "https://api.forte.net/v3/transactions/trn_c0f10b2c-de27-44ba-9a79-ec05d81e051c/disputes",
        "settlements": "https://api.forte.net/v3/transactions/trn_c0f10b2c-de27-44ba-9a79-ec05d81e051c/settlements",
        "self": "https://api.forte.net/v3/transactions/trn_c0f10b2c-de27-44ba-9a79-ec05d81e051c"
      }
    }
  ],
  "response": {
    "environment": "live",
    "response_desc": "Get Successful."
  },
  "links": {
    "self": "https://api.forte.net/v3/transactions/"
  }
}
				
			

GET All Authenticate Transactions

				
					{{baseURI}}/organizations/org_{{organizationID}}/locations/loc_{{locationID}}/transactions/authenticate
				
			

This URI returns all authenticate transactions for a location

AUTHORIZATION Basic Auth
Username      {{apiaccessid}}
Password       {{apisecurekey}}

Example Request

				
					curl --location -g 'https://api.forte.net/v3/organizations/org_{{organization}}/locations/loc_{{location}}/transactions/verify' \
--header 'Authorization: {{Authorization}}' \
--header 'Accept: application/json' \
--header 'X-Forte-Auth-Organization-Id: org_{{AuthOrganizationID}}'
				
			

Example Response

				
					{
  "number_results": 3,
  "search_criteria": {
    "page_size": 50,
    "page_index": 0,
    "home_organization_id": "org_300005",
    "resource_specific": {
      "location_id": "loc_224805",
      "action": "authenticate",
      "start_received_date": "2022-11-07T00:00:00",
      "end_received_date": "2022-11-08T00:00:00"
    }
  },
  "results": [
    {
      "transaction_id": "trn_5a0a5e9e-62d8-4092-9c6e-c69fa6699b8a",
      "organization_id": "org_300005",
      "location_id": "loc_224805",
      "status": "complete",
      "action": "authenticate",
      "authorization_amount": 1,
      "entered_by": "5ac9543ed4e892bb3da5",
      "received_date": "2022-11-07T05:24:57.45",
      "billing_address": {
        "first_name": "MARTY",
        "last_name": "BROWN"
      },
      "echeck": {
        "masked_account_number": "****0453",
        "last_4_account_number": "0453",
        "routing_number": "122199983",
        "account_type": "checking"
      },
      "response": {
        "response_code": "U80",
        "ownership_match": "N|N|N|"
      },
      "links": {
        "disputes": "https://api.forte.net/v3/transactions/trn_5a0a5e9e-62d8-4092-9c6e-c69fa6699b8a/disputes",
        "settlements": "https://api.forte.net/v3/transactions/trn_5a0a5e9e-62d8-4092-9c6e-c69fa6699b8a/settlements",
        "self": "https://api.forte.net/v3/transactions/trn_5a0a5e9e-62d8-4092-9c6e-c69fa6699b8a/"
      }
    },
    {
      "transaction_id": "trn_6771a87a-d07e-42f1-9a93-e9454d41e2fe",
      "organization_id": "org_300005",
      "location_id": "loc_224805",
      "status": "complete",
      "action": "authenticate",
      "authorization_amount": 1,
      "entered_by": "5ac9543ed4e892bb3da5",
      "received_date": "2022-11-07T05:28:01.937",
      "billing_address": {
        "first_name": "JENNIFER",
        "last_name": "BROWN"
      },
      "echeck": {
        "masked_account_number": "****0453",
        "last_4_account_number": "0453",
        "routing_number": "122199983",
        "account_type": "checking"
      },
      "response": {
        "response_code": "A06",
        "ownership_match": "Y|N|Y|"
      },
      "links": {
        "disputes": "https://api.forte.net/v3/transactions/trn_6771a87a-d07e-42f1-9a93-e9454d41e2fe/disputes",
        "settlements": "https://api.forte.net/v3/transactions/trn_6771a87a-d07e-42f1-9a93-e9454d41e2fe/settlements",
        "self": "https://api.forte.net/v3/transactions/trn_6771a87a-d07e-42f1-9a93-e9454d41e2fe/"
      }
    },
    {
      "transaction_id": "trn_b2d6054c-0a69-452a-81b8-d7866c0a898b",
      "organization_id": "org_300005",
      "location_id": "loc_224805",
      "status": "complete",
      "action": "authenticate",
      "authorization_amount": 1,
      "entered_by": "5ac9543ed4e892bb3da5",
      "received_date": "2022-11-07T05:29:36.693",
      "billing_address": {
        "first_name": "JENNIFER",
        "last_name": "MCFLY"
      },
      "echeck": {
        "masked_account_number": "****0453",
        "last_4_account_number": "0453",
        "routing_number": "122199983",
        "account_type": "checking"
      },
      "response": {
        "response_code": "A05",
        "ownership_match": "Y|Y|Y|"
      },
      "links": {
        "disputes": "https://api.forte.net/v3/transactions/trn_b2d6054c-0a69-452a-81b8-d7866c0a898b/disputes",
        "settlements": "https://api.forte.net/v3/transactions/trn_b2d6054c-0a69-452a-81b8-d7866c0a898b/settlements",
        "self": "https://api.forte.net/v3/transactions/trn_b2d6054c-0a69-452a-81b8-d7866c0a898b/"
      }
    }
  ],
  "response": {
    "environment": "live",
    "response_desc": "Get Successful."
  },
  "links": {
    "self": "https://api.forte.net/v3/transactions/authenticate"
  }
}
				
			

GET All Inquiry Transactions

				
					{{baseURI}}/organizations/org_{{organizationID}}/locations/loc_{{locationID}}/transactions/inquiry
				
			

This URI returns all inquiry transactions for a location.

AUTHORIZATION Basic Auth
Username      {{apiaccessid}}
Password       {{apisecurekey}}

Example Request

				
					curl --location -g 'https://api.forte.net/v3/organizations/org_{{organization}}/locations/loc_{{location}}/transactions/inquiry' \
--header 'Authorization: {{Authorization}}' \
--header 'Accept: application/json' \
--header 'X-Forte-Auth-Organization-Id: org_{{AuthOrganizationID}}'
				
			

Example Response

				
					{
  "number_results": 3,
  "search_criteria": {
    "page_size": 50,
    "page_index": 0,
    "home_organization_id": "org_334316",
    "resource_specific": {
      "location_id": "loc_192642",
      "action": "inquiry",
      "start_received_date": "2017-09-05T13:27:07.7020344-07:00",
      "end_received_date": "2017-12-04T13:27:07.7020344-08:00"
    }
  },
  "results": [
    {
      "transaction_id": "trn_b122dd43-8937-4ebb-9814-a2b4757f732f",
      "organization_id": "org_334316",
      "location_id": "loc_192642",
      "status": "complete",
      "action": "inquiry",
      "authorization_code": "18078950",
      "entered_by": "4fefaf5f77d944ce10bd",
      "received_date": "2017-12-04T13:08:46.487",
      "billing_address": {
        "first_name": "Jennifer",
        "last_name": "McFly"
      },
      "card": {
        "last_4_account_number": "1111",
        "masked_account_number": "****1111",
        "card_type": "visa"
      },
      "response": {
        "response_code": "A01",
        "authorization_code": "18078950"
      },
      "links": {
        "disputes": "https://api.forte.net/v3/transactions/trn_b122dd43-8937-4ebb-9814-a2b4757f732f/disputes",
        "settlements": "https://api.forte.net/v3/transactions/trn_b122dd43-8937-4ebb-9814-a2b4757f732f/settlements",
        "self": "https://api.forte.net/v3/transactions/trn_b122dd43-8937-4ebb-9814-a2b4757f732f"
      }
    },
    {
      "transaction_id": "trn_28d84745-d769-4987-a911-56c35de15adf",
      "organization_id": "org_334316",
      "location_id": "loc_192642",
      "status": "complete",
      "action": "inquiry",
      "authorization_code": "18060505",
      "entered_by": "4fefaf5f77d944ce10bd",
      "received_date": "2017-12-04T13:09:00.02",
      "billing_address": {
        "first_name": "Marty",
        "last_name": "McFly"
      },
      "card": {
        "last_4_account_number": "1111",
        "masked_account_number": "****1111",
        "card_type": "visa"
      },
      "response": {
        "response_code": "A01",
        "authorization_code": "18060505"
      },
      "links": {
        "disputes": "https://api.forte.net/v3/transactions/trn_28d84745-d769-4987-a911-56c35de15adf/disputes",
        "settlements": "https://api.forte.net/v3/transactions/trn_28d84745-d769-4987-a911-56c35de15adf/settlements",
        "self": "https://api.forte.net/v3/transactions/trn_28d84745-d769-4987-a911-56c35de15adf"
      }
    },
    {
      "transaction_id": "trn_6b678762-0e11-4495-9ee6-3025e48f746d",
      "organization_id": "org_334316",
      "location_id": "loc_192642",
      "status": "complete",
      "action": "inquiry",
      "authorization_code": "18078953",
      "entered_by": "4fefaf5f77d944ce10bd",
      "received_date": "2017-12-04T13:09:22.957",
      "billing_address": {
        "first_name": "Marty",
        "last_name": "McFly"
      },
      "card": {
        "last_4_account_number": "1111",
        "masked_account_number": "****1111",
        "card_type": "visa"
      },
      "response": {
        "response_code": "A01",
        "authorization_code": "18078953"
      },
      "links": {
        "disputes": "https://api.forte.net/v3/transactions/trn_6b678762-0e11-4495-9ee6-3025e48f746d/disputes",
        "settlements": "https://api.forte.net/v3/transactions/trn_6b678762-0e11-4495-9ee6-3025e48f746d/settlements",
        "self": "https://api.forte.net/v3/transactions/trn_6b678762-0e11-4495-9ee6-3025e48f746d"
      }
    }
  ],
  "response": {
    "environment": "live",
    "response_desc": "Get Successful."
  },
  "links": {
    "self": "https://api.forte.net/v3/transactions/"
  }
}
				
			

GET All Transactions for a Customer

				
					{{baseURI}}/organizations/org_{{organizationID}}/locations/loc_{{locationID}}/customers/cst_{{customertoken}}/transactions/
				
			

Returns all transactions for a specific customer_token.

AUTHORIZATION Basic Auth
Username      {{apiaccessid}}
Password       {{apisecurekey}}

Example Request

				
					curl --location -g 'https://api.forte.net/v3/organizations/org_{{organization}}/locations/loc_{{location}}/customers/cst_{{customertoken}}/transactions/' \
--header 'Authorization: {{Authorization}}' \
--header 'Accept: application/json' \
--header 'X-Forte-Auth-Organization-Id: org_{{AuthOrganizationID}}'
				
			

Example Response

				
					{
  "number_results": 12,
  "search_criteria": {
    "page_size": 50,
    "page_index": 0,
    "home_organization_id": "org_334316",
    "resource_specific": {
      "location_id": "loc_192642",
      "customer_token": "cst_lyv-2BilTkWpIgK1TMKvoA"
    }
  },
  "results": [
    {
      "transaction_id": "trn_735fddfb-1b28-4630-b67d-cbd919f45c35",
      "organization_id": "org_334316",
      "location_id": "loc_192642",
      "customer_token": "cst_lyv-2BilTkWpIgK1TMKvoA",
      "status": "ready",
      "action": "sale",
      "authorization_amount": 10,
      "authorization_code": "123456",
      "received_date": "2017-07-19T16:49:34.057",
      "card": {
        "last_4_account_number": "1111",
        "masked_account_number": "****1111",
        "card_type": "visa"
      },
      "response": {
        "response_code": "A01",
        "authorization_code": "123456"
      },
      "links": {
        "disputes": "https://api.forte.net/v3/transactions/trn_735fddfb-1b28-4630-b67d-cbd919f45c35/disputes",
        "settlements": "https://api.forte.net/v3/transactions/trn_735fddfb-1b28-4630-b67d-cbd919f45c35/settlements",
        "self": "https://api.forte.net/v3/transactions/trn_735fddfb-1b28-4630-b67d-cbd919f45c35"
      }
    },
    {
      "transaction_id": "trn_b4690950-d718-4312-99a2-c1a8dfd5c6bc",
      "organization_id": "org_334316",
      "location_id": "loc_192642",
      "customer_token": "cst_lyv-2BilTkWpIgK1TMKvoA",
      "status": "ready",
      "action": "sale",
      "authorization_amount": 10,
      "authorization_code": "123456",
      "received_date": "2017-07-20T02:13:08.777",
      "card": {
        "last_4_account_number": "1111",
        "masked_account_number": "****1111",
        "card_type": "visa"
      },
      "response": {
        "response_code": "A01",
        "authorization_code": "123456"
      },
      "links": {
        "disputes": "https://api.forte.net/v3/transactions/trn_b4690950-d718-4312-99a2-c1a8dfd5c6bc/disputes",
        "settlements": "https://api.forte.net/v3/transactions/trn_b4690950-d718-4312-99a2-c1a8dfd5c6bc/settlements",
        "self": "https://api.forte.net/v3/transactions/trn_b4690950-d718-4312-99a2-c1a8dfd5c6bc"
      }
    },
    {
      "transaction_id": "trn_093a0609-515f-4179-b635-e283d9d56856",
      "organization_id": "org_334316",
      "location_id": "loc_192642",
      "customer_token": "cst_lyv-2BilTkWpIgK1TMKvoA",
      "status": "ready",
      "action": "sale",
      "authorization_amount": 10,
      "authorization_code": "123456",
      "received_date": "2017-07-20T23:22:49.27",
      "card": {
        "last_4_account_number": "1111",
        "masked_account_number": "****1111",
        "card_type": "visa"
      },
      "response": {
        "response_code": "A01",
        "authorization_code": "123456"
      },
      "links": {
        "disputes": "https://api.forte.net/v3/transactions/trn_093a0609-515f-4179-b635-e283d9d56856/disputes",
        "settlements": "https://api.forte.net/v3/transactions/trn_093a0609-515f-4179-b635-e283d9d56856/settlements",
        "self": "https://api.forte.net/v3/transactions/trn_093a0609-515f-4179-b635-e283d9d56856"
      }
    },
    {
      "transaction_id": "trn_7ca702cb-94da-4d3e-a9b4-0872710b1f40",
      "organization_id": "org_334316",
      "location_id": "loc_192642",
      "customer_token": "cst_lyv-2BilTkWpIgK1TMKvoA",
      "status": "ready",
      "action": "sale",
      "authorization_amount": 10,
      "authorization_code": "123456",
      "received_date": "2017-07-21T16:49:01.87",
      "card": {
        "last_4_account_number": "1111",
        "masked_account_number": "****1111",
        "card_type": "visa"
      },
      "response": {
        "response_code": "A01",
        "authorization_code": "123456"
      },
      "links": {
        "disputes": "https://api.forte.net/v3/transactions/trn_7ca702cb-94da-4d3e-a9b4-0872710b1f40/disputes",
        "settlements": "https://api.forte.net/v3/transactions/trn_7ca702cb-94da-4d3e-a9b4-0872710b1f40/settlements",
        "self": "https://api.forte.net/v3/transactions/trn_7ca702cb-94da-4d3e-a9b4-0872710b1f40"
      }
    },
    {
      "transaction_id": "trn_c74a191a-ae2a-4f4f-9c7c-aa9bd88d072e",
      "organization_id": "org_334316",
      "location_id": "loc_192642",
      "customer_token": "cst_lyv-2BilTkWpIgK1TMKvoA",
      "status": "ready",
      "action": "sale",
      "authorization_amount": 10,
      "authorization_code": "123456",
      "received_date": "2017-07-23T23:10:20.447",
      "card": {
        "last_4_account_number": "1111",
        "masked_account_number": "****1111",
        "card_type": "visa"
      },
      "response": {
        "response_code": "A01",
        "authorization_code": "123456"
      },
      "links": {
        "disputes": "https://api.forte.net/v3/transactions/trn_c74a191a-ae2a-4f4f-9c7c-aa9bd88d072e/disputes",
        "settlements": "https://api.forte.net/v3/transactions/trn_c74a191a-ae2a-4f4f-9c7c-aa9bd88d072e/settlements",
        "self": "https://api.forte.net/v3/transactions/trn_c74a191a-ae2a-4f4f-9c7c-aa9bd88d072e"
      }
    },
    {
      "transaction_id": "trn_9eb617d2-60fc-489a-9986-d720e056f5a6",
      "organization_id": "org_334316",
      "location_id": "loc_192642",
      "customer_token": "cst_lyv-2BilTkWpIgK1TMKvoA",
      "status": "ready",
      "action": "sale",
      "authorization_amount": 10,
      "authorization_code": "123456",
      "received_date": "2017-07-23T23:11:34.547",
      "card": {
        "last_4_account_number": "1111",
        "masked_account_number": "****1111",
        "card_type": "visa"
      },
      "response": {
        "response_code": "A01",
        "authorization_code": "123456"
      },
      "links": {
        "disputes": "https://api.forte.net/v3/transactions/trn_9eb617d2-60fc-489a-9986-d720e056f5a6/disputes",
        "settlements": "https://api.forte.net/v3/transactions/trn_9eb617d2-60fc-489a-9986-d720e056f5a6/settlements",
        "self": "https://api.forte.net/v3/transactions/trn_9eb617d2-60fc-489a-9986-d720e056f5a6"
      }
    },
    {
      "transaction_id": "trn_cfead72d-74ad-4cd2-8862-ed483d62c07e",
      "organization_id": "org_334316",
      "location_id": "loc_192642",
      "customer_token": "cst_lyv-2BilTkWpIgK1TMKvoA",
      "status": "ready",
      "action": "sale",
      "authorization_amount": 10,
      "authorization_code": "123456",
      "received_date": "2017-07-23T23:12:05.283",
      "card": {
        "last_4_account_number": "1111",
        "masked_account_number": "****1111",
        "card_type": "visa"
      },
      "response": {
        "response_code": "A01",
        "authorization_code": "123456"
      },
      "links": {
        "disputes": "https://api.forte.net/v3/transactions/trn_cfead72d-74ad-4cd2-8862-ed483d62c07e/disputes",
        "settlements": "https://api.forte.net/v3/transactions/trn_cfead72d-74ad-4cd2-8862-ed483d62c07e/settlements",
        "self": "https://api.forte.net/v3/transactions/trn_cfead72d-74ad-4cd2-8862-ed483d62c07e"
      }
    },
    {
      "transaction_id": "trn_c4871b59-cfd2-45a4-90bd-b80a260621b2",
      "organization_id": "org_334316",
      "location_id": "loc_192642",
      "customer_token": "cst_lyv-2BilTkWpIgK1TMKvoA",
      "status": "ready",
      "action": "sale",
      "authorization_amount": 10,
      "authorization_code": "123456",
      "received_date": "2017-07-23T23:30:39.81",
      "card": {
        "last_4_account_number": "1111",
        "masked_account_number": "****1111",
        "card_type": "visa"
      },
      "response": {
        "response_code": "A01",
        "authorization_code": "123456"
      },
      "links": {
        "disputes": "https://api.forte.net/v3/transactions/trn_c4871b59-cfd2-45a4-90bd-b80a260621b2/disputes",
        "settlements": "https://api.forte.net/v3/transactions/trn_c4871b59-cfd2-45a4-90bd-b80a260621b2/settlements",
        "self": "https://api.forte.net/v3/transactions/trn_c4871b59-cfd2-45a4-90bd-b80a260621b2"
      }
    },
    {
      "transaction_id": "trn_962cc4e4-c26e-470f-8cf6-fd4321b3995a",
      "organization_id": "org_334316",
      "location_id": "loc_192642",
      "customer_token": "cst_lyv-2BilTkWpIgK1TMKvoA",
      "status": "ready",
      "action": "sale",
      "authorization_amount": 10,
      "authorization_code": "123456",
      "received_date": "2017-07-24T23:04:21.87",
      "card": {
        "last_4_account_number": "1111",
        "masked_account_number": "****1111",
        "card_type": "visa"
      },
      "response": {
        "response_code": "A01",
        "authorization_code": "123456"
      },
      "links": {
        "disputes": "https://api.forte.net/v3/transactions/trn_962cc4e4-c26e-470f-8cf6-fd4321b3995a/disputes",
        "settlements": "https://api.forte.net/v3/transactions/trn_962cc4e4-c26e-470f-8cf6-fd4321b3995a/settlements",
        "self": "https://api.forte.net/v3/transactions/trn_962cc4e4-c26e-470f-8cf6-fd4321b3995a"
      }
    },
    {
      "transaction_id": "trn_d9d7ae3d-a928-4a12-89ea-b0609a4e3f96",
      "organization_id": "org_334316",
      "location_id": "loc_192642",
      "customer_token": "cst_lyv-2BilTkWpIgK1TMKvoA",
      "status": "ready",
      "action": "sale",
      "authorization_amount": 10,
      "authorization_code": "123456",
      "received_date": "2017-07-24T23:04:47.667",
      "card": {
        "last_4_account_number": "1111",
        "masked_account_number": "****1111",
        "card_type": "visa"
      },
      "response": {
        "response_code": "A01",
        "authorization_code": "123456"
      },
      "links": {
        "disputes": "https://api.forte.net/v3/transactions/trn_d9d7ae3d-a928-4a12-89ea-b0609a4e3f96/disputes",
        "settlements": "https://api.forte.net/v3/transactions/trn_d9d7ae3d-a928-4a12-89ea-b0609a4e3f96/settlements",
        "self": "https://api.forte.net/v3/transactions/trn_d9d7ae3d-a928-4a12-89ea-b0609a4e3f96"
      }
    },
    {
      "transaction_id": "trn_313526de-25fa-43a9-9918-3110259ed1cd",
      "organization_id": "org_334316",
      "location_id": "loc_192642",
      "customer_token": "cst_lyv-2BilTkWpIgK1TMKvoA",
      "status": "ready",
      "action": "sale",
      "authorization_amount": 10,
      "authorization_code": "123456",
      "received_date": "2017-07-24T23:24:50.97",
      "card": {
        "last_4_account_number": "1111",
        "masked_account_number": "****1111",
        "card_type": "visa"
      },
      "response": {
        "response_code": "A01",
        "authorization_code": "123456"
      },
      "links": {
        "disputes": "https://api.forte.net/v3/transactions/trn_313526de-25fa-43a9-9918-3110259ed1cd/disputes",
        "settlements": "https://api.forte.net/v3/transactions/trn_313526de-25fa-43a9-9918-3110259ed1cd/settlements",
        "self": "https://api.forte.net/v3/transactions/trn_313526de-25fa-43a9-9918-3110259ed1cd"
      }
    },
    {
      "transaction_id": "trn_f0d3ea66-040f-4d57-9ff1-77d28bc4b95b",
      "organization_id": "org_334316",
      "location_id": "loc_192642",
      "customer_token": "cst_lyv-2BilTkWpIgK1TMKvoA",
      "status": "ready",
      "action": "sale",
      "authorization_amount": 10,
      "authorization_code": "123456",
      "received_date": "2017-07-24T23:29:04.563",
      "card": {
        "last_4_account_number": "1111",
        "masked_account_number": "****1111",
        "card_type": "visa"
      },
      "response": {
        "response_code": "A01",
        "authorization_code": "123456"
      },
      "links": {
        "disputes": "https://api.forte.net/v3/transactions/trn_f0d3ea66-040f-4d57-9ff1-77d28bc4b95b/disputes",
        "settlements": "https://api.forte.net/v3/transactions/trn_f0d3ea66-040f-4d57-9ff1-77d28bc4b95b/settlements",
        "self": "https://api.forte.net/v3/transactions/trn_f0d3ea66-040f-4d57-9ff1-77d28bc4b95b"
      }
    }
  ],
  "response": {
    "environment": "live",
    "response_desc": "Get Successful."
  },
  "links": {
    "self": "https://api.forte.net/v3/transactions/"
  }
}
				
			

GET Transaction by ID

				
					{{baseURI}}/organizations/org_{{organizationID}}/locations/loc_{{locationID}}/transactions/trn_{{transactionID}}
				
			

Returns the details of a specific transaction based on the transaction_id.

AUTHORIZATION Basic Auth
Username      {{apiaccessid}}
Password       {{apisecurekey}}

Example Request

				
					curl --location -g 'https://api.forte.net/v3/organizations/org_{{organization}}/locations/loc_{{location}}/transactions/trn_{{transactionID}}' \
--header 'Authorization: {{Authorization}}' \
--header 'Accept: application/json' \
--header 'X-Forte-Auth-Organization-Id: org_{{AuthOrganizationID}}'
				
			

Example Response

				
					{
  "transaction_id": "trn_a33b39d8-ac96-4c8b-b6bd-25bb74d6fff3",
  "organization_id": "org_334316",
  "location_id": "loc_192642",
  "status": "voided",
  "action": "force",
  "authorization_amount": 1,
  "authorization_code": "123456",
  "received_date": "2016-10-11T10:27:40.387",
  "billing_address": {
    "first_name": "Emmett",
    "last_name": "Brown",
    "physical_address": {
      "street_line1": "2123 Einstein Way",
      "street_line2": "Suite 200",
      "locality": "Hill Valley",
      "region": "CA",
      "country": "US",
      "postal_code": "90217"
    }
  },
  "card": {
    "name_on_card": "Emmett Brown",
    "last_4_account_number": "1881",
    "masked_account_number": "****1881",
    "expire_month": 2,
    "expire_year": 2019,
    "customer_accounting_code": "123",
    "card_type": "visa"
  },
  "response": {
    "environment": "live",
    "response_type": "A",
    "response_code": "A01",
    "response_desc": "TEST APPROVAL",
    "authorization_code": "123456"
  },
  "links": {
    "disputes": "https://api.forte.net/v3/transactions/trn_a33b39d8-ac96-4c8b-b6bd-25bb74d6fff3/disputes",
    "settlements": "https://api.forte.net/v3/transactions/trn_a33b39d8-ac96-4c8b-b6bd-25bb74d6fff3/settlements",
    "self": "https://api.forte.net/v3/transactions/trn_a33b39d8-ac96-4c8b-b6bd-25bb74d6fff3"
  }
}
				
			

GET Transactions with Filter

				
					{{baseURI}}/organizations/org_{{organizationID}}/locations/loc_{{locationID}}/transactions?filter=start_received_date+eq+'2018-01-01'+and+end_received_date+eq+'2018-08-03' 
				
			

To narrow your search data using specific criteria, use the following filter parameters:

  • start_received_date / end_received_date

  • received_date

  • origination_date

  • customer_token

  • original_transaction_id

  • customer_id

  • order_number

  • reference_id

  • status

  • action

  • authorization_amount

  • entered_by

  • bill_to_company_name

  • bill_to_first_name

  • bill_to_last_name

  • paymethod_type

  • last_4_account_number

  • response_code

  • attempt_number

NOTES:

  • The action filter parameter supports the following values:

    • sale

    • credit

    • authorize

    • verify

    • authenticate

    • inquiry

  • Searches using the origination_date filter parameter will only yield results for echeck transactions.

  • To find transactions within a specified date range, use the start_received_date and end_received_date filter parameters or the start_origination_date and end_origination_date filter parameters.

  • To find transactions from a single day, use the received_date or origination_date (echeck only) filter paramters.

  • Date range filters must include both the start and end date parameters; otherwise, Forte uses a default 90-day date range from the provided date parameter or, when no date parameter is provided, from the current date.

  • All date filter parameters are time aware

AUTHORIZATION Basic Auth
Username      {{apiaccessid}}
Password       {{apisecurekey}}
PARAMS
filter       start_received_date+eq+'2018-01-01'+and+end_received_date+eq+'2018-08-03'

Example Request

				
					curl --location -g 'https://api.forte.net/v3/organizations/org_{{organization}}/locations/loc_{{location}}/transactions?filter=start_received_date%2Beq%2B%272018-01-01%27%2Band%2Bend_received_date%2Beq%2B%272018-08-03%27%20' \
--header 'Authorization: {{Authorization}}' \
--header 'Accept: application/json' \
--header 'X-Forte-Auth-Organization-Id: org_{{AuthOrganizationID}}'
				
			

Example Response

				
					{
  "number_results": 4,
  "search_criteria": {
    "page_size": 50,
    "page_index": 0,
    "home_organization_id": "org_334316",
    "resource_specific": {
      "location_id": "loc_192642",
      "start_received_date": "2018-01-01T09:22:52.5502369-07:00",
      "end_received_date": "2018-108-03T09:22:52.5502369-08:00"
    }
  },
  "results": [
    {
      "transaction_id": "trn_698bf8be-4695-4aab-b785-7a2b9bd5e77a",
      "organization_id": "org_334316",
      "location_id": "loc_192642",
      "status": "declined",
      "action": "sale",
      "authorization_amount": 240.52,
      "received_date": "2018-02-21T14:05:41.493",
      "billing_address": {
        "first_name": "Marty",
        "last_name": "McFly"
      },
      "echeck": {
        "masked_account_number": "****1222",
        "last_4_account_number": "1222"
      },
      "attempt_number": 1,
      "response": {
        "response_code": "U02"
      },
      "links": {
        "disputes": "https://api.forte.net/v3/transactions/trn_698bf8be-4695-4aab-b785-7a2b9bd5e77a/disputes",
        "settlements": "https://api.forte.net/v3/transactions/trn_698bf8be-4695-4aab-b785-7a2b9bd5e77a/settlements",
        "self": "https://api.forte.net/v3/transactions/trn_698bf8be-4695-4aab-b785-7a2b9bd5e77a"
      }
    },
    {
      "transaction_id": "trn_d81e5f47-d899-4d7e-8e3a-398418921385",
      "organization_id": "org_300005",
      "location_id": "loc_115161",
      "status": "ready",
      "action": "sale",
      "authorization_amount": 6.5,
      "authorization_code": "123456",
      "entered_by": "b9f088229ab4989d499e",
      "received_date": "2018-05-31T06:28:58.373",
      "billing_address": {
        "company_name": "McFly Industries"
      },
      "card": {
        "last_4_account_number": "0006",
        "masked_account_number": "****0006",
        "card_type": "visa"
      },
      "response": {
        "response_code": "A01",
        "authorization_code": "123456"
      },
      "links": {
        "disputes": "https://api.forte.net/v3/transactions/trn_d81e5f47-d899-4d7e-8e3a-398418921385/disputes",
        "settlements": "https://api.forte.net/v3/transactions/trn_d81e5f47-d899-4d7e-8e3a-398418921385/settlements",
        "self": "https://api.forte.net/v3/transactions/trn_d81e5f47-d899-4d7e-8e3a-398418921385"
      }
    },
    {
      "transaction_id": "trn_abf0e36f-51a0-4572-9ded-ec5b14e023a5",
      "organization_id": "org_334316",
      "location_id": "loc_192642",
      "status": "declined",
      "action": "sale",
      "authorization_amount": 240.52,
      "received_date": "2018-05-21T14:49:11.657",
      "billing_address": {
        "first_name": "Marty",
        "last_name": "McFly"
      },
      "echeck": {
        "masked_account_number": "****1222",
        "last_4_account_number": "1222"
      },
      "attempt_number": 1,
      "response": {
        "response_code": "A01",
        "authorization_code": "21334993"
      },
      "links": {
        "disputes": "https://api.forte.net/v3/transactions/trn_abf0e36f-51a0-4572-9ded-ec5b14e023a5/disputes",
        "settlements": "https://api.forte.net/v3/transactions/trn_abf0e36f-51a0-4572-9ded-ec5b14e023a5/settlements",
        "self": "https://api.forte.net/v3/transactions/trn_abf0e36f-51a0-4572-9ded-ec5b14e023a5"
      }
    },
    {
      "transaction_id": "trn_7da0543c-068f-49a6-b7de-ded19e3a6d92",
      "organization_id": "org_334316",
      "location_id": "loc_192642",
      "status": "declined",
      "action": "sale",
      "authorization_amount": 240.52,
      "received_date": "2018-06-21T14:52:12.33",
      "billing_address": {
        "first_name": "Marty",
        "last_name": "McFly"
      },
      "echeck": {
        "masked_account_number": "****1222",
        "last_4_account_number": "1222"
      },
      "attempt_number": 2,
      "response": {
        "response_code": "U02"
      },
      "links": {
        "disputes": "https://api.forte.net/v3/transactions/trn_7da0543c-068f-49a6-b7de-ded19e3a6d92/disputes",
        "settlements": "https://api.forte.net/v3/transactions/trn_7da0543c-068f-49a6-b7de-ded19e3a6d92/settlements",
        "self": "https://api.forte.net/v3/transactions/trn_7da0543c-068f-49a6-b7de-ded19e3a6d92"
      }
    }
  ],
  "response": {
    "environment": "live",
    "response_desc": "Get Successful."
  },
  "links": {
    "self": "https://api.forte.net/v3/transactions/?filter=bill_to_first_name+eq+Marty",
    "next": "https://api.forte.net/v3/transactions/?filter=bill_to_first_name+eq+Marty&page_index=1"
  }
}
				
			

PUT Void a Transaction

				
					{{baseURI}}/organizations/org_{{organizationID}}/locations/loc_{{locationID}}/transactions/trn_{{transactionID}}
				
			

A void is used to stop a transaction from originating (echecks) or going to settlement (credit cards) and for canceling holds on transactions that were previously authorized. You can only void a transaction once. Only saleauthorizeforce (echecks only) or credit transactions in the Ready, Authorized, or Review status can be voided.

AUTHORIZATION Basic Auth
Username      {{apiaccessid}}
Password       {{apisecurekey}}
Body raw
				
					{
       "action":"void",
       "authorization_code":"33717372",
       "entered_by":"Griff Tannen"
}
				
			

Example Request

				
					curl --location -g --request PUT 'https://api.forte.net/v3/organizations/org_{{organizationID}}/locations/loc_{{locationID}}/transactions/{{transactionID}}' \
--header 'Authorization: {{Authorization}}' \
--header 'Accept: application/json' \
--header 'X-Forte-Auth-Organization-Id: org_{{AuthOrganizationID}}' \
--header 'Content-Type: application/json' \
--data '{
       "action":"void",
       "authorization_code":"33717372",
       "entered_by":"Griff Tannen"
}'
				
			

Example Response

				
					{
  "transaction_id": "trn_d175cbfb-39b0-4340-89d3-b7edbf31a1b6",
  "location_id": "loc_192642",
  "action": "void",
  "authorization_code": "33717372",
  "entered_by": "Griff Tannen",
  "response": {
    "environment": "live",
    "response_type": "A",
    "response_code": "A01",
    "response_desc": "APPROVED",
    "authorization_code": "17324927"
  },
  "links": {
    "disputes": "https://api.forte.net/v3/transactions/trn_6ab4a418-73ff-4d82-abb7-319c5e4f97d9/disputes",
    "settlements": "https://api.forte.net/v3/transactions/trn_6ab4a418-73ff-4d82-abb7-319c5e4f97d9/settlements",
    "self": "https://api.forte.net/v3/transactions/trn_6ab4a418-73ff-4d82-abb7-319c5e4f97d9"
  }
}
				
			

PUT Void an Authorization

				
					{{baseURI}}/organizations/org_{{organizationID}}/locations/loc_{{locationID}}/transactions/trn_{{transaction_id}}
				
			

This endpoint voids a previously approved authorize transaction.

AUTHORIZATION Basic Auth
Username      {{apiaccessid}}
Password       {{apisecurekey}}
Body raw
				
					{
       "action":"void",
       "authorization_code":"0KR123",
       "entered_by":"Griff Tannen"
}
				
			

Example Request

				
					curl --location -g --request PUT '{{baseURI}}/organizations/org_{{organizationID}}/locations/loc_{{locationID}}/transactions/trn_{{transaction_id}}' \
--header 'X-Forte-Auth-Organization-Id: org_{{AuthOrganizationID}}' \
--header 'Content-Type: application/json' \
--header 'Accept: application/json' \
--data '{
       "action":"void",
       "authorization_code":"0KR123",
       "entered_by":"Griff Tannen"
}'
				
			

Example Response

				
					{
  "transaction_id": "trn_ddd65b98-bb1f-48b9-be56-2752810a6b78",
  "location_id": "loc_124125",
  "action": "void",
  "authorization_code": "0KR123",
  "entered_by": "Griff Tannen",
  "response": {
    "environment": "live",
    "response_type": "A",
    "response_code": "A01",
    "response_desc": "APPROVED",
    "authorization_code": "779523"
  },
  "links": {
    "disputes": "https://api.forte.net/v3/transactions/trn_f6598e65-f5cb-4c40-87f8-e04d9c269b55/disputes",
    "settlements": "https://api.forte.net/v3/transactions/trn_f6598e65-f5cb-4c40-87f8-e04d9c269b55/settlements",
    "self": "https://api.forte.net/v3/transactions/trn_f6598e65-f5cb-4c40-87f8-e04d9c269b55/"
  }
}
				
			

PUT Void a Refund

				
					{{baseURI}}/organizations/org_{{organizationID}}/locations/loc_{{locationID}}/transactions/trn_{{transaction_id}}
				
			

This endpoint stops the disbursement of funds back to the consumer after their original transaction was reversed/refunded. You must append the transaction_id of the refund transaction to the end of the endpoint, and include the void action and authorization_code of the refund/reversal transaction in the body of the request.

AUTHORIZATION Basic Auth
Username      {{apiaccessid}}
Password       {{apisecurekey}}
Body raw
				
					{
       "action":"void",
       "authorization_code":"0XD331",
       "entered_by":"Griff Tannen"
}
				
			

Example Request

				
					curl --location -g --request PUT '{{baseURI}}/organizations/org_{{organizationID}}/locations/loc_{{locationID}}/transactions/trn_{{transaction_id}}' \
--header 'Authorization: {{Authorization}}' \
--header 'Accept: application/json' \
--header 'X-Forte-Auth-Organization-Id: org_{{AuthOrganizationID}}' \
--header 'Content-Type: application/json' \
--data '{
       "action":"void",
       "authorization_code":"0XD331",
       "entered_by":"Griff Tannen"
}'
				
			

Example Response

				
					{
  "transaction_id": "trn_d6aac435-d0bd-46ab-bfc4-426750f7ab18",
  "location_id": "loc_124125",
  "action": "void",
  "authorization_code": "0XD331",
  "entered_by": "Griff Tannen",
  "response": {
    "environment": "live",
    "response_type": "A",
    "response_code": "A01",
    "response_desc": "APPROVED",
    "authorization_code": "059506"
  },
  "links": {
    "disputes": "https://api.forte.net/v3/transactions/trn_a9234284-0244-4e91-b5bb-175e01e3e641/disputes",
    "settlements": "https://api.forte.net/v3/transactions/trn_a9234284-0244-4e91-b5bb-175e01e3e641/settlements",
    "self": "https://api.forte.net/v3/transactions/trn_a9234284-0244-4e91-b5bb-175e01e3e641/"
  }
}
				
			

PUT Capture a Transaction

				
					{{baseURI}}/organizations/org_{{organizationID}}/locations/loc_{{locationID}}/transactions
				
			

capture enables merchants to collect the funds of a previous authorize transaction. A capture must be performed within the authorization/pre-authorization period (i.e., when the status of the transaction is in-progress) for credit card and echeck transactions. This transaction should be used when the capture of the funds will be initiated later. If the intent is to authorize the transaction and capture the funds immediately, a sale transaction should be sent instead of authorization and capture.

NOTE: authorization_amount field (capture amounts) are supported in sandbox environment but in production environment it is dependent on the processor

AUTHORIZATION Basic Auth
Username      {{apiaccessid}}
Password       {{apisecurekey}}
Body raw
				
					{
    "action": "capture",
    "transaction_id": "trn_2360c442-a6f7-423e-a4d8-de944b7aee16",
    "authorization_code": "0SF381",
}console.log( 'Code is Poetry' );
				
			

Example Request

				
					curl --location -g --request PUT '{{baseURI}}/organizations/org_{{organizationID}}/locations/loc_{{locationID}}/transactions?Authorization={{Authorization}}&Accept=application%2Fjson&X-Forte-Auth_Organization_Id=org_{{AuthOrganizationID}}&Content-Type=application%2Fjson' \
--header 'Accept: application/json' \
--header 'Content-Type: application/json' \
--header 'X-Forte-Auth-Organization-Id: org_{{AuthOrganizationID}}' \
--data '{
    "action": "capture",
    "transaction_id": "trn_2360c442-a6f7-423e-a4d8-de944b7aee16",
    "authorization_amount": 108.34,
    "authorization_code": "0SF381",
}'
				
			

Example Response

				
					{
  "transaction_id": "trn_9b1bfe9f-9fc7-4ad4-84c7-d8637e402254",
  "location_id": "loc_124125",
  "original_transaction_id": "trn_2360c442-a6f7-423e-a4d8-de944b7aee16",
  "action": "capture",
  "authorization_amount": 108.34,
  "authorization_code": "0SF381",
  "entered_by": "9b26093587d09d0f1a847083b2e605c1",
  "response": {
    "environment": "live",
    "response_type": "A",
    "response_code": "A01",
    "response_desc": "APPROVED",
    "authorization_code": "779522"
  }
}
				
			
On this page