Skip to content

Instantly share code, notes, and snippets.

@billinghamj
Last active September 10, 2021 10:15
Show Gist options
  • Save billinghamj/3b2c842f212e15dcbe85220be6452efe to your computer and use it in GitHub Desktop.
Save billinghamj/3b2c842f212e15dcbe85220be6452efe to your computer and use it in GitHub Desktop.
Monzo transaction types
{
"id": "tx_[transaction-id]",
"created": "2017-07-24T05:45:49.311Z",
"description": "TFL.GOV.UK/CP\\VICTORIA STREET\\TFL TRAVEL CH\\SW1H 0TL GBR",
"amount": -770,
"currency": "GBP",
"merchant": null,
"notes": "",
"metadata": {
"mastercard_clearing_message_id": "mcclearingmsg_[mastercard-clearing-message-id]",
"mastercard_lifecycle_id": "mclifecycle_[mastercard-lifecycle-id]"
},
"account_balance": 0,
"attachments": [],
"category": "general",
"is_load": false,
"settled": "2017-07-24T05:45:49.311Z",
"local_amount": -770,
"local_currency": "GBP",
"updated": "2017-07-24T05:45:49.313Z",
"account_id": "acc_[monzo-account-id]",
"counterparty": {},
"scheme": "mastercard",
"dedupe_id": "mclifecycle:mclifecycle_[mastercard-lifecycle-id]:MASTERCARD_CLEARING:mcclearingmsg_[mastercard-clearing-message-id]",
"originator": false,
"include_in_spending": true
}
{
"id": "tx_[transaction-id]",
"created": "2017-07-21T21:56:50.149Z",
"description": "CUVVA CAR INSURANCE 442038287029 GBR",
"amount": -1500,
"currency": "GBP",
"merchant": {
"id": "merch_00009Mdcda9VjT4HiixKvx",
"group_id": "grp_0000936xiJZzaHkY8pJzCD",
"created": "2017-07-20T14:25:24.584Z",
"name": "Cuvva",
"logo": "https://mondo-logo-cache.appspot.com/twitter/@cuvva/?size=large",
"emoji": "🚗",
"category": "transport",
"online": true,
"atm": false,
"address": {
"short_formatted": "Somewhere in the United Kingdom",
"formatted": "United Kingdom",
"address": "",
"city": "",
"region": "",
"country": "GBR",
"postcode": "",
"latitude": 54.557817,
"longitude": -3.484688,
"zoom_level": 4,
"approximate": true
},
"updated": "2017-07-22T01:57:54.426Z",
"metadata": {
"created_for_merchant": "merch_0000936xiJZzaHaukmVmrZ",
"created_for_transaction": "tx_[other-transaction-id]",
"provider": "user",
"provider_id": "",
"suggested_tags": "#software #fun",
"twitter_id": "@cuvva",
"website": "https://cuvva.com"
},
"disable_feedback": false
},
"notes": "",
"metadata": {
"ledger_insertion_id": "entryset_[ledger-id]",
"mastercard_auth_message_id": "mcauthmsg_[mastercard-auth-message-id]",
"mastercard_lifecycle_id": "mclifecycle_[mastercard-lifecycle-id]"
},
"account_balance": 0,
"attachments": [],
"category": "general",
"is_load": false,
"settled": "",
"local_amount": -1500,
"local_currency": "GBP",
"updated": "2017-07-21T21:56:50.16Z",
"account_id": "acc_[monzo-account-id]",
"counterparty": {},
"scheme": "mastercard",
"dedupe_id": "mclifecycle:mclifecycle_[mastercard-lifecycle-id]:MASTERCARD_AUTH:mcauthmsg_[mastercard-auth-message-id]",
"originator": false,
"include_in_spending": true
}
{
"id": "tx_[transaction-id]",
"created": "2017-07-21T21:59:29.762Z",
"description": "CUVVA CAR INSURANCE 442038287029 GBR",
"amount": 1500,
"currency": "GBP",
"merchant": {
"id": "merch_00009Mdcda9VjT4HiixKvx",
"group_id": "grp_0000936xiJZzaHkY8pJzCD",
"created": "2017-07-20T14:25:24.584Z",
"name": "Cuvva",
"logo": "https://mondo-logo-cache.appspot.com/twitter/@cuvva/?size=large",
"emoji": "🚗",
"category": "transport",
"online": true,
"atm": false,
"address": {
"short_formatted": "Somewhere in the United Kingdom",
"formatted": "United Kingdom",
"address": "",
"city": "",
"region": "",
"country": "GBR",
"postcode": "",
"latitude": 54.557817,
"longitude": -3.484688,
"zoom_level": 4,
"approximate": true
},
"updated": "2017-07-22T01:57:54.426Z",
"metadata": {
"created_for_merchant": "merch_0000936xiJZzaHaukmVmrZ",
"created_for_transaction": "tx_[other-transaction-id]",
"provider": "user",
"provider_id": "",
"suggested_tags": "#software #fun",
"twitter_id": "@cuvva",
"website": "https://cuvva.com"
},
"disable_feedback": false
},
"notes": "",
"metadata": {
"is_reversal": "true",
"ledger_insertion_id": "entryset_[ledger-id]",
"mastercard_auth_message_id": "mcauthmsg_[mastercard-auth-message-id]",
"mastercard_lifecycle_id": "mclifecycle_[mastercard-lifecycle-id]"
},
"account_balance": 0,
"attachments": [],
"category": "general",
"is_load": false,
"settled": "",
"local_amount": 1500,
"local_currency": "GBP",
"updated": "2017-07-21T21:59:29.783Z",
"account_id": "acc_[monzo-account-id]",
"counterparty": {},
"scheme": "mastercard",
"dedupe_id": "mclifecycle:mclifecycle_[mastercard-lifecycle-id]:MASTERCARD_AUTH:mcauthmsg_[mastercard-auth-message-id]",
"originator": false,
"include_in_spending": true
}
{
"id": "tx_[transaction-id]",
"created": "2017-08-01T12:55:35.545Z",
"description": "[sender-name]",
"amount": 2000,
"currency": "GBP",
"merchant": null,
"notes": "",
"metadata": {
"cheque": "true",
"cheque_date": "2017-06-20",
"cheque_number": "000027",
"insertion": "entryset_[ledger-id]"
},
"account_balance": 0,
"attachments": [],
"category": "mondo",
"is_load": true,
"settled": "",
"local_amount": 2000,
"local_currency": "GBP",
"updated": "2017-08-01T12:55:35.676Z",
"account_id": "acc_[monzo-account-id]",
"counterparty": {
"account_number": "[sender-account-number]",
"bank": "Halifax",
"name": "[sender-name]",
"sort_code": "[sender-sort-code]",
"user_id": "anonuser_[sender-id]"
},
"scheme": "rbs_cheque",
"dedupe_id": "[32-byte-random-hex-string]",
"originator": false,
"include_in_spending": false
}
{
"id": "tx_[transaction-id]",
"created": "2017-08-03T13:07:01.393Z",
"description": "[dd-reference][reference]",
"amount": -1668,
"currency": "GBP",
"merchant": null,
"notes": "[dd-reference][reference]",
"metadata": {
"notes": "[dd-reference][reference]"
},
"account_balance": 0,
"attachments": [],
"category": "bills",
"is_load": false,
"settled": "2017-08-03T13:07:01.393Z",
"local_amount": -1668,
"local_currency": "GBP",
"updated": "2017-08-03T13:07:02.895Z",
"account_id": "acc_[monzo-account-id]",
"counterparty": {
"account_number": "[recipient-account-number]",
"name": "EE & T-MOBILE",
"sort_code": "[recipient-sort-code]",
"user_id": "anonuser_[recipient-id]"
},
"scheme": "bacs",
"dedupe_id": "[19-digit-number]",
"originator": false,
"include_in_spending": true
}
{
"id": "tx_[transaction-id]",
"created": "2017-07-21T09:51:54.638Z",
"description": "[reference]",
"amount": 100,
"currency": "GBP",
"merchant": null,
"notes": "[reference]",
"metadata": {
"encoded": "[raw-fps-message]",
"faster_payment": "true",
"insertion": "entryset_[ledger-id]",
"notes": "[reference]",
"trn": "[18-char-alphanumeric-id]"
},
"account_balance": 0,
"attachments": [],
"category": "general",
"is_load": false,
"settled": "2017-07-21T09:51:54.638Z",
"local_amount": 100,
"local_currency": "GBP",
"updated": "2017-07-21T09:51:54.825Z",
"account_id": "acc_[monzo-account-id]",
"counterparty": {
"account_number": "[sender-account-number]",
"address": "[sender-address]",
"name": "[sender-name]",
"sort_code": "[sender-sort-code]",
"user_id": "anonuser_[sender-id]"
},
"scheme": "payport_faster_payments",
"dedupe_id": "payport-faster-payments:inward:[18-char-alphanumeric-id]",
"originator": false,
"include_in_spending": false
}
{
"id": "tx_[transaction-id]",
"created": "2017-08-02T09:03:53.705Z",
"description": "[reference]",
"amount": -1059,
"currency": "GBP",
"merchant": null,
"notes": "[reference]",
"metadata": {
"faster_payment": "true",
"insertion": "entryset_[ledger-id]",
"message": "[raw-fps-message]",
"notes": "[reference]",
"trn": "outbound:[13-char-alphanumeric-id]"
},
"account_balance": 0,
"attachments": [],
"category": "entertainment",
"is_load": false,
"settled": "2017-08-02T09:03:53.705Z",
"local_amount": -1059,
"local_currency": "GBP",
"updated": "2017-08-02T09:03:53.705Z",
"account_id": "acc_[monzo-account-id]",
"counterparty": {
"account_number": "[recipient-account-number]",
"address": "",
"name": "[recipient-name]",
"sort_code": "[recipient-sort-code]",
"user_id": "anonuser_[recipient-id]"
},
"scheme": "payport_faster_payments",
"dedupe_id": "payport-faster-payments:outbound:acc_[monzo-account-id]%!(EXTRA string=outbound:[13-char-alphanumeric-id])",
"originator": false,
"include_in_spending": true
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment