This website uses cookies to ensure you have the best experience. By continuing to use this site, you consent to our Cookie policy. You can disable cookies at any time, by changing your browser settings.
Accept and close

Credit (Not implemented yet)

Here you can credit the authorization request

Field Name Len Type Req Ver Comments
method N/A Alp-Num Yes 1.2 credit
fromEmail N/A Alp-Num Yes 1.2 The email associated with the account from which the authorize is made
merchantAccountId N/A Num Yes 1.2 Acquiring Merchant ID
transactionId N/A Num Yes 1.2 The Authorization transaction ID
referenceId N/A Alp-Num Yes 1.2 Your internal identification
amount N/A Num Yes 1.2 Credited amount.The credited amount cannot exceed the settled amount.
key N/A Alp-Num Yes 1.2 MD5(sharedSecret + merchantAccountId + transactionId + referenceId + amount)

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

Field Name Len Type Mdt Ver Comments
ResponseCode N/A Alp-Num Yes 1.2 The response code; 00 = Success;
ResponseDescription N/A Alp-Num Yes 1.2 Human readable response
Fee N/A Real Yes 1.2 Fee for the current transaction
TransactionId N/A Num Yes 1.2 The Authorization transaction ID
ReferenceId N/A Num Yes 1.2 Your internal identification
StatusId N/A Num Yes 1.2 label.field.statusId
2 = Active
4 = Canceled
23 = Pending
25 = Failed
37 = Authorized

Request Sample:

www.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