image header middle
1.866.886.4833
Skip Navigation LinksHome > Connect Developers > Developer's Center: Sample Code

Developer's Center: Sample Code

Sample Code for Easy, Secure Integration

connect developers

United Payment Services POST API Sample Code is provided in C#, VB, and PHP programming languages for developers to easily integrate our secure payment gateway into their payment applications. The samples are fully functional examples of how to use the most often used functions with the most common options. Please refer to the
POST API Developer Integration Guide for a complete list of all operations and options available.

If sample code is needed that is not provided here, please Contact Us and we will be more than happy to work with you to provide any additional code that is needed.

Basic Transaction Processing

  • The code provided for this sample is the minimum information that must be provided to process a basic transaction. This sample follows the POST API Devleloper Intergration Guide Section "Operations/ Methods" Basic - Operation (BT1). Includes samples for:

      →   Card Not Present Transactions
      →   Swiped (Classic) Transactions
      →   Swiped (Point-to-Point Encryption using MagneSafe) Transactions
 

Process returning customer payment with "Card on File" previously stored on gateway

  • Greatly reduce the PCI scope of your application while easily processing payments of your recurring customers. Never store a credit card within your application again!

    Securely store one or more customer credit cards on our gateway and process them by merely sending us the CUSTOMER_NUMBER you wish to charge.

 

Setup Recurring Billing (Subscription Processing)

  • Programmatically create customer subscriptions for automatic recurring billing. Charge the same amount or include a trial period to easily create payment plans such as $99 down (first payment) followed by $39 per month.
 

Fault Tolerant Processing

  • This sample adds the additional logic necessary to provide fault tolerance to your application. Specifically, the API provides a means to identify and VOID transactions which may have been processed, but due to network errors somewhere between the application and the gateway, the application never received a response from the gateway.

Other API Operations

  • United Payment Services POST API supports a variety of additional operations which can be integrated into any custom application (web, Windows, Mac). The samples above are building blocks to aid in the understanding of how our POST API works and how to use the most common functions.

Please refer to the POST API Developer Integration Guide for a complete list of all operations and options available. If sample code is needed that is not provided here, please Contact Us and we will be more than happy to work with you to provide any additional code that is needed.

call us now
1.866.886.4833

United Payment Services is a registered ISO/MSP of Wells Fargo Bank, N.A., Walnut Creek, CA
American Express requires separate approval.
Copyright © 2009 United Payment Services. All Rights Reserved.

bbb logo pci logo inc 5000 top 2010 business