Add Address

Add Address

Field NameLenTypeReqVerComments
methodN/AAlp-NumYes1.1addAddress
fromEmailN/AAlp-NumYes1.1The email associated with the account to wich the address will be added
streetNameN/AAlp-NumYes1.2Street Name
streetNumberN/AAlp-NumYes1.2Street Number
buildingN/AAlp-Num--1.2Building
entranceN/AAlp-Num--1.2Entrance
floorN/AAlp-Num--1.2Floor
apartmentN/AAlp-Num--1.2Apartment
districtN/AAlp-Num--1.2District
cityN/AAlpYes1.1City name
state2 / 3AlpYes1.1two - three letters state / province / county code (ISO 3166-2)
country2AlpYes1.1two letters country code (ISO Char 2 Code)
postalCodeN/AAlp-NumYes1.1Zip / Postal Code
addressStatusN/AAlp-NumYes1.11 = Home
2 = Business
3 = Home and Business
KeyN/AAlp-NumYes1.1MD5(sharedSecret + address + address2 + city + state + country + postalCode + addressStatus)

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 address ID if successfully, otherwise not specified

Request Sample:

https://secure.paxum.com/payment/api/paymentAPI.php
POST
method=addAddress&fromEmail=payee%40domain.com&address=address&address2=address2&city=city&state=state&postalCode=postalCode&country=country&addressStatus=1&key=8fdf1160dee568649b63ae10be81d8e6

Response Sample

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

Working Sample(s):

addAddress.php