Response Structure |
: |
{
"status_code": "Integer",
"status_message": "String",
"message": "String",
"is_data": "Boolean",
"data": {
"logs": [
{
"title": "String",
"datetime": "String",
"note": "String",
"status": "String",
"sentTo": "String",
"paymentMethod": "String",
"refundAmount": "Float",
}
],
"details": {
"subscriptionUuid": "String",
"dateCreated": "String",
"orderDate": "String",
"dueDateForPaymentLink": "String",
"sendOrderViaSms": "Boolean",
"sendOrderViaEmail": "Boolean",
"customerNotes": "String",
"isInvoiced": "Boolean",
"termsAndConditions": "String| null",
"customerName": "string",
"countryCode": "String",
"msisdn": "String",
"email": "String",
"street": "String",
"zip": "String",
"city": "String",
"country": "String",
"subTotal": "Float",
"totalDiscount": "Float",
"totalTax": "Float",
"payablePerCycle": "Float",
"currency": "String",
"repeats": "Integer",
"numberOfPaidCycles": "Integer",
"status": "String",
"products": [
{
"productName": "String",
"quantity": "Integer",
"rate": "Float",
"discount": "Float",
"tax": "Float",
"amount": "Float"
}
]
}
}
}
|
Example Response |
: |
{
"status_code": 200,
"status_message": "OK",
"message": "orderRetrievedSuccessfully",
"is_data": true,
"data": {
"logs": [
{
"title": "ORDER RESENT",
"datetime": "05.03.2025 05:51",
"note": "",
"status": "SUCCESS",
"sentTo": "",
"paymentMethod": null,
"refundAmount": null
},
{
"title": "ORDER RESENT",
"datetime": "05.03.2025 05:49",
"note": "",
"status": "SUCCESS",
"sentTo": "",
"paymentMethod": null,
"refundAmount": null
},
...
],
"details": {
"subscriptionUuid": "SUB2532543787",
"dateCreated": "19.12.2024",
"orderDate": "19.12.2024",
"dueDateForPaymentLink": "2025-01-02 06:47:11",
"sendOrderViaSms": 0,
"sendOrderViaEmail": 1,
"customerNotes": null,
"isInvoiced": 1,
"termsAndConditions": null,
"customerName": "Nafees",
"countryCode": "+47",
"msisdn": "46567468",
"email": "[email protected]",
"street": "Lura",
"zip": "4131",
"city": "Stavanger",
"country": "NO",
"subTotal": 2173.91,
"totalDiscount": 0,
"totalTax": 326.09,
"payablePerCycle": 2500,
"currency": "NOK",
"repeats": 5,
"status": "INVOICED",
"products": [
{
"productName": "Health Check Service 3",
"quantity": 1,
"rate": 2500,
"discount": 0,
"tax": 15,
"amount": 2500
}
],
"numberOfPaidCycles": 5
}
}
}
|