Skip to content
Go wrapper for the MultiSafePay API
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.

Go wrapper for MultiSafePay

MultiSafePay is a payment services provider that supports a supports a large number of international payment methods. This package is a wrapper for the MultiSafePay API, created with the goal of simplifying and standardizing the integration into Go projects.

This project is maintained by the MultiSafePay community. There exist a number of wrappers in other programming languages, some maintained by the development team and some by the community, see the page Plugin integration.

import ""


See GoDoc


Pull requests and issues are welcome.

Basic example

The following code example shows the creation of an order, and outputs the response from the API.

package main

import (

func main() {
  // Set-up the client with the required parameters (api url and key)
  var client = multisafepay.NewClient(multisafepay.TestAPIURL, "my_api_key")
  // Define the order
  var order = multisafepay.Order{
    // order parameters go here, see documentation
  // Create the order using the client defined above
  var response, err = client.CreateOrder(order)
  if err != nil {
    panic("could not create order: " + err.Error())
  // Print the response data
You can’t perform that action at this time.