{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "#/components/schemas/MasterCardActionRead",
"title": "MasterCardActionRead",
"type": "object",
"properties": {
"id": {
"type": "integer",
"description": "The id of the MastercardAction.",
"readOnly": true,
"writeOnly": false
},
"monetary_account_id": {
"type": "integer",
"description": "The id of the monetary account this action links to.",
"readOnly": true,
"writeOnly": false
},
"card_id": {
"type": "integer",
"description": "The id of the card this action links to.",
"readOnly": true,
"writeOnly": false
},
"amount_local": {
"type": "object",
"description": "The amount of the transaction in local currency.",
"readOnly": true,
"writeOnly": false,
"$ref": "#/components/schemas/Amount"
},
"amount_converted": {
"type": "object",
"description": "The amount of the transaction in local currency.",
"readOnly": true,
"writeOnly": false,
"$ref": "#/components/schemas/Amount"
},
"amount_billing": {
"type": "object",
"description": "The amount of the transaction in the monetary account's currency.",
"readOnly": true,
"writeOnly": false,
"$ref": "#/components/schemas/Amount"
},
"amount_original_local": {
"type": "object",
"description": "The original amount in local currency.",
"readOnly": true,
"writeOnly": false,
"$ref": "#/components/schemas/Amount"
},
"amount_original_billing": {
"type": "object",
"description": "The original amount in the monetary account's currency.",
"readOnly": true,
"writeOnly": false,
"$ref": "#/components/schemas/Amount"
},
"amount_fee": {
"type": "object",
"description": "The fee amount as charged by the merchant, if applicable.",
"readOnly": true,
"writeOnly": false,
"$ref": "#/components/schemas/Amount"
},
"card_authorisation_id_response": {
"type": "string",
"description": "The response code by which authorised transaction can be identified as authorised by bunq.",
"readOnly": true,
"writeOnly": false
},
"decision": {
"type": "string",
"description": "Why the transaction was denied, if it was denied, or just ALLOWED.",
"readOnly": true,
"writeOnly": false
},
"payment_status": {
"type": "string",
"description": "The payment status of the transaction. For example PAYMENT_SUCCESSFUL, for a successful payment.",
"readOnly": true,
"writeOnly": false
},
"decision_description": {
"type": "string",
"description": "Empty if allowed, otherwise a textual explanation of why it was denied.",
"readOnly": true,
"writeOnly": false
},
"decision_description_translated": {
"type": "string",
"description": "Empty if allowed, otherwise a textual explanation of why it was denied in user's language.",
"readOnly": true,
"writeOnly": false
},
"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.",
"readOnly": true,
"writeOnly": false
},
"description": {
"type": "string",
"description": "The description for this transaction to display.",
"readOnly": true,
"writeOnly": false
},
"authorisation_status": {
"type": "string",
"description": "The status in the authorisation process.",
"readOnly": true,
"writeOnly": false
},
"authorisation_type": {
"type": "string",
"description": "The type of transaction that was delivered using the card.",
"readOnly": true,
"writeOnly": false
},
"pan_entry_mode_user": {
"type": "string",
"description": "The type of entry mode the user used. Can be 'ATM', 'ICC', 'MAGNETIC_STRIPE' or 'E_COMMERCE'.",
"readOnly": true,
"writeOnly": false
},
"settlement_status": {
"type": "string",
"description": "The setlement status in the authorisation process.",
"readOnly": true,
"writeOnly": false
},
"clearing_status": {
"type": "string",
"description": "The clearing status of the authorisation. Can be 'PENDING', 'FIRST_PRESENTMENT_COMPLETE' or 'REFUND_LENIENCY'.",
"readOnly": true,
"writeOnly": false
},
"maturity_date": {
"type": "string",
"description": "The maturity date.",
"readOnly": true,
"writeOnly": false
},
"city": {
"type": "string",
"description": "The city where the message originates from as announced by the terminal.",
"readOnly": true,
"writeOnly": false
},
"alias": {
"type": "object",
"description": "The monetary account label of the account that this action is created for.",
"readOnly": true,
"writeOnly": false,
"$ref": "#/components/schemas/LabelMonetaryAccount"
},
"counterparty_alias": {
"type": "object",
"description": "The monetary account label of the counterparty.",
"readOnly": true,
"writeOnly": false,
"$ref": "#/components/schemas/LabelMonetaryAccount"
},
"label_card": {
"type": "object",
"description": "The label of the card.",
"readOnly": true,
"writeOnly": false,
"$ref": "#/components/schemas/LabelCard"
},
"merchant_id": {
"type": "string",
"description": "The identification string of the merchant.",
"readOnly": true,
"writeOnly": false
},
"token_status": {
"type": "string",
"description": "If this is a tokenisation action, this shows the status of the token.",
"readOnly": true,
"writeOnly": false
},
"reservation_expiry_time": {
"type": "string",
"description": "If this is a reservation, the moment the reservation will expire.",
"readOnly": true,
"writeOnly": false
},
"clearing_expiry_time": {
"type": "string",
"description": "The time when the processing of the clearing is expired, refunding the authorisation.",
"readOnly": true,
"writeOnly": false
},
"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.",
"readOnly": true,
"writeOnly": false
},
"secure_code_id": {
"type": "integer",
"description": "The secure code id for this mastercard action or null.",
"readOnly": true,
"writeOnly": false
},
"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.",
"readOnly": true,
"writeOnly": false
},
"request_reference_split_the_bill": {
"type": "array",
"description": "The reference to the object used for split the bill. Can be RequestInquiry or RequestInquiryBatch",
"readOnly": true,
"writeOnly": false,
"items": {
"$ref": "#/components/schemas/RequestInquiryReference"
}
},
"all_mastercard_action_refund": {
"type": "array",
"description": "A reference to the Refunds if they exist.",
"readOnly": true,
"writeOnly": false,
"items": {
"$ref": "#/components/schemas/MasterCardActionRefund"
}
},
"pos_card_presence": {
"type": "string",
"description": "The Card Presence type of the POS.",
"readOnly": true,
"writeOnly": false
},
"pos_card_holder_presence": {
"type": "string",
"description": "The Card Holder Presence type of the POS.",
"readOnly": true,
"writeOnly": false
},
"eligible_whitelist_id": {
"type": "integer",
"description": "The whitelist id for this action or null.",
"readOnly": true,
"writeOnly": false
},
"cashback_payout_item": {
"type": "object",
"description": "The cashback payout item for this action or null",
"readOnly": true,
"writeOnly": false,
"$ref": "#/components/schemas/CashbackPayoutItem"
},
"blacklist": {
"type": "object",
"description": "The blacklist enabled for the merchant of this transaction",
"readOnly": true,
"writeOnly": false,
"$ref": "#/components/schemas/UserBlacklistMasterCardMerchant"
},
"additional_authentication_status": {
"type": "string",
"description": "The status of the additional authentication performed (3ds) by the user for this transaction.",
"readOnly": true,
"writeOnly": false
},
"pin_status": {
"type": "string",
"description": "Status checking the provided PIN.",
"readOnly": true,
"writeOnly": false
},
"mastercard_action_report": {
"type": "object",
"description": "The report for this transaction",
"readOnly": true,
"writeOnly": false,
"$ref": "#/components/schemas/MasterCardActionReport"
},
"merchant_category_code": {
"type": "string",
"description": "The MCC provided.",
"readOnly": true,
"writeOnly": false
}
}
}