Add Funds From Card

Add Funds From Card

Field NameLenTypeReqVerComments
methodN/AAlp-NumYes1.1addFundsFromCard
fromEmailN/AAlp-NumYes1.1The email associated with the account from which the amount is deducted
fromCardN/ANumYes1.1The ID of the card from where the funds are taken
toAccountIdN/ANumYes1.1The ID of the account where the funds are transfered to
amountN/ARealYes1.1Amount to be transfered
currency3AlpYes1.1The currency code (e.g USD)
cardVerificationNumber3NumYes1.1Card Verification Number (CVV) located on the back of the card
keyN/AAlp-NumYes1.1MD5(sharedSecret + fromCard + toAccountId + amount + currency + cardVerificationNumber)

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

Field NameLenTypeMdtVerComments
ResponseCodeN/AAlp-NumYes1.1The response code; 00 = Success;
ResponseDescriptionN/AAlp-NumYes1.1Human readable response
FeeN/ARealYes1.1Fee for the current transaction
TransactionIdN/ANumYes1.1The transaction ID if successfully, otherwise not specified

Request Sample:

https://secure.paxum.com/payment/api/paymentAPI.php
POST
method=addFundsFromCard&fromEmail=[email protected]&fromCard=123456&toAccountId=123456&amount=10&currency=USD&key=361a4499be18f4f68c62e1ddd1ad928f

Response Sample

<?xml version="1.0"?>
<Response>
    <Environment>PRODUCTION</Environment>
    <Method>addFundsFromCard</Method>
    <ResponseCode>00</ResponseCode>
    <ResponseDescription>Approved or Completed Successfully</ResponseDescription >
    <Fee>0.00</Fee>
    <TransactionId>23646236</TransactionId>
</Response>

Response Sample 2
This Response is for a card enrolled in 3D secure (the response received from card processor)

<?xml version="1.0"?>
<Response>
    <Environment>PRODUCTION</Environment>
    <Method>addFundsFromCard</Method>
    <ResponseCode>00</ResponseCode>
    <ResponseDescription>Approved or Completed Successfully</ResponseDescription >
    <HtmlCode>
    <html>
    <body>
    .....
    </body>
    </html>
    </HtmlCode>
</Response>

Working Sample(s):

addFundsFromCard.php