FILTER BY TAG

Overview of Processing PayPal Transactions

PayPal requires you to create an order before processing a payment. After creating an order, you can process the payment using the authorization and capture API requests, or the sale API request. This section describes the steps required in order to create and manage orders and to process transactions.

Requests and Endpoints

These are the requests you can send to
Cybersource
to process PayPal transactions and their corresponding endpoints.
Requests and Endpoints
Request
Endpoint
Create an Order
  • Production:
    POST
    https://api.cybersource.com
    /pts/v2/intents
  • Test:
    POST
    https://apitest.cybersource.com
    /pts/v2/intents
Update an Order
  • Production:
    PATCH
    https://api.cybersource.com
    /pts/v2/intents/
    {id}
  • Test:
    PATCH
    https://apitest.cybersource.com
    /pts/v2/intents/
    {id}
Save an Order
  • Production:
    PATCH
    https://api.cybersource.com
    /pts/v2/intents/
    {id}
  • Test:
    PATCH
    https://apitest.cybersource.com
    /pts/v2/intents/
    {id}
Void an Order
  • Production:
    POST
    https://api.cybersource.com
    /pts/v2/payments/
    {id}
    /voids
  • Test:
    POST
    https://apitest.cybersource.com
    /pts/v2/payments/
    {id}
    /voids
Authorize and Re-authorize a Payment
  • Production:
    POST
    https://api.cybersource.com
    /pts/v2/payments/
  • Test:
    POST
    https://apitest.cybersource.com
    /pts/v2/payments/
Reverse an Authorization
  • Production:
    POST
    https://api.cybersource.com
    /pts/v2/payments/
    {id}
    /reversals
  • Test:
    POST
    https://apitest.cybersource.com
    /pts/v2/payments/
    {id}
    /reversals
Capture a Payment
  • Production:
    POST
    https://api.cybersource.com
    /pts/v2/payments/
    {id}
    /captures
  • Test:
    POST
    https://apitest.cybersource.com
    /pts/v2/payments/
    {id}
    /captures
Process a Sale
  • Production:
    POST
    https://api.cybersource.com
    /pts/v2/payments
  • Test:
    POST
    https://apitest.cybersource.com
    /pts/v2/payments
Refund a Payment
  • Production:
    POST
    https://api.cybersource.com
    /pts/v2/payments/
    {id}
    /refunds
  • Test:
    POST
    https://apitest.cybersource.com
    /pts/v2/payments/
    {id}
    /refunds
Check Status
  • Production:
    POST
    https://api.cybersource.com
    /pts/v2/refresh-payment-status/
    {id}
  • Test:
    POST
    https://apitest.cybersource.com
    /pts/v2/refresh-payment-status/
    {id}