Search code examples
pythonpaypalpaypal-rest-sdk

Can you save a paypal users information to charge them later REST API?


I want to do a type of one click buy within my site using the paypal restsdk. Where the user will be able to somehow add their paypal account and we will just charge their account every time it's appropriate.

I have looked into the vault but that seems like it's a credit card only option. It would be nice to not force the user to enter a credit card if they already have a paypal account, since paypal may already have a credit card on file, or the user may have a positive paypal balance, etc.

I'm using python with the paypalrestsdk.


Solution

  • I don't see anything for that in the REST API, but the Classic API can do it very easily with Express Checkout Billing Agreements.