Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

The method will response with the result of your request

 

Variables to send:

Parameter

Data type

Description


 Request

 Text

 createMvisaQRcode

Mandatory

CompanyToken

Token

Token you got from 3G to operate this API

Mandatory

TransactionToken

Token

Transaction token as accepted from the createToken.

Mandatory

Request example:

...


Code Block
languagexml
titlerequest example
<?xml version="1.0" encoding="utf-8"?>

...

<API3G>

...


<API3G>
        <Request>createMvisaQRcode</Request>

...


        <CompanyToken>085D01FF-5283-494D-A382-A19EE1FCC690</CompanyToken>

...


        <TransactionToken>1639BBCE-0676-47BF-B0E1-ABC35402E25D</TransactionToken>

...


</API3G>


Respond:

The server will respond for the refundToken request according to the following results:

Parameter

Data type

Description

Result

3 digits code

A code will be sent with the result of the request

ResultExplanation

Text

I case of successful result, contain the QR code string, else the error

 

Codes:

Code

Explanation

001

Success

999

Error

Respond example:

Code Block
languagexml
titleresponse example
<?xml version="1.0" encoding="utf-8"?>
<API3G>
    <Result>001</Result>
    <ResultExplanation>007834004328790355736269932231701153034045413981.0000000005802KE5925Direct Pay Online Test Ac6007Nairobi62060502186304212|4039 8410 0000 0061|Direct Pay Online Test Ac</ResultExplanation>
</API3G>

...