FILTER BY TAG

Creating a Session

Follow these steps to successfully create a session.
  1. Send a
    POST
    request to the
    https://api.cybersource.com
    /pts/v2/payments
    endpoint and include these required fields:
  2. Include any of these optional fields in the request:
  3. Redirect the customer to the returned URL in the
    processorInformation.paymentUrl
    response field.
  4. When the customer completes the checkout using their Oney credentials, the customer is redirected to the merchant site based on the URL that you included in the
    merchantInformation.successURL
    field.
  5. Save the returned pre-approval token contained in the
    processorInformation.token
    response field. Include the pre-approval token in the authorization request to link the authorization to the session.