FILTER BY TAG

PayPal Vaulted Payments

PayPal vaulted payments enable merchants to securely store a customer's PayPal payment credentials for future use. When vaulting is enabled,
Unified Checkout
creates and saves a tokenized PayPal payment method with the customer's consent. The vaulted payment method can subsequently be used for future purchases without requiring the customer to re-enter their PayPal credentials.
Vaulting is supported for both PayPal Checkout and PayPal Pay Later transactions. You can determine whether vaulting is enabled when you create the capture context request. Customer selection of whether to save their payment credentials is managed within the PayPal experience.
IMPORTANT
PayPal vaulting is only applicable to the
PAYPAL
payment type.
Vaulting supports both authorization/capture and sale flows. A successful vaulted transaction returns a token identifier and
VAULTED
status. Token retrieval and deletion are performed through separate APIs.

Supported Uses

  • Save a customer's PayPal payment credentials during checkout.
  • Process an immediate purchase while creating a vaulted payment token.
  • Support future merchant-initiated or customer-initiated purchases using previously vaulted credentials.
  • Store multiple PayPal payment sources for a customer, if configured.

Enabling PayPal Vaulting

To enable PayPal vaulting, you must include the
vaultingEnabled
and
tokenizedPaymentMethod
fields to the
PAYPAL
payment configuration field object.

Required Fields

Include these required fields to enable PayPal vaulting:
vaultingEnabled
Set to
true
to enable PayPal vaulting.
usageType
Defines the token ownership. Set to one of these values:
  • MERCHANT
  • PLATFORM
usagePattern
Defines intended token usage. Set to one of these values:
  • DEFERRED
    : Payment collected after goods or services are rendered.
  • IMMEDIATE
    : On-demand purchases for goods or services.
  • RECURRING_POSTPAID
    : Recurring payments collected after service delivery.
  • RECURRING_PREPAID
    : Recurring payments collected before service delivery.
  • THRESHOLD_POSTPAID
    : Charge when a predefined threshold is reached after service delivery.
  • THRESHOLD_PREPAID
    : Charge when a predefined threshold is reached before service delivery.
industryType
Merchant industry classification. Set to one of these values:
  • car rental
  • CFDs
  • Cruise Line
  • Crypto
  • DIGITAL GOODS
  • Events
  • Food
  • Fuel
  • Gambling
  • GAMING
  • Groceries
  • hotel
  • Marketplaces
  • P2P
  • Remittance
  • Retail
  • Ride Sharing
  • Taxi
  • TELCO
  • Ticketing
  • Token Service Providers
  • transportation
  • Travel
  • travel package

Optional Fields

You can include these optional fields to enable PayPal vaulting:
allowMultipleTokens
Allows multiple stored PayPal payment methods per customer.
description
Merchant-defined description for the vaulted credential.

Example: Capture Context Request

{ "targetOrigins": ["https://yourCheckoutPage.com"], "allowedPaymentTypes": ["PAYPAL"], "paymentConfigurations": { "PAYPAL": { "vaultingEnabled": true, "tokenizedPaymentMethod": { "usageType": "MERCHANT", "usagePattern": "IMMEDIATE", "allowMultipleTokens": true }, "industryType": "P2P" } } }