Getting Started

API Overview

Our Application Programming Interface (API) allows you to access all functionality of our platform.

All endpoints for the API are available on our sandbox. We provide code samples on different programming languages and are happy to assist you in any way with your integration.

The most current API structure and endpoints are available in the CXP Online API Documentation found here.

At a minimum, the following API’s must be integrated:

Sales API

Detailed Developer Documentation can be found here.

Endpoint

Description

Token

This endpoint creates a sysadmin token. A token must be used in the header request for every transaction.

Device

This endpoint gets all devices

Sale

The Sale transaction is used to perform risk analysis and charge a credit card. Performing a Sale transaction authorizes a credit card which will settle at a designated time each day.

Cancel

The Cancel transaction can be called when the entire trip needs to be cancelled; the traveler/cardholder needs to be refunded and the Virtual Card needs to be terminated to prevent the travel supplier from authorizing the Virtual Card. This single API call handles both functions simultaneously.

Void

Void transactions void a sale that has not yet been settled or is an authorization only transaction. You can create a void, retrieve a specific void or retrieve a listing of all voids via the API.

Return

Return transactions should be used when you need to refund either a partial or the full amount of a sale that has been settled. The return amount can differ from the total amount originally charged in the sale.

Verify

This route is used when you want to find out if the card data is valid. No money is moved via a verify transaction.

Search

When you need to search for a sale, void, return or verify transaction you will utilize the search endpoints.

A list of Declined Response codes can be found here.

Purchases API

Detailed Developer Documentation can be found here.

ENDPOINT

DESCRIPTION

Issue Card

This endpoint creates a Virtual Card

Update Card

When a virtual card is first created via the Issue Card route, the purchase type in that request dictates what Merchant Category Code (MCC) should be applied. This restricts Virtual Cards from being used at merchants other than those deemed acceptable (i.e. non-travel related merchants).

The Update Card endpoint is used to update the MCC if necessary.

Terminate Card

This endpoint terminates a virtual card.

Search Settlements

This endpoint searches for virtual card settlements.


Did this page help you?