Manage subscription payments
This will associate new billing option to existing subscription by payment option
Subscription Id
Basic authorization (dispatch Key and Secret) or Full access token
Payment option id
The shipping address of subscription should be updated same as billing address. The default value is true.
Accepted
No content
- Bad request
Please verify your API key and secret (if applicable) is correct.
- Access Denied
- Not found
POST /v1/subscriptions/{subId}/payment-option HTTP/1.1
Host: api.digitalriver.com
token: text
Content-Type: application/json
Accept: */*
Content-Length: 57
{
"paymentOptionId": "text",
"isShippingSameAsBilling": true
}
No content
This will associate new billing option to existing subscription by payment source
Subscription Id
Basic authorization (dispatch Key and Secret) or Full access token
Payment source id
The shipping address of subscription should be updated same as billing address.The default is true.
Accepted
No content
- Bad request
Please verify your API key and secret (if applicable) is correct.
- Access Denied
- Not found
POST /v1/subscriptions/{subId}/payment-source HTTP/1.1
Host: api.digitalriver.com
token: text
Content-Type: application/json
Accept: */*
Content-Length: 50
{
"sourceId": "text",
"isShippingSameAsBilling": true
}
No content
Last updated