Getting started
API reference
How-tos
Search…
API reference
Introduction
Addresses
Adjustments
Adyen gateways
Adyen payments
Applications
Attachments
Authorizations
Avalara accounts
Billing info validation rules
Bing geocoders
Braintree gateways
Braintree payments
Bundles
Captures
Carrier accounts
Checkout.com gateways
Checkout.com payments
Coupon codes promotion rules
Coupon recipients
Coupons
Customer addresses
Customer groups
Customer password resets
Customer payment sources
Customer subscriptions
Customers
Delivery lead times
Event callbacks
External gateways
External payments
External promotions
External tax calculators
Fixed amount promotions
Fixed price promotions
Free gift promotions
Free shipping promotions
Geocoders
Gift card recipients
Gift cards
Google geocoders
Imports
In stock subscriptions
Inventory models
Inventory return locations
Inventory stock locations
Klarna gateways
Klarna payments
Line item options
Line items
Manual gateways
Manual tax calculators
Markets
Merchants
Order amount promotion rules
Order copies
Order subscriptions
Order validation rules
Orders
Organizations
Packages
Parcel line items
Parcels
Payment gateways
Payment methods
Paypal gateways
Paypal payments
The paypal payment object
Create a paypal payment
List all paypal payments
Retrieve a paypal payment
Update a paypal payment
Delete a paypal payment
Percentage discount promotions
Price lists
Prices
Promotion rules
Promotions
Refunds
Return line items
Returns
Shipments
Shipping categories
Shipping methods
Shipping zones
SKU list items
SKU list promotion rules
SKU lists
SKU options
SKUs
Stock items
Stock line items
Stock locations
Stock transfers
Stripe gateways
Stripe payments
Tax calculators
Tax categories
Tax rules
Taxjar accounts
Transactions
Voids
Webhooks
Wire transfers
Paypal payments
The PayPal payment object and the allowed CRUD operations on the related resource endpoint
PayPal payments can be created and associated with an order in a few steps:
1.
Create a PayPal payment, passing a valid
return_url
and
cancel_url
2.
Get the
approval_url
from the response
3.
Redirect the customer to the approval URL
4.
Get the
paypal_payer_id
from the return url parameters
5.
Update the PayPal payment with the payer ID
PayPal payments are
one-time payment sources
and cannot be saved in customer wallets.
Previous
Delete a paypal gateway
Next
The paypal payment object
Last modified
4mo ago
Copy link