bunq / sdk_csharp

C# SDK for bunq API
MIT License
35 stars 22 forks source link

BunqMeTab result_inquiries empty #129

Closed bluewalk closed 5 years ago

bluewalk commented 5 years ago

Steps to reproduce:

  1. Create a BunqMeTab
  2. Make a payment on this tab (iDEAL)
  3. Query the Tab via the api and check result_inquiries

What should happen:

  1. result_inquiries should contain a list of payments

What happens:

  1. result_inquiries contains one payment object where every property is null

    SDK version and environment

    • Tested on 1.12.0
    • [ ] Sandbox
    • [X] Production

Extra info:

 "result_inquiries": [
      {
        "payment": {
          "amount": null,
          "counterparty_alias": null,
          "description": null,
          "attachment": null,
          "merchant_reference": null,
          "allow_bunqto": null,
          "id": null,
          "created": null,
          "updated": null,
          "monetary_account_id": null,
          "alias": null,
          "type": null,
          "sub_type": null,
          "bunqto_status": null,
          "bunqto_sub_status": null,
          "bunqto_share_url": null,
          "bunqto_expiry": null,
          "bunqto_time_responded": null,
          "batch_id": null,
          "scheduled_id": null,
          "address_shipping": null,
          "address_billing": null,
          "geolocation": null,
          "allow_chat": null,
          "request_reference_split_the_bill": null,
          "balance_after_mutation": null
        },
        "bunq_me_tab_id": 12345
      }
    ]

I have tested the same endpoint with bunqJSClient and there I do get the result_inquiries. Seems something goes wrong upon deserialization.

bluewalk commented 5 years ago

Pull request #130 fixes this issue 👍

andrederoos commented 5 years ago

Pull request #130 merged. issue fixed. closing issue.