Updating the subscription's payment source
Learn how to update the subscription's payment source.
Use the
POST /v1/subscriptions/{subscriptionId}/payment-source
request to associate a new billing option with an existing subscription by payment option. cURL
curl --location --request POST 'https://api.digitalriver.com/v1/subscriptions/{subscriptionId}>/payment-source' \
--header 'authorization: bearer ***\
...
--data-raw '{
"sourceId": "string",
"isShippingSameAsBilling": true
}'
You will receive a
202 Accepted
response.