POST Integration/PayWithVoucherBalance
Request Information
URI Parameters
None.
Body Parameters
MaxiCashVoucherInputRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| RequestData | MaxiCashVoucherData |
None. |
|
| MerchantID | string |
None. |
|
| MerchantPassword | string |
None. |
|
| Reference | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"RequestData": {
"Amount": "sample string 1",
"Balance": "sample string 2",
"ScratchCode": "sample string 3"
},
"MerchantID": "sample string 1",
"MerchantPassword": "sample string 2",
"Reference": "sample string 3"
}
application/xml, text/xml
Sample:
<MaxiCashVoucherInputRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MaxiCashWebApi.Models">
<MerchantID>sample string 1</MerchantID>
<MerchantPassword>sample string 2</MerchantPassword>
<Reference>sample string 3</Reference>
<RequestData>
<Amount>sample string 1</Amount>
<Balance>sample string 2</Balance>
<ScratchCode>sample string 3</ScratchCode>
</RequestData>
</MaxiCashVoucherInputRequest>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
MaxiCashVoucherBalanceResponse| Name | Description | Type | Additional information |
|---|---|---|---|
| SessionToken | string |
None. |
|
| ResponseStatus | string |
None. |
|
| ResponseError | string |
None. |
|
| ResponseData | MaxiCashVoucherData |
None. |
Response Formats
application/json, text/json
Sample:
{
"SessionToken": "sample string 1",
"ResponseStatus": "sample string 2",
"ResponseError": "sample string 3",
"ResponseData": {
"Amount": "sample string 1",
"Balance": "sample string 2",
"ScratchCode": "sample string 3"
}
}
application/xml, text/xml
Sample:
<MaxiCashVoucherBalanceResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MaxiCashWebApi.Models">
<ResponseData>
<Amount>sample string 1</Amount>
<Balance>sample string 2</Balance>
<ScratchCode>sample string 3</ScratchCode>
</ResponseData>
<ResponseError>sample string 3</ResponseError>
<ResponseStatus>sample string 2</ResponseStatus>
<SessionToken>sample string 1</SessionToken>
</MaxiCashVoucherBalanceResponse>