Copy {
"preview" : {
"success" : true ,
"orderNumber" : "67JKSCLQESR0" ,
"orderId" : "8ad0887e850fc589018512981a1b4acb" ,
"accountNumber" : "A-000000000" ,
"status" : "active" ,
"subscriptions" : [
{
"status" : "active" ,
"subscriptionId" : "8ad0887e850fc589018512981a1b4acb" ,
"subscriptionNumber" : "S-000000000"
}
] ,
"paymentNumber" : "P-000000000" ,
"paymentId" : "8ad0887e850fc589018512981a1b4acb" ,
"paidAmount" : "19.99" ,
"previewResult" : {
"invoices" : [
{
"amount" : 19.99 ,
"amountWithoutTax" : 19.99 ,
"targetDate" : "2020-05-01" ,
"taxAmount" : 0 ,
"invoiceItems" : {
"additionalInfo" : {
"quantity" : 1 ,
"unitOfMeasure" : "Each"
} ,
"amountWithoutTax" : 19.99 ,
"chargeDescription" : "Monthly subscription" ,
"chargeName" : "Charge" ,
"chargeNumber" : "C-000000000" ,
"processingType" : "Charge" ,
"productName" : "Product" ,
"productRatePlanChargeId" : "2c98901f6706718c016706b91c6e001f" ,
"serviceEndDate" : "2020-05-01" ,
"serviceStartDate" : "2020-05-01" ,
"subscriptionNumber" : "S-000000000" ,
"taxAmount" : 0 ,
"unitPrice" : 19.99
}
}
] ,
"creditMemos" : [
{
"amount" : 19.99 ,
"amountWithoutTax" : 19.99 ,
"targetDate" : "2020-05-01" ,
"taxAmount" : 0 ,
"creditMemoItems" : [
{
"additionalInfo" : {
"quantity" : 1 ,
"unitOfMeasure" : "Each"
} ,
"amountWithoutTax" : 19.99 ,
"chargeDescription" : "Monthly subscription" ,
"chargeName" : "Charge" ,
"chargeNumber" : "C-000000000" ,
"processingType" : "Charge" ,
"productName" : "Product" ,
"productRatePlanChargeId" : "2c98901f6706718c016706b91c6e001f" ,
"serviceEndDate" : "2020-05-01" ,
"serviceStartDate" : "2020-05-01" ,
"subscriptionNumber" : "S-000000000" ,
"taxAmount" : 0 ,
"unitPrice" : 19.99
}
]
}
]
}
} ,
"schedule" : [
{
"date" : "2020-05-01" ,
"schedule_date" : "2020-05-01" ,
"type" : "Schedule" ,
"description" : "Schedule" ,
"amount" : "19.99" ,
"taxAmount" : 0 ,
"amountWithoutTax" : "19.99" ,
"currency" : "GBP" ,
"lineItems" : [
{
"amountWithoutTax" : 19.99 ,
"processingType" : "Charge" ,
"taxAmount" : "0.00" ,
"chargeDescription" : "Charge" ,
"chargeName" : "Charge" ,
"productName" : "Product" ,
"quantity" : 1
}
] ,
"quantity" : 1 ,
"reference" : "S-000000000" ,
"unit_amount" : "19.99"
}
]
}