Fees
The Fees resource in the Digital River API details financial obligations imposed as part of regulatory compliance. These fees are essential for ensuring products meet legal standards across different regions. By managing these fees effectively, businesses can maintain compliance and accurately calculate the final cost of their offerings. See Regulatory fees for more information.
Get all Fees.
A filter on the list based on the createdTime field. The value can be a string with an ISO-8601 UTC format datetime or it can be a dictionary with the following options:
- gt–return values where the createdTime field is after this timestamp
- gte–return values where the createdTime field is after or equal to this timestamp
- lt–return values where the createdTime field is before this timestamp
- lte–return values where the createdTime field is before or equal to this timestamp
A filter on the list based on the updatedTime field. The value can be a string with an ISO-8601 UTC format datetime or it can be a dictionary with the following options:
- gt–return values where the updatedTime field is after this timestamp
- gte–return values where the updatedTime field is after or equal to this timestamp
- lt–return values where the updatedTime field is before this timestamp
- lte–return values where the updatedTime field is before or equal to this timestamp
A cursor for use in pagination. The endingBefore parameter is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, starting with xyz your subsequent calls can include endingBefore=xyz in order to fetch the previous page of the list.
A cursor for use in pagination. The startingAfter parameter is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, ending with xyz, your subsequent calls can include startingAfter=xyz in order to fetch the next page of the list.
A limit on the number of objects returned. Limit can range between 1 and 100, and the default is 10.
Only return fees of this type.
Only return fees in this category.
Only returns fees for this country.
Only return objects with these IDs.
GET /fees HTTP/1.1
Host: api.digitalriver.com
Accept: */*
{
"hasMore": true,
"data": [
{
"id": "fee_1971b9b5-7d6b-49d5-b2a6-88ca7e53f750",
"createdTime": "2025-07-09T04:22:35.506Z",
"type": "weee",
"skuId": "sku_7834561209",
"category": "OLED TVs.",
"value": "85\" Class Q900 QLED Smart 8K UHD TV.",
"amount": 0.5,
"currency": "USD",
"country": "US",
"subdivisions": [
"CA"
],
"visible": true,
"liveMode": false,
"metadata": {
"coupon": "iOS"
},
"updatedTime": "2025-07-09T04:22:35.506Z"
}
]
}
Adds a new fee to an existing SKU.
Type of fee.
weee
Possible values: .
sku_7834561209
.
OLED TVs.
.
85" Class Q900 QLED Smart 8K UHD TV.
The fee amount.
0.5
3-letter ISO currency code.
USD
2-letter country code.
US
Array of ISO 3166-2 subdivision codes.
["CA"]
If false indicates that the jurisdiction requires that the fee be included in the price displayed to the shopper. If true indicates that the jurisdiction requires fee-exclusive pricing.
false
Example: true
POST /fees HTTP/1.1
Host: api.digitalriver.com
Content-Type: application/json
Accept: */*
Content-Length: 221
{
"type": "weee",
"skuId": "sku_7834561209",
"category": "OLED TVs.",
"value": "85\" Class Q900 QLED Smart 8K UHD TV.",
"amount": 0.5,
"currency": "USD",
"country": "US",
"subdivisions": [
"CA"
],
"visible": true,
"metadata": {
"coupon": "iOS"
}
}
{
"id": "fee_1971b9b5-7d6b-49d5-b2a6-88ca7e53f750",
"createdTime": "2025-07-09T04:22:35.506Z",
"type": "weee",
"skuId": "sku_7834561209",
"category": "OLED TVs.",
"value": "85\" Class Q900 QLED Smart 8K UHD TV.",
"amount": 0.5,
"currency": "USD",
"country": "US",
"subdivisions": [
"CA"
],
"visible": true,
"liveMode": false,
"metadata": {
"coupon": "iOS"
},
"updatedTime": "2025-07-09T04:22:35.506Z"
}
Retrieves the details of a fee. You must supply the unique identifier of the fee.
Fee identifier.
GET /fees/{id} HTTP/1.1
Host: api.digitalriver.com
Accept: */*
{
"id": "fee_1971b9b5-7d6b-49d5-b2a6-88ca7e53f750",
"createdTime": "2025-07-09T04:22:35.506Z",
"type": "weee",
"skuId": "sku_7834561209",
"category": "OLED TVs.",
"value": "85\" Class Q900 QLED Smart 8K UHD TV.",
"amount": 0.5,
"currency": "USD",
"country": "US",
"subdivisions": [
"CA"
],
"visible": true,
"liveMode": false,
"metadata": {
"coupon": "iOS"
},
"updatedTime": "2025-07-09T04:22:35.506Z"
}
Updates the specified Fee by setting the values of the parameters passed. Any parameters not provided will remain unchanged.
Fee identifier.
Type of fee.
weee
Possible values: .
OLED TVs.
.
85" Class Q900 QLED Smart 8K UHD TV.
The fee amount.
0.5
3-letter ISO currency code.
USD
2-letter country code.
US
Array of ISO 3166-2 subdivision codes.
["CA"]
If false indicates that the jurisdiction requires that the fee be included in the price displayed to the shopper. If true indicates that the jurisdiction requires fee-exclusive pricing.
false
Example: true
POST /fees/{id} HTTP/1.1
Host: api.digitalriver.com
Content-Type: application/json
Accept: */*
Content-Length: 196
{
"type": "weee",
"category": "OLED TVs.",
"value": "85\" Class Q900 QLED Smart 8K UHD TV.",
"amount": 0.5,
"currency": "USD",
"country": "US",
"subdivisions": [
"CA"
],
"visible": true,
"metadata": {
"coupon": "iOS"
}
}
{
"id": "fee_1971b9b5-7d6b-49d5-b2a6-88ca7e53f750",
"createdTime": "2025-07-09T04:22:35.506Z",
"type": "weee",
"skuId": "sku_7834561209",
"category": "OLED TVs.",
"value": "85\" Class Q900 QLED Smart 8K UHD TV.",
"amount": 0.5,
"currency": "USD",
"country": "US",
"subdivisions": [
"CA"
],
"visible": true,
"liveMode": false,
"metadata": {
"coupon": "iOS"
},
"updatedTime": "2025-07-09T04:22:35.506Z"
}
Permanently deletes a fee. Supply the unique identifier of the fewe.
Fee ID
DELETE /fees/{id} HTTP/1.1
Host: api.digitalriver.com
Accept: */*
No content
Last updated