
PayPal Web Services API Architecture
PayPal Web Services API Definitions
30 July 2006 Web Services API Reference
<GetTransactionDetailsResponse xmlns="urn:ebay:api:PayPalAPI"><Timestamp
xmlns="urn:ebay:apis:eBLBaseComponents">2005-02-09T21:51:26Z</Timestamp>
<Ack xmlns="urn:ebay:apis:eBLBaseComponents">Failure</Ack>
<Errors xmlns="urn:ebay:apis:eBLBaseComponents" xsi:type="ebl:ErrorType">
<ShortMessage xsi:type="xs:string">Authentication/Authorization
Failed</ShortMessage>
<LongMessage xsi:type="xs:string">Username/Password is
incorrect</LongMessage>
<ErrorCode xsi:type="xs:token">10002</ErrorCode>
<SeverityCode xmlns="urn:ebay:apis:eBLBaseComponents">Error</SeverityCode>
</Errors>
<CorrelationID
xmlns="urn:ebay:apis:eBLBaseComponents">debugging_info</Version>
<Version xmlns="urn:ebay:apis:eBLBaseComponents">1.000000</Version><Build
xmlns="urn:ebay:apis:eBLBaseComponents">1.0006</Build>
.
. other elements in response
.
</SOAP-ENV:Body></SOAP-ENV:Envelope>
CorrelationID for Reporting Problems to PayPal
The value returned in CorrelationID is important for PayPal to determine the precise cause
of any error you might encounter. We suggest that you capture the value of CorrelationID
so you can report it to PayPal.
Test Tools: PayPal SDK Console
The PayPal SDK includes the console, which is a good tool for testing and learning the PayPal
Web Services API. For more details about the console, see the PayPal SDK Guides.
PayPal Web Services API Definitions
The PayPal Web Services API comprises individual API definitions for specific business
functions. As a foundation, the API relies on eBay Business Language (eBL) base and core
components. The core eBL structures AbstractRequestType and
AbstractResponseType are the basis of the SOAP request and response of each PayPal
API. AbstractResponseType is also the framework for error messages common across all
PayPal APIs.
PayPal has made some schema design decisions that can affect how businesses design their
own applications.
z Enumerations: Enumerations are defined directly in the PayPal API schema.
z Troubleshooting information: The PayPal API returns information about elements that
trigger errors.
Commentaires sur ces manuels