action bunq_list_all_mastercard_action_for_user_monetary_account { description: "MasterCard transaction view." provider: bunq method: GET path: "/user/{userID}/monetary-account/{monetary-accountID}/mastercard-action" encoding: json input: { type: "object" properties: { "monetary-accountID": { type: "integer" } userID: { type: "integer" } } required: ["monetary-accountID", "userID"] additionalProperties: false } output: { type: "array" items: { type: "object" properties: { alias: { type: "object" properties: { avatar: { type: "object" properties: { anchor_uuid: { type: "string" description: "The public UUID of object this avatar is anchored to." } image: { type: "array" description: "The actual image information of this avatar." items: { type: "object" properties: { attachment_public_uuid: { type: "string" description: "The public UUID of the public attachment containing the image." } content_type: { type: "string" description: "The content-type as a MIME filetype." } height: { type: "integer" description: "The image height in pixels." } width: { type: "integer" description: "The image width in pixels." } } } } style: { type: "string" description: "The style (if applicable) for this Avatar." } uuid: { type: "string" description: "The public UUID of the avatar." } } } bunq_me: { type: "object" properties: { name: { type: "string" description: "The alias name." } service: { type: "string" description: "The pointer service. Only required for external counterparties." } type: { type: "string" description: "The alias type, can be: EMAIL|PHONE_NUMBER|IBAN." } value: { type: "string" description: "The alias value." } } } country: { type: "string" description: "The country of the user. Formatted as a ISO 3166-1 alpha-2 country code." } display_name: { type: "string" description: "The name to display with this monetary account." } iban: { type: "string" description: "The IBAN of the monetary account." } is_light: { type: "boolean" description: "Whether or not the monetary account is light." } label_user: { type: "object" properties: { avatar: { type: "object" additionalProperties: true } country: { type: "string" description: "The country of the user. 000 stands for \"unknown\"" } display_name: { type: "string" description: "The name to be displayed for this user, as it was given on the request." } public_nick_name: { type: "string" description: "The current nickname of the user." } uuid: { type: "string" description: "The public UUID of the label-user." } } } merchant_category_code: { type: "string" description: "The merchant category code." } swift_account_number: { type: "string" description: "The account number used for a SWIFT payment. May or may not be an IBAN." } swift_bic: { type: "string" description: "The BIC used for a SWIFT payment." } transferwise_account_number: { type: "string" description: "The account number used for a Transferwise payment. May or may not be an IBAN." } transferwise_bank_code: { type: "string" description: "The bank code used for a Transferwise payment. May or may not be a BIC." } } } all_mastercard_action_refund: { type: "array" description: "A reference to the Refunds if they exist." items: { type: "object" properties: { additional_information: { type: "object" properties: { attachment: { type: "array" description: "The Attachments to attach to the refund request." items: { type: "object" properties: { id: { type: "integer" description: "The id of the attached Attachment." } } } } category: { type: "string" description: "The category of the refund, required for chargeback." } comment: { type: "string" description: "Comment about the refund." } reason: { type: "string" description: "The reason to refund, required for chargeback." } terms_and_conditions: { type: "string" description: "Proof that the user acknowledged the terms and conditions for chargebacks." } } } alias: { type: "object" additionalProperties: true } amount: { type: "object" properties: { currency: { type: "string" description: "The currency of the amount. It is an ISO 4217 formatted currency code." } value: { type: "string" description: "The amount formatted to two decimal places." } } } attachment: { type: "array" description: "The Attachments to attach to the refund request." items: { type: "object" additionalProperties: true } } category: { type: "string" description: "The category of the refund, required for chargeback." } comment: { type: "string" description: "Comment about the refund." } counterparty_alias: { type: "object" additionalProperties: true } created: { type: "string" description: "The timestamp of the refund's creation." } description: { type: "string" description: "The description for this transaction to display." } id: { type: "integer" description: "The id of the refund." } label_card: { type: "object" properties: { expiry_date: { type: "string" description: "The date this card will expire." } label_user: { type: "object" additionalProperties: true } second_line: { type: "string" description: "The second line on the card." } status: { type: "string" description: "The status of the card." } type: { type: "string" description: "The type of the card." } uuid: { type: "string" description: "The public UUID." } } } label_user_creator: { type: "object" additionalProperties: true } mastercard_action_id: { type: "integer" description: "The id of mastercard action being refunded." } reason: { type: "string" description: "The reason of the refund. Can be REFUND_EXPIRED_TRANSACTION, REFUND_REQUESTED, REFUND_MERCHANT, REFUND_CHARGEBACK." } reference_mastercard_action_event: { type: "array" description: "The reference to the object this refund applies to." items: { type: "object" properties: { event_id: { type: "integer" description: "The id of the event." } } } } status: { type: "string" description: "The status of the refunded mastercard action. Can be AUTO_APPROVED, AUTO_APPROVED_WAITING_FOR_EXPIRY, PENDING_APPROVAL, APPROVED, REFUNDED, DENIED or FAILED" } status_description: { type: "string" description: "Description of the refund's current status." } status_description_translated: { type: "string" description: "Description of the refund's current status, translated in user's language." } status_together_url: { type: "string" description: "Together topic concerning the refund's current status." } sub_type: { type: "string" description: "The sub type of this refund indicating whether the chargeback will be FULL or PARTIAL." } terms_and_conditions: { type: "string" description: "Proof that the user acknowledged the terms and conditions for chargebacks." } time_refund: { type: "string" description: "The time the refund will take place." } type: { type: "string" description: "Type of this refund. Can de REFUND or CHARGEBACK" } updated: { type: "string" description: "The timestamp of the refund's last update." } } } } amount_billing: { type: "object" additionalProperties: true } amount_converted: { type: "object" additionalProperties: true } amount_fee: { type: "object" additionalProperties: true } amount_local: { type: "object" additionalProperties: true } amount_original_billing: { type: "object" additionalProperties: true } amount_original_local: { type: "object" additionalProperties: true } applied_limit: { type: "string" description: "The type of the limit applied to validate if this MasterCardAction was within the spending limits. The returned string matches the limit types as defined in the card endpoint." } authorisation_status: { type: "string" description: "The status in the authorisation process." } authorisation_type: { type: "string" description: "The type of transaction that was delivered using the card." } card_authorisation_id_response: { type: "string" description: "The response code by which authorised transaction can be identified as authorised by bunq." } card_id: { type: "integer" description: "The id of the card this action links to." } city: { type: "string" description: "The city where the message originates from as announced by the terminal." } clearing_expiry_time: { type: "string" description: "The time when the processing of the clearing is expired, refunding the authorisation." } clearing_status: { type: "string" description: "The clearing status of the authorisation. Can be 'PENDING', 'FIRST_PRESENTMENT_COMPLETE' or 'REFUND_LENIENCY'." } counterparty_alias: { type: "object" additionalProperties: true } decision: { type: "string" description: "Why the transaction was denied, if it was denied, or just ALLOWED." } decision_description: { type: "string" description: "Empty if allowed, otherwise a textual explanation of why it was denied." } decision_description_translated: { type: "string" description: "Empty if allowed, otherwise a textual explanation of why it was denied in user's language." } decision_together_url: { type: "string" description: "Empty if allowed or if no relevant Together topic exists, otherwise contains the URL for a Together topic with more information about the decision." } description: { type: "string" description: "The description for this transaction to display." } eligible_whitelist_id: { type: "integer" description: "The whitelist id for this action or null." } id: { type: "integer" description: "The id of the MastercardAction." } label_card: { type: "object" additionalProperties: true } maturity_date: { type: "string" description: "The maturity date." } monetary_account_id: { type: "integer" description: "The id of the monetary account this action links to." } pan_entry_mode_user: { type: "string" description: "The type of entry mode the user used. Can be 'ATM', 'ICC', 'MAGNETIC_STRIPE' or 'E_COMMERCE'." } payment_status: { type: "string" description: "The payment status of the transaction. For example PAYMENT_SUCCESSFUL, for a successful payment." } pos_card_holder_presence: { type: "string" description: "The Card Holder Presence type of the POS." } pos_card_presence: { type: "string" description: "The Card Presence type of the POS." } request_reference_split_the_bill: { type: "array" description: "The reference to the object used for split the bill. Can be RequestInquiry or RequestInquiryBatch" items: { type: "object" properties: { id: { type: "integer" description: "The id of the request inquiry (batch)." } type: { type: "string" description: "The type of request inquiry. Can be RequestInquiry or RequestInquiryBatch." } } } } reservation_expiry_time: { type: "string" description: "If this is a reservation, the moment the reservation will expire." } secure_code_id: { type: "integer" description: "The secure code id for this mastercard action or null." } settlement_status: { type: "string" description: "The setlement status in the authorisation process." } token_status: { type: "string" description: "If this is a tokenisation action, this shows the status of the token." } wallet_provider_id: { type: "string" description: "The ID of the wallet provider as defined by MasterCard. 420 = bunq Android app with Tap&Pay; 103 = Apple Pay." } } } } }