-
Notifications
You must be signed in to change notification settings - Fork 26
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added notification url test jsons. #40
- Loading branch information
Showing
13 changed files
with
1,582 additions
and
0 deletions.
There are no files selected for viewing
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,76 @@ | ||
{"NotificationUrl": { | ||
"target_url": "nope", | ||
"category": "BUNQME_TAB", | ||
"event_type": "BUNQME_TAB_CREATED", | ||
"object": { | ||
"BunqMeTab": { | ||
"id": 8, | ||
"created": "2017-11-09 11:05:42.364451", | ||
"updated": "2017-11-09 11:05:42.364451", | ||
"time_expiry": "2017-12-09 11:05:42.361442", | ||
"monetary_account_id": 32, | ||
"status": "WAITING_FOR_PAYMENT", | ||
"bunqme_tab_share_url": "https:\/\/bunq.me\/t\/4da1167c-01bc-4a91-a1e1-44a83e4fef2e", | ||
"bunqme_tab_entry": { | ||
"uuid": "4da1167c-01bc-4a91-a1e1-44a83e4fef2e", | ||
"created": "2017-11-09 11:05:42.450462", | ||
"updated": "2017-11-09 11:05:42.450462", | ||
"amount_inquired": { | ||
"currency": "EUR", | ||
"value": "5.00" | ||
}, | ||
"status": "WAITING_FOR_PAYMENT", | ||
"description": "Thank you for building this awesome feature!", | ||
"alias": { | ||
"iban": "NL18BUNQ2025104340", | ||
"is_light": false, | ||
"display_name": "B.O. Varb", | ||
"avatar": { | ||
"uuid": "b0005448-e385-4d6c-baef-244c295b524f", | ||
"image": [ | ||
{ | ||
"attachment_public_uuid": "0c872c0e-1c98-4eea-ba75-a36c6d0a40c7", | ||
"height": 1024, | ||
"width": 1024, | ||
"content_type": "image\/png" | ||
} | ||
], | ||
"anchor_uuid": null | ||
}, | ||
"label_user": { | ||
"uuid": "353f4064-96bd-49d7-ac69-f87513726c80", | ||
"display_name": "B.O. Varb", | ||
"country": "NL", | ||
"avatar": { | ||
"uuid": "ec2dc709-c8dd-4868-b3e7-601338d88881", | ||
"image": [ | ||
{ | ||
"attachment_public_uuid": "7444998c-ff1d-4708-afe3-7b56e33c6f89", | ||
"height": 480, | ||
"width": 480, | ||
"content_type": "image\/jpeg" | ||
} | ||
], | ||
"anchor_uuid": "353f4064-96bd-49d7-ac69-f87513726c80" | ||
}, | ||
"public_nick_name": "Bravo O (nickname)" | ||
}, | ||
"country": "NL" | ||
}, | ||
"redirect_url": null, | ||
"merchant_available": [ | ||
{ | ||
"merchant_type": "IDEAL", | ||
"available": true | ||
}, | ||
{ | ||
"merchant_type": "SOFORT", | ||
"available": true | ||
} | ||
] | ||
}, | ||
"result_inquiries": [] | ||
} | ||
} | ||
} | ||
} |
20 changes: 20 additions & 0 deletions
20
tests/assets/NotficationUrlJsons/ChatMessageAnnouncement.json
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
{"NotificationUrl": { | ||
"target_url": "nope", | ||
"category": "BUNQME_TAB", | ||
"event_type": "BUNQME_TAB_CREATED", | ||
"object": { | ||
"ChatMessageAnnouncement": { | ||
"id": 30, | ||
"created": "2017-09-05 12:00:00.912674", | ||
"updated": "2017-09-05 12:00:00.912674", | ||
"conversation_id": 3, | ||
"content": { | ||
"ChatMessageContentText": { | ||
"text": "Hey! You have failed to pay more than five direct debits over the past 30 days. Although such things can happen, please keep in mind that we might be forced to take measures if we get a lot of complaints about it. To help prevent this we summarised some information which might prove useful.\n\nRead more here. https:\/\/www.bunq.com\/en\/direct-debits\/\n\nPlease let us know if you have any further questions, we would love to help you out!" | ||
} | ||
}, | ||
"client_message_uuid": null | ||
} | ||
} | ||
} | ||
} |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,202 @@ | ||
{"NotificationUrl": { | ||
"target_url": "nope", | ||
"category": "DRAFT_PAYMENT", | ||
"event_type": "DRAFT_PAYMENT_ACCEPTED", | ||
"object": { | ||
"DraftPayment": { | ||
"id": 1, | ||
"created": "2017-07-13 21:44:31.314437", | ||
"updated": "2017-07-13 21:44:31.314437", | ||
"monetary_account_id": 42, | ||
"status": "PENDING", | ||
"type": "BUNQ", | ||
"user_alias_created": { | ||
"uuid": "fbff5c27-e5c1-44c6-be6f-ddd2c6615bf5", | ||
"display_name": "G. Mason", | ||
"country": "NL", | ||
"avatar": { | ||
"uuid": "4605580d-014c-42f1-a4d4-7b398f3b37e5", | ||
"image": [ | ||
{ | ||
"attachment_public_uuid": "d6b930f4-1fd0-4b29-8455-e900ed0aced5", | ||
"height": 480, | ||
"width": 480, | ||
"content_type": "image\/jpeg" | ||
} | ||
], | ||
"anchor_uuid": "fbff5c27-e5c1-44c6-be6f-ddd2c6615bf5" | ||
}, | ||
"public_nick_name": "Griffin (nickname)" | ||
}, | ||
"responses": null, | ||
"entries": [ | ||
{ | ||
"amount": { | ||
"currency": "EUR", | ||
"value": "46.26" | ||
}, | ||
"alias": { | ||
"iban": "NL16BUNQ2025103794", | ||
"is_light": false, | ||
"display_name": "G. Mason", | ||
"avatar": { | ||
"uuid": "e3bc865a-83a8-4788-af62-4f0c38df8f0d", | ||
"image": [ | ||
{ | ||
"attachment_public_uuid": "62c88a57-3cd9-49f7-81dc-8f1a4fcc80ac", | ||
"height": 1024, | ||
"width": 1024, | ||
"content_type": "image\/png" | ||
} | ||
], | ||
"anchor_uuid": null | ||
}, | ||
"label_user": { | ||
"uuid": "fbff5c27-e5c1-44c6-be6f-ddd2c6615bf5", | ||
"display_name": "G. Mason", | ||
"country": "NL", | ||
"avatar": { | ||
"uuid": "4605580d-014c-42f1-a4d4-7b398f3b37e5", | ||
"image": [ | ||
{ | ||
"attachment_public_uuid": "d6b930f4-1fd0-4b29-8455-e900ed0aced5", | ||
"height": 480, | ||
"width": 480, | ||
"content_type": "image\/jpeg" | ||
} | ||
], | ||
"anchor_uuid": "fbff5c27-e5c1-44c6-be6f-ddd2c6615bf5" | ||
}, | ||
"public_nick_name": "Griffin (nickname)" | ||
}, | ||
"country": "NL" | ||
}, | ||
"counterparty_alias": { | ||
"iban": "NL49BUNQ2025104073", | ||
"is_light": false, | ||
"display_name": "Echo (nickname)", | ||
"avatar": { | ||
"uuid": "11ec9a66-3c18-4711-8586-36f32e262830", | ||
"image": [ | ||
{ | ||
"attachment_public_uuid": "63eb3676-058a-45f0-b81d-8b26ee2e4f21", | ||
"height": 1024, | ||
"width": 1024, | ||
"content_type": "image\/png" | ||
} | ||
], | ||
"anchor_uuid": null | ||
}, | ||
"label_user": { | ||
"uuid": "688e4bdc-ec27-4d8e-942b-3aee7b5d15e9", | ||
"display_name": "Echo (nickname)", | ||
"country": "NL", | ||
"avatar": { | ||
"uuid": "3da21898-1535-43c9-9023-83333e776b8b", | ||
"image": [ | ||
{ | ||
"attachment_public_uuid": "6bb2b5d6-faee-4d5d-8284-af026bde3640", | ||
"height": 480, | ||
"width": 480, | ||
"content_type": "image\/jpeg" | ||
} | ||
], | ||
"anchor_uuid": "688e4bdc-ec27-4d8e-942b-3aee7b5d15e9" | ||
}, | ||
"public_nick_name": "Echo (nickname)" | ||
}, | ||
"country": "NL" | ||
}, | ||
"description": "Test payment to NL49BUNQ2025104073", | ||
"type": "BUNQ", | ||
"attachment": [], | ||
"merchant_reference": null | ||
}, | ||
{ | ||
"amount": { | ||
"currency": "EUR", | ||
"value": "2.56" | ||
}, | ||
"alias": { | ||
"iban": "NL16BUNQ2025103794", | ||
"is_light": false, | ||
"display_name": "G. Mason", | ||
"avatar": { | ||
"uuid": "e3bc865a-83a8-4788-af62-4f0c38df8f0d", | ||
"image": [ | ||
{ | ||
"attachment_public_uuid": "62c88a57-3cd9-49f7-81dc-8f1a4fcc80ac", | ||
"height": 1024, | ||
"width": 1024, | ||
"content_type": "image\/png" | ||
} | ||
], | ||
"anchor_uuid": null | ||
}, | ||
"label_user": { | ||
"uuid": "fbff5c27-e5c1-44c6-be6f-ddd2c6615bf5", | ||
"display_name": "G. Mason", | ||
"country": "NL", | ||
"avatar": { | ||
"uuid": "4605580d-014c-42f1-a4d4-7b398f3b37e5", | ||
"image": [ | ||
{ | ||
"attachment_public_uuid": "d6b930f4-1fd0-4b29-8455-e900ed0aced5", | ||
"height": 480, | ||
"width": 480, | ||
"content_type": "image\/jpeg" | ||
} | ||
], | ||
"anchor_uuid": "fbff5c27-e5c1-44c6-be6f-ddd2c6615bf5" | ||
}, | ||
"public_nick_name": "Griffin (nickname)" | ||
}, | ||
"country": "NL" | ||
}, | ||
"counterparty_alias": { | ||
"iban": "NL32BUNQ2025103506", | ||
"is_light": false, | ||
"display_name": "Niels (nickname)", | ||
"avatar": { | ||
"uuid": "e47f5214-2198-4605-886c-9950714476f3", | ||
"image": [ | ||
{ | ||
"attachment_public_uuid": "3c7d4d11-d203-4ed4-b471-5b5e24079bf6", | ||
"height": 1024, | ||
"width": 1024, | ||
"content_type": "image\/png" | ||
} | ||
], | ||
"anchor_uuid": null | ||
}, | ||
"label_user": { | ||
"uuid": "398e4411-6d98-40b9-bb48-9b33a4cb82da", | ||
"display_name": "Niels (nickname)", | ||
"country": "NL", | ||
"avatar": { | ||
"uuid": "ad92c001-a4ec-4344-89ad-bf6a6b0e5628", | ||
"image": [ | ||
{ | ||
"attachment_public_uuid": "2b7bc30e-d6af-4440-90ba-a801cba3d8d7", | ||
"height": 480, | ||
"width": 480, | ||
"content_type": "image\/jpeg" | ||
} | ||
], | ||
"anchor_uuid": "398e4411-6d98-40b9-bb48-9b33a4cb82da" | ||
}, | ||
"public_nick_name": "Niels (nickname)" | ||
}, | ||
"country": "NL" | ||
}, | ||
"description": "Test payment to NL32BUNQ2025103506", | ||
"type": "BUNQ", | ||
"attachment": [], | ||
"merchant_reference": null | ||
} | ||
], | ||
"object": null | ||
} | ||
} | ||
} | ||
} |
Oops, something went wrong.