Skip to content

PayRobot Go SDK - Accept, track, forward, store and send Bitcoin, Bitcoin Cash and Litecoin for your website or app

Notifications You must be signed in to change notification settings

payrobot/payrobot-go

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Payrobot Go SDK

Introduction

Accept, store, send or forward Bitcoin, Litecoin and Bitcoin Cash for your website or app and protect your privacy.

Supported crytocurrencies:

  • BTC Bitcoin
  • LTC Litecoin
  • BCH Bitcoin Cash

Benefits

  • Anonymous No personal details are required and transactions are mixed among all payments. You can forward your payments so as soon payrobot.io receives it forwards it to another address under your control.

  • No Registration No registration, sign-up, application or form required to use payrobot.io

  • Easy Integration Integrate your web / app through our simple RESTful API, you can accept payments with just one line of code!

  • Instant Payment Notification Our servers notify your web / app the status of your payments. No polling, daemons or cronjobs required on your side!

  • Secure Payrobot.io works with SSL and bank-level security protocols. Your transactions are safe!

Features

Payment Forward Generate one-time addresses to recieve payments. Payrobot will notify your web /app through callbacks (webhooks) the status of the payment. As soon as it's confirmed the payment is forwarded to your desired address.

Wallet Receive, send payments and store your coins in a secure, private and anonymous wallet. All events are notified to your web / app through callbacks (webhooks). You can generate wallets with just one line of code without registration or further information

Fees

Only 0.90% per inbound transaction (receive payments), NO HIDDEN FEES. All outbound transactions (send funds) are totally free.

Minimum fees applies, therefore the largest amount is going to be considered as fee either: (inboundAmount*feePct) or the minimum fee

Inbound Fees (Receive payments)

  • Bitcoin 0.90% (Minimum fee 0.00005 BTC)
  • Litecoin 0.90% (Minimum fee 0.0005 LTC)
  • Bitcoin Cash 0.90% (Minimum fee 0.0005 BCH)

Outbound Fees (Send funds)

  • Bitcoin 0.00%
  • Litecoin 0.00%
  • Bitcoin Cash 0.00%

Rate Limit

To guarantee the good performance of the service and its fair use. The API is limited to receiving 120 requests per minute per IP, which is sufficient for most use cases.

Payrobot.io is asynchronous in most API methods to communicate with your application through callbacks (webhooks), thus reducing unnecessary calls to the service.

If the limit is exceeded, the IP will be banned for 1 minute.

If you require an upper limit for your application, do not hesitate to contact us

Considerations

  • Amounts in responses are expresed as strings

  • Wallets are not multi-currency, you have to create a different wallet per cryptocurrency (You can't store Litecoin in a Bitcoin wallet and vice-versa)

  • Payment forwarding has to be of the same type of currency (You can't forward a Bitcoin Cash payment to a Bitcoin address and vice-versa)

Overview

This API client was generated by the OpenAPI Generator project. By using the OpenAPI-spec from a remote server, you can easily generate an API client.

  • API version: 1.0
  • Package version: 1.0.0
  • Build package: org.openapitools.codegen.languages.GoClientCodegen

Installation

Install the following dependencies:

go get github.com/stretchr/testify/assert
go get golang.org/x/oauth2
go get golang.org/x/net/context
go get github.com/antihax/optional

Put the package under your project folder and add the following in import:

import "./payrobot"

Documentation for API Endpoints

All URIs are relative to https://api.payrobot.io

Class Method HTTP request Description
PaymentApi CreatePayment Post /{currency}/payments Generate a new one-use address to receive a payment
PaymentApi GetPayment Get /{currency}/payments/{paymentId} Get detailed information about a payment
WalletApi CreateWallet Post /{currency}/wallets Create new wallet
WalletApi CreateWalletSendRequest Post /{currency}/wallets/{walletId}/send-requests Send funds from a wallet
WalletApi GetWallet Get /{currency}/wallets/{walletId} Get Wallet information
WalletApi GetWalletHistory Get /{currency}/wallets/{walletId}/history Get last transactions of wallet
WalletApi GetWalletSendRequest Get /{currency}/wallets/{walletId}/send-requests/{requestId} Obtain information of a send request

Documentation For Models

Documentation For Authorization

Endpoints do not require authorization.

Author

contact@payrobot.io

Releases

No releases published

Packages

No packages published