Last active
December 29, 2021 04:36
-
-
Save JustAyush/d9ececa3e950d3f2eed76b620933ef6d to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const transactions = [ | |
{ | |
"id": "f0ca24a0304644a897edfb9cad5aa87b", | |
"transactionDate": "2021-12-28T21:07:49.628Z", | |
"subscriptionId": "b70ed8aaa6364f058c81b8a0ace82698", | |
"gatewayReferenceId": "362234778769", | |
"totalAmount": "99.00", | |
"drugName": "Drug name", | |
"paymentDescriptor": "30 days pack", | |
"status": "Succeeded", | |
"reason": "", | |
"paymentMode": "CARD", | |
"note": "", | |
"receiptId": 1025, | |
"patient": { | |
"id": "9318505663a1411797ec48db12ccf723", | |
"firstName": "Ayush", | |
"middleName": "", | |
"lastName": "B", | |
"email": "[email protected]", | |
"phone": "(984) 370-1998", | |
"dob": "1999-10-10", | |
"gender": "Male" | |
"addresses": { | |
"billingAddress": [ | |
{ | |
"addressType": "BILLING", | |
"isDefault": true, | |
"addressLine1": "34 W Somerset Rd", | |
"addressLine2": null, | |
"city": "Amityville", | |
"state": "NY", | |
"zipCode": "11701" | |
} | |
], | |
"shippingAddress": [ | |
{ | |
"addressType": "SHIPPING", | |
"isDefault": true, | |
"addressLine1": "34 W Somerset Rd", | |
"addressLine2": null, | |
"city": "Amityville", | |
"state": "NY", | |
"zipCode": "11701" | |
} | |
] | |
} | |
}, | |
"subscription": { | |
"orderDate": "2021-12-29", | |
"startDate": null, | |
"nextBillingDate": null, | |
"endDate": null, | |
"recurringDays": 30, | |
"status": "NEW" | |
} | |
}, | |
]; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment