...
The Moniepoint Communication Library provides a C# implementation for seamless communication with Moniepoint payment terminals through a serial port. This library facilitates developers in interacting with Moniepoint devices by enabling the sending of payment requests.
DLL Name
The DLL associated with the Moniepoint Communication Library is named moniepoint.dll
...
98 - Exceeds cash limit
Sample Response
...
Response - POS Transfer
Code Block |
---|
<?xml
version="1.0"?>
<Response>
<MaskedPan>null</MaskedPan>
<ResponseCode>00</ResponseCode>
<AuthorizeCode>null</AuthorizeCode>
<CardHolderName>null</CardHolderName>
<Amount>10000</Amount>
<RetrievalRefNo>null</RetrievalRefNo>
<TerminallD>2214YY0M
</TerminalID>
<TransTime>2024-09-27T00:24:31.000000000</TransTime>
<PaymentMethod>POS_TRANSFER</PaymentMethod>
<CardScheme>null</CardScheme>
</Response> |
Sample Response - Card Payment
Code Block |
---|
<?xml version="1.0"?> <Response> <MaskedPan>512345******6913<1230</MaskedPan> <ResponseCode>00</ResponseCode> <AuthorizeCode>187127<<AuthorizeCode>1B7D</AuthorizeCode> <CardHolderName>CUSTOMER/INSTANT<ZENITH</CardHolderName> <Amount>10000</Amount> <RetrievalRefNo>000000000003<<RetrievalRefNo>000000000007</RetrievalRefNo> <TerminalID>2057ILZS<<TerminalID></TerminalID> <TransTime>2024<TransTime>2023-0309-04T1711T17:4707:1233.000000000</TransTime> <PaymentMethod>CARD_PURCHASE</TransTime>PaymentMethod> <CardScheme>VISA<<CardScheme>MASTERCARD</TransTime>CardScheme> </Response> |
Error codes
Code Block | ||
---|---|---|
| ||
public const int SuccessStatus = 0; public const int PortNotOpenStatus = -1; public const int SendErrorStatus = -2; public const int ReceiveErrorStatus = -3; public const int ReceiveTimeoutStatus = -4; public const int InvalidResponseLengthStatus = -5; public const int InvalidAcknowledgeResponseStatus = -6; public const int InvalidConnectionStatusResponse = -7; public const int ReceiveConnectionErrorStatus = -8; public const int ReceiveTimeoutStatusWithPartialResponse = -9; |