Copy
{
"id": "6a44a90e-375e-4857-9976-2c1183936e7c",
"type": "subscription.extended",
"data": {
"object": {
"subscription": {
"contractBindingUntil": "2023-08-25T21:09:39.061+0000",
"createdTime": "2022-08-25T21:09:14.115+0000",
"updatedTime": "2022-08-25T21:10:00.034+0000",
"stateTransitions": {
"activated": "2022-08-25T21:10:00.033+0000"
},
"id": "36921d5e-53f6-4d4e-b5e7-a597496fe2a0",
"billingAgreementId": "6f63c1cd-7c02-4698-a6f7-bea987f94867",
"customerId": "ac34ed22-c23b-4b43-b522-ed6642d49375",
"sourceId": "c07d104e-4a80-4218-9bad-eb9c47635036",
"taxInclusive": false,
"currency": "USD",
"planId": "fc434aac-d43e-4382-ab7a-cc4492917391",
"locale": "en_US",
"state": "active",
"siteId": "6q9cbfuj",
"items": [
{
"price": 5.01,
"skuId": "231ac1b1-ad3e-4c76-9122-3cd1c156a3b5",
"quantity": 5
}
],
"currentPeriodEndDate": "2022-10-25T21:09:39.061+0000",
"nextInvoiceDate": "2022-10-25T21:09:39.061+0000",
"nextReminderDate": "2022-10-22T21:09:39.061+0000"
},
"invoice": {
"id": "cec27db855f64c7d863142ee2bc28af8",
"createdTime": "2022-08-25T21:09:48Z",
"updatedTime": "2022-08-25T21:09:59Z",
"customerId": "ac34ed22-c23b-4b43-b522-ed6642d49375",
"email": "testdummy@digitalriver.com",
"currency": "USD",
"description": "365 Days Plan Paid Monthly",
"locale": "en_US",
"customerType": "individual",
"sellingEntity": {
"id": "DR_INC-ENTITY",
"name": "Digital River Inc."
},
"subtotal": 25.05,
"totalTax": 1.89,
"totalFees": 0.0,
"totalDuty": 0.0,
"totalDiscount": 0.0,
"totalShipping": 0.0,
"totalAmount": 26.94,
"totalImporterTax": 0.0,
"collectionPeriodDays": 0,
"items": [
{
"id": "165126030336",
"skuId": "231ac1b1-ad3e-4c76-9122-3cd1c156a3b5",
"productDetails": {
"id": "231ac1b1-ad3e-4c76-9122-3cd1c156a3b5",
"name": "Athena Womens Running Shoes",
"countryOfOrigin": "US",
"image": "https://myproducts.com/productImage.jpg"
},
"amount": 25.05,
"quantity": 5,
"tax": {
"rate": 0.07525,
"amount": 1.89
},
"importerTax": {
"amount": 0.0
},
"duties": {
"amount": 0.0
},
"subscriptionInfo": {
"subscriptionId": "36921d5e-53f6-4d4e-b5e7-a597496fe2a0",
"planId": "fc434aac-d43e-4382-ab7a-cc4492917391",
"autoRenewal": true,
"freeTrial": false,
"billingAgreementId": "6f63c1cd-7c02-4698-a6f7-bea987f94867"
},
"fees": {
"amount": 0.0,
"taxAmount": 0.0
}
}
],
"shipTo": {
"address": {
"line1": "9625 West 76th St",
"line2": "Ste 1",
"city": "Eden Prairie",
"postalCode": "55344-3765",
"state": "MN",
"country": "US"
},
"name": "Automation Tester",
"phone": "952-253-1234 x132",
"email": "test@digitalriver.com"
},
"billTo": {
"address": {
"line1": "10380 Bren Road West",
"city": "Minnetonka",
"postalCode": "55343",
"state": "MN",
"country": "US"
},
"name": "Digital Development",
"email": "testdummy@digitalriver.com",
"organization": "DR",
"additionalAddressInfo": {
"neighborhood": "Centro"
}
},
"state": "paid",
"stateTransitions": {
"draft": "2022-08-25T21:09:48Z",
"paid": "2022-08-25T21:09:59Z",
"open": "2022-08-25T21:09:50Z"
},
"attemptCount": 1,
"chargeType": "merchant_initiated",
"upstreamId": "ab84e87b-d7e6-4f93-b758-ca98d396dd3f",
"orderId": "237569660336",
"payment": {
"charges": [
{
"id": "f77df415-20f3-4368-91b2-fecec7d07f35",
"createdTime": "2022-08-25T21:09:57Z",
"currency": "USD",
"amount": 26.94,
"state": "processing",
"captured": true,
"captures": [
{
"id": "753a5af6-b8da-4571-b9e1-62fc7b64d52a",
"createdTime": "2022-08-25T21:10:00Z",
"amount": 26.94,
"state": "pending"
}
],
"refunded": false,
"sourceId": "c07d104e-4a80-4218-9bad-eb9c47635036",
"type": "merchant_initiated"
}
],
"sources": [
{
"id": "c07d104e-4a80-4218-9bad-eb9c47635036",
"type": "creditCard",
"amount": 26.94,
"owner": {
"firstName": "Digital",
"lastName": "Development",
"email": "testdummy@digitalriver.com",
"address": {
"line1": "10380 Bren Road West",
"city": "Minnetonka",
"postalCode": "55343",
"state": "MN",
"country": "US"
},
"organization": "DR",
"additionalAddressInfo": {
"neighborhood": "Centro"
}
},
"creditCard": {
"brand": "MasterCard",
"expirationMonth": 7,
"expirationYear": 2027,
"lastFourDigits": "0008",
"fundingSource": "credit"
}
}
],
"session": {
"id": "5c4be31d-1630-4f31-82d6-f81d52a7b4a7",
"amountContributed": 26.94,
"amountRemainingToBeContributed": 0.0,
"state": "complete",
"clientSecret": "5c4be31d-1630-4f31-82d6-f81d52a7b4a7_5f3691e1-888e-4381-8f08-04b73fb3dc96"
}
}
}
}
},
"liveMode": false,
"createdTime": "2022-08-25T21:10:00.529962Z"
}