Upload Document

Here you can upload documents

Field NameLenTypeReqVerComments
methodN/AAlpYes1.2uploadDocument
fromEmailN/AAlp-NumYes1.2The email associated with the account from which the authorize is made
typeN/ANumYes1.2Document Type
fileN/AAlp-NumYes1.2The scan of the document coded in BASE64
fileTypeN/AAlpYes1.2File extension
toEmailN/AAlp-NumYes1.2Customer's Email
issuingCountry2Alp-Num--1.2Document's Issuing Country - two letters country code (ISO Char 2 Code)
issuingState2/3Alp--1.2Document's Issuing state two - three letters state / province / county code (ISO 3166-2)
issuingAuthorityN/AAlp-Num--1.2Document's Issuing Authority
issuedDate10Date--1.2Document's Issuing Date
expiryDate10Date--1.2Document's Issuing Expiry Date
seriesN/AAlp-Num--1.2Document's Issuing Series
numberN/ANum--1.2Document's Issuing Number
addressIdN/ANum--1.2Customer Address ID. If this param is sent it will validate Customer's Adress otherwise Customer's Identity. For mor infos look at samples.
keyN/AAlp-NumYes1.2MD5(sharedSecret + type + file + fileType + toEmail + issuingCountry + issuingState + issuingAuthority + issuedDate + expiryDate + series + number + addressId)

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

Request Sample:

https://secure.paxum.com/payment/api/paymentAPI.php

POST

method=uploadDocument&fromEmail=payee%40domain.com&type=3&file=...&fileType=jpg&toEmail=username%40domain.com&issuingCountry=US&issuingState=NY&issuingAuthority=issuing_authority&issuedDate=2012-02-02&expiryDate=2014-02-02&series=series&number=123465

Response Sample

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

Working Sample(s):

uploadDocument.php