Skip to content

CaryChy/cybersource-rest-client-go

 
 

Repository files navigation

Go Client SDK for the CyberSource REST API

Documentation

The CyberSource Go client provides convenient access to the CyberSource REST API from your Go application.

Requirements

  • Go version 1.13 or higher
  • A CyberSource account (see Registration & Configuration section below)

Installation

Go Modules:

# In your project:
go get github.com/tooolbox/cybersource-rest-client-go

Registration & Configuration

Use of this SDK and the CyberSource APIs requires having an account. You can find details of getting a test account and creating your keys here

Remember this SDK is for use in server-side Go applications that access the CyberSource REST API and credentials should always be securely stored and accessed appropriately.

SDK Usage Examples and Sample Code

You can find details and examples of how the API is structured in the API Reference Guide:

The API Reference Guide provides examples of what information is needed for a particular request and how that information would be formatted. Using those examples, you can easily determine what methods would be necessary to include that information in a request using this SDK.

Switching between the sandbox environment and the production environment

Cybersource maintains a complete sandbox environment for testing and development purposes. This sandbox environment is an exact duplicate of the production environment with the transaction authorization and settlement process simulated. By default, this SDK is configured to communicate with the sandbox environment.

API credentials are different for each environment, so be sure to switch to the appropriate credentials when switching environments.

License

This repository is distributed under a proprietary license. See the provided LICENSE.txt file.

About

Go client library for the CyberSource REST API

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Go 98.8%
  • Shell 1.2%