xBillion API
Home
Home
  1. xBillion
  • xBillion
    • Introduction
    • Authentication
    • Webhhoks
    • API
      • Payments
        • Get information
        • Create payment
  1. xBillion

Introduction

Introduction#

The xBillion API is built on HTTP and is RESTful. It has predictable resource URLs and returns HTTP response codes to indicate errors. It also accepts and returns JSON in the HTTP body. Use your favorite HTTP/REST library in your programming language when using this API.

Flow of transaction processing#

The standard flow of a transaction is as follows:
1.
The user selects the transaction method and specifies the transaction amount.
2.
Merchant forms a request to the xBillion API and forms a signature for the request as described in the “Authentication” section
3.
Merchant sends the request to the Create Payment API.
4.
The xBillion service processes the request from the Merchant and returns a response to the merchant. The response can be of two types:
4.1. The response contains an instruction to redirect the user and a URL to redirect the user to confirm payment.
4.2. The response contains an instruction to display the information from the details field to the user for further payment processing steps.
5.
Merchant starts waiting for webhook notification from xBillion service about the final status of the transaction.
6.
Upon merchant received the final status, the merchant performs actions to account for the completed transaction on the merchant's side.
A visual representation of the described flow is given below:
common_flow.png
Next
Authentication
Built with