Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 3 Next »

Description

The createMvisaQRcode request will return mVISA QR code string

URL: https://secure.sandbox.directpay.online/API/v6/

 

Usage

Use this method in order to create mVISA QR code.

 

Response

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:


request example
<?xml version="1.0" encoding="utf-8"?>
<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:


response 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>



 

 

 

  • No labels