Skip to content

Instantly share code, notes, and snippets.

@jmagnuss
Created September 1, 2020 16:12
Show Gist options
  • Select an option

  • Save jmagnuss/7189b60779d64f2ca7a263ffd6ec0393 to your computer and use it in GitHub Desktop.

Select an option

Save jmagnuss/7189b60779d64f2ca7a263ffd6ec0393 to your computer and use it in GitHub Desktop.
{
"customer": {
"id": "801a6016-50b0-4e39-bd0a-6091b69b65be",
"firstName": "Dewi",
"lastName": "Sri",
"email": "dewi@welucy.com",
"country": "SG",
"status": "ACTIVE",
"wallets": [
{
"id": "8a1f1868-bb39-4d36-aaeb-a42ac1b94fdc",
"type": "STANDARD",
"status": "ACTIVE",
"name": "Main Account",
"customerId": "801a6016-50b0-4e39-bd0a-6091b69b65be",
"currencyCode": "SGD",
"balance": 300,
"transactions": [
{
"id": "8a1f1868-bb39-4d36-aaeb-a42ac1b94fdc",
"transactionType": "transfer.out",
"sourceCustomerId": "801a6016-50b0-4e39-bd0a-6091b69b65be",
"amount": -200,
"transactionDate": "Tue, 1 Sept 2020 11:08 AM",
"transactionFor": "Anna PBO (Philippines)",
"message": "Transfer"
},
{
"id": "2b2c1068-b6cd-4c97-9205-fbd10185bf22",
"transactionType": "transfer.out",
"sourceCustomerId": "801a6016-50b0-4e39-bd0a-6091b69b65be",
"amount": -50,
"transactionDate": "Tue, 1 Sept 2020 11:00 AM",
"transactionFor": "My POSB Account",
"message": "Transfer"
},
{
"id": "538a6fa3-f16f-40ac-ac5d-4278cc2ef4f7",
"transactionType": "pocket.out",
"amount": -50,
"transactionDate": "Mon, 31 Aug 2020 1:00 AM",
"transactionFor": "To Laptop Savings",
"message": "Savings"
},
{
"id": "db6fa447-acef-49b1-98ff-5d6d7507200f",
"transactionType": "salary.in",
"amount": 600,
"transactionDate": "Mon, 31 Aug 2020 12:00 AM",
"transactionFor": "From Lydia",
"message": "Salary"
}
]
}
],
"pockets": [
{
"id": "b2e3f39e-0f5a-4640-8e75-8abacd253a9c",
"type": "POCKET",
"status": "ACTIVE",
"name": "New Laptop",
"customerId": "801a6016-50b0-4e39-bd0a-6091b69b65be",
"currencyCode": "SGD",
"balance": 50,
"goalBalance": 250,
"transactions": [
{
"id": "538a6fa3-f16f-40ac-ac5d-4278cc2ef4f7",
"transactionType": "pocket.in",
"sourceCustomerId": "801a6016-50b0-4e39-bd0a-6091b69b65be",
"transactionDate": "Mon, 31 Aug 2020 1:00 AM",
"transactionFor": "To Laptop Savings",
"message": "Savings",
"amount": 50
}
]
}
],
"salaries": [
{
"id": "f309489f-d73f-45fd-83b9-3a551ec35aac",
"recipientCustomerId": "801a6016-50b0-4e39-bd0a-6091b69b65be",
"sourceCustomerId": "7b000f1d-c0a1-468e-857a-de50bf7b9d65",
"currencyCode": "SGD",
"amount": 600,
"payDate": "DAY_LAST",
"status": "ACTIVE",
"upcomingPaymentDate": "2020-09-30",
"upcomingSalaryAmount": 600.0,
"upcomingLoanAmount": 80.0,
"upcomingAlreadyTakenAmount": 50.0,
"upcomingFees": 1.0,
"upcomingNetAmount": 469.0
}
],
"actvity": [
{
"id": "8a1f1868-bb39-4d36-aaeb-a42ac1b94fdc",
"transactionType": "wallet",
"sourceCustomerId": "801a6016-50b0-4e39-bd0a-6091b69b65be",
"amount": -200,
"transactionDate": "Tue, 1 Sept 2020 11:08 AM",
"transactionFor": "Anna PBO (Philippines)",
"message": "Transfer"
},
{
"id": "2b2c1068-b6cd-4c97-9205-fbd10185bf22",
"transactionType": "wallet",
"sourceCustomerId": "801a6016-50b0-4e39-bd0a-6091b69b65be",
"amount": -50,
"transactionDate": "Tue, 1 Sept 2020 11:00 AM",
"transactionFor": "My POSB Account",
"message": "Transfer"
},
{
"id": "538a6fa3-f16f-40ac-ac5d-4278cc2ef4f7",
"transactionType": "wallet",
"amount": -50,
"transactionDate": "Mon, 31 Aug 2020 1:00 AM",
"transactionFor": "To Laptop Savings",
"message": "Savings"
},
{
"id": "db6fa447-acef-49b1-98ff-5d6d7507200f",
"transactionType": "wallet",
"amount": 600,
"transactionDate": "Mon, 31 Aug 2020 12:00 AM",
"transactionFor": "From Lydia",
"message": "Salary"
}
],
"loans": [],
"connections": [
{
"id": "f309489f-d73f-45fd-83b9-3a551ec35aac",
"connectionType": "LUCY",
"connectionName": "Lydia Mangosteen",
"connectionCustomerId": "7b000f1d-c0a1-468e-857a-de50bf7b9d65"
},
{
"id": "4439429a-bfa4-4c28-b75f-060196d362c4",
"connectionType": "MYBANK",
"connectionName": "My POSB Account"
},
{
"id": "d3112c88-bddf-4c1b-83ec-8889237d7f5f",
"connectionType": "OTHERBANK",
"connectionName": "Anna PBO (Philippines)"
}
]
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment