Payment options

Learn how to manage payment options.

Creating shopper payment options

Use the POST /v1/shoppers/me/payment-options request to create payment options for a shopper. See Payment options query parameters for a description of the query parameters.

curl --location --request POST 'https://api.digitalriver.com/v1/shoppers/me/payment-options' \
--header 'authorization: bearer ***\
...
--data-raw '{
  "paymentOption": {
    "nickName": "DRBank",
    "isDefault": "true",
    "sourceId": "{{sourceId}}"
  },
  "shopper": {
    "ipAddress": "{{ipAddress}}"
  }
}

See Retrieving sources and Payment options for more information.

Last updated