POST api/VPOS/MakeBindingPayment
Do Binding Transaction
Request Information
URI Parameters
None.
Body Parameters
DoBindingTransactionRequest model
MakeBindingPaymentRequestName | Description | Type | Additional information |
---|---|---|---|
ClientID | string |
None. |
|
Username | string |
None. |
|
Password | string |
None. |
|
CardHolderID | string |
None. |
|
Amount | decimal number |
None. |
|
OrderID | integer |
None. |
|
BackURL | string |
None. |
|
PaymentType | PaymentsEnum |
None. |
|
Description | string |
None. |
|
Currency | string |
None. |
|
Opaque | string |
None. |
Request Formats
application/json, text/json
Sample:
{ "ClientID": "sample string 1", "Username": "sample string 2", "Password": "sample string 3", "CardHolderID": "sample string 4", "Amount": 5.0, "OrderID": 6, "BackURL": "sample string 7", "PaymentType": 0, "Description": "sample string 8", "Currency": "sample string 9", "Opaque": "sample string 10" }
application/xml, text/xml
Sample:
<MakeBindingPaymentRequest xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <ClientID>sample string 1</ClientID> <Username>sample string 2</Username> <Password>sample string 3</Password> <CardHolderID>sample string 4</CardHolderID> <Amount>5</Amount> <OrderID>6</OrderID> <BackURL>sample string 7</BackURL> <PaymentType>None</PaymentType> <Description>sample string 8</Description> <Currency>sample string 9</Currency> <Opaque>sample string 10</Opaque> </MakeBindingPaymentRequest>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
DoBindingTransactionResponse
MakeBindingPaymentResponseName | Description | Type | Additional information |
---|---|---|---|
PaymentID | string |
None. |
|
ResponseCode | string |
None. |
|
Amount | decimal number |
None. |
|
ApprovedAmount | decimal number |
None. |
|
ApprovalCode | string |
None. |
|
CardNumber | string |
None. |
|
ClientName | string |
None. |
|
Currency | string |
None. |
|
DateTime | string |
None. |
|
DepositedAmount | decimal number |
None. |
|
Description | string |
None. |
|
MDOrderID | string |
None. |
|
MerchantId | string |
None. |
|
TerminalId | string |
None. |
|
OrderID | string |
None. |
|
PaymentState | string |
None. |
|
PaymentType | PaymentsEnum |
None. |
|
PrimaryRC | string |
None. |
|
ExpDate | string |
None. |
|
ProcessingIP | string |
None. |
|
OrderStatus | string |
None. |
|
CardHolderID | string |
None. |
|
BindingID | string |
None. |
|
RefundedAmount | decimal number |
None. |
|
Opaque | string |
None. |
|
TrxnDescription | string |
None. |
|
rrn | string |
None. |
|
ActionCode | string |
None. |
|
AcsUrl | string |
None. |
|
PaReq | string |
None. |
|
TermUrl | string |
None. |
Response Formats
application/json, text/json
Sample:
{ "PaymentID": "sample string 1", "ResponseCode": "sample string 2", "Amount": 3.0, "ApprovedAmount": 4.0, "ApprovalCode": "sample string 5", "CardNumber": "sample string 6", "ClientName": "sample string 7", "Currency": "sample string 8", "DateTime": "sample string 9", "DepositedAmount": 10.0, "Description": "sample string 11", "MDOrderID": "sample string 12", "MerchantId": "sample string 13", "TerminalId": "sample string 14", "OrderID": "sample string 15", "PaymentState": "sample string 16", "PaymentType": 0, "PrimaryRC": "sample string 17", "ExpDate": "sample string 18", "ProcessingIP": "sample string 19", "OrderStatus": "sample string 20", "CardHolderID": "sample string 21", "BindingID": "sample string 22", "RefundedAmount": 23.0, "Opaque": "sample string 24", "TrxnDescription": "sample string 25", "rrn": "sample string 26", "ActionCode": "sample string 27", "AcsUrl": "sample string 28", "PaReq": "sample string 29", "TermUrl": "sample string 30" }
application/xml, text/xml
Sample:
<MakeBindingPaymentResponse xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <PaymentID>sample string 1</PaymentID> <ResponseCode>sample string 2</ResponseCode> <Amount>3</Amount> <ApprovedAmount>4</ApprovedAmount> <ApprovalCode>sample string 5</ApprovalCode> <CardNumber>sample string 6</CardNumber> <ClientName>sample string 7</ClientName> <Currency>sample string 8</Currency> <DateTime>sample string 9</DateTime> <DepositedAmount>10</DepositedAmount> <Description>sample string 11</Description> <MDOrderID>sample string 12</MDOrderID> <MerchantId>sample string 13</MerchantId> <TerminalId>sample string 14</TerminalId> <OrderID>sample string 15</OrderID> <PaymentState>sample string 16</PaymentState> <PaymentType>None</PaymentType> <PrimaryRC>sample string 17</PrimaryRC> <ExpDate>sample string 18</ExpDate> <ProcessingIP>sample string 19</ProcessingIP> <OrderStatus>sample string 20</OrderStatus> <CardHolderID>sample string 21</CardHolderID> <BindingID>sample string 22</BindingID> <RefundedAmount>23</RefundedAmount> <Opaque>sample string 24</Opaque> <TrxnDescription>sample string 25</TrxnDescription> <rrn>sample string 26</rrn> <ActionCode>sample string 27</ActionCode> <AcsUrl>sample string 28</AcsUrl> <PaReq>sample string 29</PaReq> <TermUrl>sample string 30</TermUrl> </MakeBindingPaymentResponse>