Payment Automation Integration Guide

Learn how to automate your payments with ease and organize a convenient payout project to aid the cases when rendering large volume of payments on a regular, scheduled or one-time basis.

Table of contents:

§1. General Information

In this guide we will review practical examples, while general OKPAY automation features are described in the Programming Interfaces section of the Comprehensive Manual.

OKPAY provides great functionality for payments automation billing – i.e. sending payments from your OKPAY account balance to other users and parties. You are also able to use available transfer options to create a convenient payout service and send funds to other parties.

Note: Payouts, as well as API instruments, are available only to a verified OKPAY client who selected a Corporate account type. Read more in the General Reference Guide for Merchants.

Here are some of the Payments Automation features:

  • Enable automatic payouts and transfers for your business via API.
  • Send mass payments to users within OKPAY system.
  • Specify who will pay the transfer fee.
  • Supported payout/transfer methods include payment cards, bank wires, various payment systems and cryptocurrencies.
  • Check transaction status and account balance at any moment.

§2. API Setup

API tools are available to verified OKPAY corporate clients. Before proceeding with further integration and API tools usage please create API Keys for your OKPAY wallet. Detailed information can be found in API Setup section of the Comprehensive Manual.

§3. How to...

Please find below various examples of OKPAY automation implementation.

§3.1. Check Balance

Make sure your OKPAY account balance is sufficient before sending any payments. The Balance API function allows you to get the balance of all available currencies for a specified wallet.

Detail information can be found on the Balance Function page.

§3.2. Send Money

Once you have checked your wallet balance and the accounts of receivers you can be sure that the money will be sent without any issues. The SendMoney Function allows you to transfer money instantly with OKPAY e-currency to any other user by using the balance of your wallet. There are basically 3 main parameters that you need to specify for your payout, such us:

  • the receiver credentials (OKPAY Wallet ID, email address, phone number or any other contact info)
  • the currency of the transfer (one of the supported by OKPAY currencies)
  • the original amount of the transfer with two decimal places

Note: You can send money to any email address. If the client is not yet registered, he will get a notification email about the incoming transfer as well as the link to sign up for OKPAY and receive the money.

Once the transaction is completed you receive a TxnInfo structure, including transaction ID, date/time, status and other information.

§3.3. Manage Payments

OKPAY provides all necessary tools to prepare and manage already sent payments.

§3.3.1. Get Transaction Information

Once the payments have been sent, you are able to instantly obtain information on the transfer, return values contain TxnInfo structure.

§3.3.2. Get Transaction History

If you need to view the transaction history of the specific wallet via API, you can use the Transactions Function.

Depending on your requirements, transaction history can be generated in a specific manner, for example, to find payments of the particular user, set the parameters of search interval, transaction, etc.

§3.4. Payouts and Transfers

API for transferring funds with OKPAY is a very useful instrument that allows users not only withdraw funds from their OKPAY account but also use the available transfer methods for the payout project or send money to other parties.

§3.4.1. Make Transfer to a Card

Currently, OKPAY supports credit and debit cards payout in various currencies. Current list of supported options can be found on the Money Transfers page.

While using this option you need to specify the card credentials and payment details. Upon completing the transaction a TxnInfo structure is returned.

§3.4.2. Make Transfer to a Payment System

Apart from Payment Card transfer functionality, you can also transfer funds from the OKPAY account or send money to another user via supported payment systems (for example Qiwi, W1 etc.). Current list of supported options can be found on the Money Transfers page.

In this case, you need to specify the payment system which will be used to send the funds (the payment system should be supported by OKPAY transfer API), account credentials, amount and the currency.

Upon completing the transaction a TxnInfo structure is returned.

§3.4.3. Make Transfer to a Cryptocurrency

OKPAY also supports transfers to popular cryptocurrencies (bitcoin, etc.). Current list of supported options can be found on the Money Transfers page.

Specify the cryptocurrency type that will be used for transfer as well as payment details.

OKPAY RSS
OKPAY Forum
OKPAY on Facebook
OKPAY on Livejournal
OKPAY on Twitter
OKPAY on VK
OKPAY on Linkedin
OKPAY on Youtube