Introduction

ExagonPay is a cryptocurrency payment processor offering many option to accept bitcoin and alt coins as payment method for your online commerce or your physical store. ExagonPay have been founded in 2017 in Hungary. It is a very fast growing startup since ExagibPay is already processing payments for over 10 000 websites and offer trading services (Buy/Sell) for many bitcoin holders. The main goal of ExagonPay is to make popular blockchain payments by offering a full service that will give merchants the opportunity to accept bitcoin and get paid instantly in FIAT (euros or dollars) without any risk of volatility, chargeback or fraud.

In all the payment tools available at ExagonPay, merchants use the powerful API to start accepting bitcoin and alt coins.

Merchant Payment API for Bitcoin & Altcoins.

The ExagonPay API have been written in order to make integration simple for online businesses that want to be able to accept bitcoin as payment method. The merchant that uses ExagonPay API is able to keep his own checkout process and design and of course the all process is white labeled. ExagonPay take care of the full payment process by charging bitcoin on behalf of the merchant to the settlement by paying the merchant in euros dollars or bitcoins. This gives the opportunity to merchants to use a new payment method that is lately becoming very popular without having to get into hard development and avoiding risk fluctuations or hacks by keeping cryptocurrencies in their own wallets. The API can be used by very small apps or websites and is ready to be integrated by corporates dealing with thousands transactions a day.

API Overview

The ExagonPay API offers a full automation to accept bitcoin and alt coins and gets the exchange rates real time from over 20 exchanges. The algorithm will check within milliseconds the best rate available based on the volume of each transaction. In order to perfectly track payments and to avoid the transactions of the merchant to be tracked by illegitimate persons or third party, ExagonPay generates a unique wallet for each transaction.

API Reference

In laoreet dapibus ante vitae placerat. Pellentesque, mollis sapien nec sapien elementum, eu tincidunt elit placerat. Phasellus, laoreet vitae mi at hendrerit. Cras in massa ac mi sodales vestibulum. Etiam convallis lectus vitae ligula.

Example API coming soon

Create transaction

URL Endpoints: https://dev.exagonpay.com/exagonpay/api.php
POST Params
  • action: mandatory

    get_btc_address

    .

  • apikey: mandatory

    of the client in exagonpay backoffice

  • client_id: mandatory

    the id of the client's user in his own system

  • client_name: mandatory

    arbitrary name of the client's user

    .

  • amount: mandatory

    fiat amount to pay, decimal x.xx

    .

  • currency: mandatory

    currency of the amount. EUR, USD or GPD

  • callback: mandatory

    URL on which the events will be posted to let know the clients about the transaction.

Response on failure
[
 "success" => false,
 "msg" => "reason of the failure"
]



Response on success
[
 "success" => true,
 "qr" => (URL of the qr code to pay with BTC),
 "address" => (Wallet address to pay with BTC),
 "btc_amount" => (Amount of BTC to pay),
 "epid" => (Unique Exagonpay transaction ID)
]



Response callback on incomplete payment
[
 "success" => "true",
 "msg" => "Not complete",
 "epid" => Unique Exagonpay transaction ID,
 "amount_received" => amount of BTC received,
 "total_received" => Total of BTC received so far,
 "new_qr" => New QR code URL to complete the payment
]



Response callback on succeeded payment
[
 "success" => "true"
 "msg" => "Transaction confirmed"
 "epid" => (Unique Exagonpay transaction ID),
 "total_received" => (Total of BTC received and expected),
 "new_qr" => ""
]


.
Create Transaction
Example API coming soon

Get Transaction Status

URL Endpoints: https://dev.exagonpay.com/exagonpay/api.php
POST Params
  • action: mandatory

    get_btc_address

    .

  • epid: mandatory

    Unique Exagonpay transaction ID

Response on failure
[
 "success" => false,
 "msg" => "reason of the failure"
]



Response on success (No QR found)
[
 "success" => true,
 "status" => "new"
]



Response on success (QR expired after 20 minutes)
[
 "succeed" => true,
 "status" => "expired",
 "underpaid" => (boolean),
 "txdata" => [...],
 "remains" => (amount remaining to pay),
 "amount_received" => (amount received)
]



Response on success (Incomplete payment)
[
 "succeed" => true,
 "status" => "part",
 "txdata" => [(list of transactions received so far)
               "amount" => ( BTC amount ),
               "confs" => (Confirmations),
               "txhash" => (Blockchain Hash),
               "txdate" => (date time)
            ],
 "remains" => (Amount remaning to pay),
 "remain_qr" => (new QR code to pay whats remain),
 "expected_confs" => (number of confirmations expected),
 "amount_received" => (Total of BTC received so far)
]



Response on success (payment complete and confirmed)
[
 "succeed" => true,
 "status" => "part",
 "overpaid" =>(Was the payment over paid or not),
 "txdata" => [(list of transactions received so far)
               "amount" => ( BTC amount ),
               "confs" => (Confirmations),
               "txhash" => (Blockchain Hash),
               "txdate" => (date time)
            ],
 "expected_confs" => (number of confirmations expected),
 "amount_received" => (amount received)
]

Get Transaction Status
Example API coming soon

Get transaction

URL Endpoints: https://dev.exagonpay.com/exagonpay/api.php
POST Params
  • action: mandatory

    get_payment_detail

    .

  • id: mandatory

    The "key"=>(transaction_id) FROM get_payment_history

Response on failure
[
 "success" => false,
 "msg" => "reason of the failure"
]



Response on success
[
 "success" => true,
 "tx" => [
           "time" => (date time),
           "sum" => (Somme total)
           "amount" => (Amount without fees)
           "fee" => (amount of the fees)
           currency => (Amount of the fees)
           status => (an integer value from the tx_status_list)
           sender => (Label of the sender)
       ],
]


Get Transaction
Example API coming soon

Get transaction list

URL Endpoints: https://dev.exagonpay.com/exagonpay/api.php
POST Params
  • action: mandatory

    get_payment_history

    .

  • apikey:

    The api key

Response on failure
[
 "success" => false,
 "msg" => "reason of the failure"
]



Response on success
[
 "success" => true,
 "tx" => [
           [(transaction 1)
            "key"=> (transaction_id),
            "status"=>integer value from the tx_status_list
            "amount" => (amount of the transaction)
            "ago"=> (how long ago this was initiated),
            "currency"=> (EUR, USD...)
           ],
         [...], (transaction 2),
         [...] (transaction 3)
       ],
]

Get Transaction List
Example API coming soon

Transaction Statuses

Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Status Description
  1   'Pending'
  2   'Confirmed'
  3   'Refund'
  4   'Dispute'
  5   'Blocked'
  6   'Underpaid'
  7   'Blocked'
  8   'Hold'
  9   'Expired'
  10   'Client refund'
  11   'Finished'
  12   'Failed'
  13   'Overpaid'
  14   'Cancelled'