PayPal REST API Samples

Payments
Payment with a credit card Execute Source
Payment with a PayPal Account Execute Source
Get payment details Execute Source
Get payment history Execute Source
Get sale details Execute Source
Refund a payment Execute Source
Vault
Save a credit card Execute Source
Retrieve saved credit card Execute Source
Delete saved credit card Execute Source
Authorization and capture
Get details of an authorized payment Execute Source
Capture an authorized payment Execute Source
Void an authorized payment Execute Source
Reauthorize a payment Execute Source
Get details of a captured payment Execute Source
Refund captured payment Execute Source