Hi, I can't seem the find the category (like food and drinks, groceries) I attached to a particular outgoing payment. I can view in the app, but the data doesn't seem to be available via the API. Which endpoint exposes this data?
Martijn Hi Martijn,
You can get the transaction category via the "event" (/v1/user/{user_id}/event) endpoint. It's inside Event.additional_transaction_information.category.
/v1/user/{user_id}/event
Event.additional_transaction_information.category
Also interesting: https://doc.bunq.com/#/insights https://doc.bunq.com/#/insights-search
Bastiaan thanks but I can't seme to find the field "additional_transaction_information" @ https://doc.bunq.com/#/event Am I missing something? This is wat I'm seeing in Event.object : BunqMeTab BunqMeTab{...} BunqMeTabResultResponse BunqMeTabResultResponse{...} BunqMeFundraiserResult BunqMeFundraiserResult{...} Card Card{...} CardDebit CardDebit{...} DraftPayment DraftPayment{...} FeatureAnnouncement FeatureAnnouncement{...} IdealMerchantTransaction IdealMerchantTransaction{...} Invoice Invoice{...} ScheduledPayment SchedulePayment{...} ScheduledPaymentBatch SchedulePaymentBatch{...} ScheduledInstance ScheduleInstance{...} MasterCardAction MasterCardAction{...} BankSwitchServiceNetherlandsIncomingPayment BankSwitchServiceNetherlandsIncomingPayment{...} Payment Payment{...} PaymentBatch PaymentBatch{...} RequestInquiryBatch RequestInquiryBatch{...} RequestInquiry RequestInquiry{...} RequestResponse RequestResponse{...} RewardRecipient RewardRecipient{...} RewardSender RewardSender{...} ShareInviteBankInquiryBatch ShareInviteBankInquiryBatch{...} ShareInviteBankInquiry ShareInviteMonetaryAccountInquiry{...} ShareInviteBankResponse ShareInviteMonetaryAccountResponse{...} SofortMerchantTransaction SofortMerchantTransaction{...} TabResultInquiry TabResultInquiry{...} TabResultResponse TabResultResponse{...} TransferwisePayment TransferwiseTransfer{...}
Martijn Sorry, the additional_transaction_information object is outside object, but directly in event
additional_transaction_information
object
event
Example:
Bastiaan ok, thanks! Seems to be an issue with the C# SDK. I created an issue @ https://github.com/bunq/sdk_csharp/issues/133
Martijn It's also missing in the documentation, unfortunately. 😒