> ## Documentation Index
> Fetch the complete documentation index at: https://docs.slm.m1amdocs.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Braintree PayPal Payment Flows

<img src="https://mintcdn.com/amdocs-slm/MfSDIaW4SO7V6TqH/portal/vindiciaSubscribeAndNewRetain/Subscribe_REST_API_Guide/images/braintreePayPalPaymentFlow.png?fit=max&auto=format&n=MfSDIaW4SO7V6TqH&q=85&s=40712542d4986031e9826e5910ed3d48" alt="Braintree PayPal Payment Flow" width="1960" height="700" data-path="portal/vindiciaSubscribeAndNewRetain/Subscribe_REST_API_Guide/images/braintreePayPalPaymentFlow.png" />

1. Customer uses storefront to make a purchase and provides Braintree PayPal as payment method
2. Merchant requests the PayPal payment\_method\_nonce (A secure, one-time-use reference for payment information) for the transaction from Braintree (payment provider providing the PayPal payment method).
3. Braintree (payment provider) provides the temporary PayPal payment\_method\_nonce to the merchant.
4. Merchant sends Vindicia the Transaction request with the PayPal payment\_method\_nonce details.
5. Vindicia Subscribe sends the Transaction auth request to Braintree including a request for the PayPal token (long-term PayPal reference that replaces nonce) and requesting token vaulting (saving)
6. If the Transaction is authorized, Braintree returns a success response to Vindicia Subscribe.
7. Vindicia stores the PayPal token. Available in the Payment Method endpoint in external\_token
8. Vindicia sends a transaction auth success response to the Merchant.
9. Merchant notifies customer that purchase succeeded.

**Parent topic:**[Braintree PayPal](../topics/braintreePayPal_r)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.