Credit (Not implemented yet)

Here you can credit the authorization request

Field NameLenTypeReqVerComments
methodN/AAlp-NumYes1.2credit
fromEmailN/AAlp-NumYes1.2The email associated with the account from which the authorize is made
merchantAccountIdN/ANumYes1.2Acquiring Merchant ID
transactionIdN/ANumYes1.2The Authorization transaction ID
referenceIdN/AAlp-NumYes1.2Your internal identification
amountN/ANumYes1.2Credited amount.The credited amount cannot exceed the settled amount.
keyN/AAlp-NumYes1.2MD5(sharedSecret + merchantAccountId + transactionId + referenceId + amount)

This request is responded by a message with the following content:

Field NameLenTypeMdtVerComments
ResponseCodeN/AAlp-NumYes1.2The response code; 00 = Success;
ResponseDescriptionN/AAlp-NumYes1.2Human readable response
FeeN/ARealYes1.2Fee for the current transaction
TransactionIdN/ANumYes1.2The Authorization transaction ID
ReferenceIdN/ANumYes1.2Your internal identification
StatusIdN/ANumYes1.2label.field.statusId
2 = Active
4 = Canceled
23 = Pending
25 = Failed
37 = Authorized

Request Sample:

https://secure.paxum.com/payment/api/paymentAPI.php
POST
method=credit&fromEmail=payee%40domain.com&trasactionId=123456&referenceId=225845&shippingCompany=shippingCompany&shippingAwb=123456&key=43003c21814cbf5c8f3bcfabbca6a473

Response Sample

<?xml version="1.0"?>
<Response>
    <Method>credit</Method>
    <ResponseCode>00</ResponseCode>
    <ResponseDescription>Approved or Completed Successfully</ResponseDescription >
    <Fee>0.00</Fee>
    <TransactionId>23646236</TransactionId>
    <ReferenceId>225845</ReferenceId>
    <Status>23</Status>
</Response>

Working Sample(s):

credit.php