I guess you have referred the following, https://developer.xxxpal.com/docs/api/ (replace xxx with pay)
All the methods are covered it seems. I guess following points you may have already thought about, Ability to set the sandbox or production url at config level. When errors are returned from api connector should, return the error to to the user. Eg: If connection related error happens it should go to fault sequence. If api returns an error error response should propagate to user. Thank you. Best Regards, Malaka On Fri, Dec 20, 2013 at 3:24 PM, Malaka Silva <[email protected]> wrote: > *Introduction* > > Pay Pal is an international e-commerce business allowing payments and > money transfers to be made through the Internet. Online money transfers > serve as electronic alternatives topaying with traditional paper methods, > such as checks and money orders. Pay_Pal API is used to deal with Pay_Pal > to perform certain operations allowed by the API. > > *Pay Pal Connector Summery* > > Connector Name: Pay Pal-connector-1.0.0 > Version: 1.0.0 > Technology: REST > > *Authentication*: > Pay Pal Connector uses OAuth2.0 authentication methodology. It is > necessary to set up your request headers, including an OAuth 2.0 access > token with each API call. > > Selected Methods (20) for version 1.0.0 > > *PAYMENT* > • *createPayment* - Depending on the payment method and the funding > instrument, you can use the payment resource for direct credit card > payments, stored credit card payments, or Pay Pal account payments. > Additionally, you can authorize payments to be captured at a later time. > • *executeApprovedPayment* - Use this call to execute (complete) a > Pay Pal payment that has been approved by the payer. > > • *lookupPayment* - Use this call to get details about payments > that have not completed, such as payments that are created and approved, or > if a payment has failed. > > • *listPayments* - Use this call to get a list of payments. > > *SALE TRANSACTIONS* > • *refundSale* - Use this call to refund a completed payment. > > • *lookupSale* - Use this call to get details about a sale > transaction. > > > *REFUNDS* > • *lookupRefund* - Use this call to get details about a specific > refund. > > *AUTHORIZATION* > > • *lookupAuthorization* - Use this call to get details about > authorizations. > > • *captureAuthorization* - Use this resource to capture and process > a previously created authorization. > > • *voidAuthorization* - Use this call to void a previously > authorized payment. > > • *reAuthorization* - Use this call to reauthorize a Pay Pal > account payment. We recommend that you reauthorize a payment after the > initial 3-day honor period to ensure that funds are still available. > > *CAPTURE DETAILS* > > • *lookupCapturedPayment* - Use this call to get details about a > captured payment. > > • *refundCapturedPayment* - Use this call to refund a captured > payment. > > *CREDIT CARD DETAILS* > > • *stroreCreditCardDetails* - Use this call to store credit card > details with Pay Pal. > > • *deleteCreditCardDetails* - Use this call to delete details of a > credit card. > > • *lookupCreditCardDetails* - Use this call to look up details of a > credit card. > > *IDENTITY* > • *grantTokenFromAuthorizationCode* - Use this call to grant a new > access token, using the previously obtained authorization code. > > • *grantTokenFromRefreshToken* - Use this call to grant a new > access token, using a refresh token. > > • *getUserInformation* - Use this call to retrieve user profile > attributes. > > *CONFIG* > • *init* -Configuration details > > > > Your comments are greatly appreciate. > > Thanks > Indika Kularathne > > -- > > Best Regards, > > Malaka Silva > Senior Tech Lead > M: +94 777 219 791 > Tel : 94 11 214 5345 > Fax :94 11 2145300 > LinkedIn : http://www.linkedin.com/pub/malaka-silva/6/33/77 > Blog : http://mrmalakasilva.blogspot.com/ > > WSO2, Inc. > lean . enterprise . middleware > http://www.wso2.com/ > http://www.wso2.com/about/team/malaka-silva/<http://wso2.com/about/team/malaka-silva/> > > Save a tree -Conserve nature & Save the world for your future. Print this > email only if it is absolutely necessary. > -- Best Regards, Malaka Silva Senior Tech Lead M: +94 777 219 791 Tel : 94 11 214 5345 Fax :94 11 2145300 LinkedIn : http://www.linkedin.com/pub/malaka-silva/6/33/77 Blog : http://mrmalakasilva.blogspot.com/ WSO2, Inc. lean . enterprise . middleware http://www.wso2.com/ http://www.wso2.com/about/team/malaka-silva/<http://wso2.com/about/team/malaka-silva/> Save a tree -Conserve nature & Save the world for your future. Print this email only if it is absolutely necessary.
_______________________________________________ Architecture mailing list [email protected] https://mail.wso2.org/cgi-bin/mailman/listinfo/architecture
