POST api/MakePay/CardConnectVoidTxn

Card Connect Void Transaction

Request Information

URI Parameters

None.

Body Parameters

CardTokenVoidRequestModel
NameDescriptionTypeAdditional information
APIKey

string

None.

retref

string

None.

TransactionAmount

decimal number

None.

TransactionCurrency

string

None.

Email

string

None.

CardNo

string

None.

ExMonth

string

None.

ExYear

string

None.

Request Formats

application/json, text/json, text/plain, text/html

Sample:
{
  "apiKey": "sample string 1",
  "retref": "sample string 2",
  "transactionAmount": 3.0,
  "transactionCurrency": "sample string 4",
  "email": "sample string 5",
  "cardNo": "sample string 6",
  "exMonth": "sample string 7",
  "exYear": "sample string 8"
}

application/xml, text/xml

Sample:
<CardTokenVoidRequestModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CMMS_V2.Core.RequestModel">
  <APIKey>sample string 1</APIKey>
  <CardNo>sample string 6</CardNo>
  <Email>sample string 5</Email>
  <ExMonth>sample string 7</ExMonth>
  <ExYear>sample string 8</ExYear>
  <TransactionAmount>3</TransactionAmount>
  <TransactionCurrency>sample string 4</TransactionCurrency>
  <retref>sample string 2</retref>
</CardTokenVoidRequestModel>

multipart/form-data

Sample:
<CardTokenVoidRequestModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CMMS_V2.Core.RequestModel"><APIKey>sample string 1</APIKey><CardNo>sample string 6</CardNo><Email>sample string 5</Email><ExMonth>sample string 7</ExMonth><ExYear>sample string 8</ExYear><TransactionAmount>3</TransactionAmount><TransactionCurrency>sample string 4</TransactionCurrency><retref>sample string 2</retref></CardTokenVoidRequestModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

PaymentVoidRefundResponseModel
NameDescriptionTypeAdditional information
IsSuccess

boolean

None.

Message

string

None.

authcode

string

None.

respproc

string

None.

amount

string

None.

resptext

string

None.

orderId

string

None.

currency

string

None.

retref

string

None.

respstat

string

None.

respcode

string

None.

merchid

string

None.

Response Formats

application/json, text/json, text/plain, text/html

Sample:
{
  "isSuccess": true,
  "message": "sample string 2",
  "authcode": "sample string 3",
  "respproc": "sample string 4",
  "amount": "sample string 5",
  "resptext": "sample string 6",
  "orderId": "sample string 7",
  "currency": "sample string 8",
  "retref": "sample string 9",
  "respstat": "sample string 10",
  "respcode": "sample string 11",
  "merchid": "sample string 12"
}

application/xml, text/xml

Sample:
<PaymentVoidRefundResponseModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CMMS_V2.Core.RequestModel">
  <IsSuccess>true</IsSuccess>
  <Message>sample string 2</Message>
  <amount>sample string 5</amount>
  <authcode>sample string 3</authcode>
  <currency>sample string 8</currency>
  <merchid>sample string 12</merchid>
  <orderId>sample string 7</orderId>
  <respcode>sample string 11</respcode>
  <respproc>sample string 4</respproc>
  <respstat>sample string 10</respstat>
  <resptext>sample string 6</resptext>
  <retref>sample string 9</retref>
</PaymentVoidRefundResponseModel>

multipart/form-data

Sample:
<PaymentVoidRefundResponseModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CMMS_V2.Core.RequestModel"><IsSuccess>true</IsSuccess><Message>sample string 2</Message><amount>sample string 5</amount><authcode>sample string 3</authcode><currency>sample string 8</currency><merchid>sample string 12</merchid><orderId>sample string 7</orderId><respcode>sample string 11</respcode><respproc>sample string 4</respproc><respstat>sample string 10</respstat><resptext>sample string 6</resptext><retref>sample string 9</retref></PaymentVoidRefundResponseModel>