Developers Program

Getting a Seller's Payment Address

Published: January 17 2007, 12:43:00 PMยทUpdated: September 25 2022, 9:32:34 PM

Products

Question

How can I get a seller's payment address?

Answer


Summary

If you have purchased an item from a seller and are in a transactional relationship, you can make a call to GetUser by specifying the seller's UserID, ItemID and DetailLevel of ReturnAll to get the seller's payment address.


Detailed Description

Here is a sample GetUser request:

<?xml version="1.0" encoding="utf-8"?>

<GetUserRequest xmlns="urn:ebay:apis:eBLBaseComponents">

<Version>495</Version>

<DetailLevel>ReturnAll</DetailLevel>

<RequesterCredentials>

<eBayAuthToken>*****</eBayAuthToken>

</RequesterCredentials>

<ItemID>110014603888</ItemID>

<UserID>dts1</UserID>

</GetUserRequest>

You will get back the Seller's payment address in the response:

<?xml version="1.0" encoding="utf-8"?>

<GetUserResponse xmlns="urn:ebay:apis:eBLBaseComponents">

<Timestamp>20070117T19:33:25.964Z</Timestamp>

<Ack>Warning</Ack>

<Errors>

<ShortMessage>Invalid Request: Unavailable user information.</ShortMessage>

<LongMessage>Sorry, but you cannot get access to Registration address for privacy reasons.</LongMessage>

<ErrorCode>508</ErrorCode>

<SeverityCode>Warning</SeverityCode>

<ErrorClassification>RequestError</ErrorClassification>

</Errors>

<Version>495</Version>

<Build>e495_core_Bundled_4073224_R1</Build>

<User>

<AboutMePage>false</AboutMePage>

<EIASToken>nY+sHZ2PrBmdj6wVnY+sEZ2PrA2dj6wJnY+lC5SGoAudj6x9nY+seQ==</EIASToken>

<Email>dts1@ebay.com</Email>

<FeedbackScore>38</FeedbackScore>

<UniqueNegativeFeedbackCount>0</UniqueNegativeFeedbackCount>

<UniquePositiveFeedbackCount>38</UniquePositiveFeedbackCount>

<PositiveFeedbackPercent>100.0</PositiveFeedbackPercent>

<FeedbackPrivate>false</FeedbackPrivate>

<FeedbackRatingStar>Yellow</FeedbackRatingStar>

<IDVerified>true</IDVerified>

<eBayGoodStanding>true</eBayGoodStanding>

<NewUser>false</NewUser>

<RegistrationDate>19950101T10:59:59.000Z</RegistrationDate>

<Site>US</Site>

<Status>Confirmed</Status>

<UserID>dts1</UserID>

<UserIDChanged>false</UserIDChanged>

<UserIDLastChanged>20051114T19:24:29.000Z</UserIDLastChanged>

<VATStatus>NoVATTax</VATStatus>

<SellerInfo>

<AllowPaymentEdit>false</AllowPaymentEdit>

<CheckoutEnabled>false</CheckoutEnabled>

<CIPBankAccountStored>false</CIPBankAccountStored>

<GoodStanding>true</GoodStanding>

<LiveAuctionAuthorized>false</LiveAuctionAuthorized>

<MerchandizingPref>OptIn</MerchandizingPref>

<QualifiesForB2BVAT>false</QualifiesForB2BVAT>

<SellerGuaranteeLevel>NotEligible</SellerGuaranteeLevel>

<SellerLevel>Bronze</SellerLevel>

<SellerPaymentAddress>

<Name>Test User</Name>

<Street1>address</Street1>

<CityName>city</CityName>

<StateOrProvince>state</StateOrProvince>

<CountryName>United States</CountryName>

<Phone/>

<PostalCode>95125</PostalCode>

</SellerPaymentAddress>

<SchedulingInfo>

<MaxScheduledMinutes>30240</MaxScheduledMinutes>

<MinScheduledMinutes>0</MinScheduledMinutes>

<MaxScheduledItems>3000</MaxScheduledItems>

</SchedulingInfo>

<StoreOwner>true</StoreOwner>

<StoreURL>http://www.stores.sandbox.ebay.com/id=434417</StoreURL>

<ExpressEligible>false</ExpressEligible>

<StoreSite>US</StoreSite>

<ExpressWallet>false</ExpressWallet>

<CharityRegistered>false</CharityRegistered>

</SellerInfo>

<eBayWikiReadOnly>false</eBayWikiReadOnly>

<MotorsDealer>false</MotorsDealer>

</User>

</GetUserResponse>


Note:
You will also notice that it returns a warning about the Registration Address. A user's registration address is not returned because of the Privacy Policy.

Version Info

The code example above was based on the versions specified below:

API Schema Version 495
Additional Resources


How well did this answer your question?