Skip to content

Instantly share code, notes, and snippets.

@nkenna
Created March 25, 2022 09:13
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save nkenna/072993bd7f4b10d6b80275415ac8de50 to your computer and use it in GitHub Desktop.
Save nkenna/072993bd7f4b10d6b80275415ac8de50 to your computer and use it in GitHub Desktop.
{
"stripeAmount": 143.75,
"quantity": 5,
"total": 143.75,
"charges": 12.5,
"vat": 5,
"vatAmount": 6.25,
"hostTip": 0,
"subTotal": 106.25,
"eventId": "6236013535bd756735d8d954",
"orderRef": "uIrVsRSCEb1I1uK",
"transDate": "2022-03-24T20:43:15.629Z",
"stripeCustomerId": "cus_JuaSwzdomGYAdy",
"status": "success",
"userId": "60e05d6ea31a51507e64d394",
"user": {
"status": true,
"emailNotif": true,
"verified": true,
"isHost": true,
"type": "user",
"_id": "60e05d6ea31a51507e64d394",
"firstname": "barman",
"lastname": "Ebatta",
"phone": "+2348139059856",
"email": "nkennannadi@gmail.com",
"stripeCustomerId": "cus_JuaSwzdomGYAdy",
"wallet": "60fc41b89e1b75f125411c9a",
"accountId": "acct_1JJgbl2cHJVMWN0M",
"connectedaccount": "6106bdebc5ce1543fd166972",
"username": "bar10"
},
"event": {
"title": "Canada Turn Up",
"detail": "Just a turn to see how things are here.",
"ref": "60e05d6eWvoXpVNV",
"creatorId": "60e05d6ea31a51507e64d394",
"creatorType": "user",
"maxTickets": 0,
"soldTickets": 0,
"guestLimit": 5,
"ticketLimit": 5,
"likesCount": 0,
"price": 25
"__v": 0
},
"createdAt": "2022-03-24T20:43:15.643Z",
"updatedAt": "2022-03-24T20:44:24.609Z",
"chargeId": "ch_3KgxW72eZvKYlo2C0d9pM0zS",
"paymentCard": {
"_id": "623cc5143eec82ed2f6d0a6c",
"cardId": "card_1KgwFL2eZvKYlo2CzU2KmcnQ",
"brand": "Visa",
"country": "US",
"expiryMonth": 12,
"expiryYear": 2022,
"last4": "4242",
"nameOnCard": "Ugwum Nnadi",
"customerId": "cus_JuaSwzdomGYAdy",
"userId": "60e05d6ea31a51507e64d394",
"user": "60e05d6ea31a51507e64d394",
"createdAt": "2022-03-24T19:23:00.571Z",
"updatedAt": "2022-03-24T19:23:00.571Z",
"__v": 0
},
"paymentCardId": "623cc5143eec82ed2f6d0a6c",
"stripePaid": true,
"stripePaymentMethod": "card_1KgwFL2eZvKYlo2CzU2KmcnQ",
"stripeStatus": "succeeded",
"id": "623cd7e3e68d410660afc90a"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment