Share Invite Monetary Account Response

get

Return the details of a specific share a user was invited to.

Path parameters
userIDintegerRequired
itemIdintegerRequired
Header parameters
Cache-ControlstringOptional

The standard HTTP Cache-Control header is required for all signed requests.

User-AgentstringRequired

The User-Agent header field should contain information about the user agent originating the request. There are no restrictions on the value of this header.

X-Bunq-LanguagestringOptional

The X-Bunq-Language header must contain a preferred language indication. The value of this header is formatted as a ISO 639-1 language code plus a ISO 3166-1 alpha-2 country code, separated by an underscore. Currently only the languages en_US and nl_NL are supported. Anything else will default to en_US.

X-Bunq-RegionstringOptional

The X-Bunq-Region header must contain the region (country) of the client device. The value of this header is formatted as a ISO 639-1 language code plus a ISO 3166-1 alpha-2 country code, separated by an underscore.

X-Bunq-Client-Request-IdstringOptional

This header must specify an ID with each request that is unique for the logged in user. There are no restrictions for the format of this ID. However, the server will respond with an error when the same ID is used again on the same DeviceServer.

X-Bunq-GeolocationstringOptional

This header must specify the geolocation of the device. The format of this value is longitude latitude altitude radius country. The country is expected to be formatted of an ISO 3166-1 alpha-2 country code. When no geolocation is available or known the header must still be included but can be zero valued.

X-Bunq-Client-AuthenticationstringRequired

The authentication token is used to authenticate the source of the API call. It is required by all API calls except for POST /v1/installation. It is important to note that the device and session calls are using the token from the response of the installation call, while all the other calls use the token from the response of the session-server call

Responses
200
Used to view or respond to shares a user was invited to. See 'share-invite-bank-inquiry' for more information about the inquiring endpoint.
application/json
get
GET /v1/user/{userID}/share-invite-monetary-account-response/{itemId} HTTP/1.1
Host: public-api.sandbox.bunq.com
User-Agent: text
X-Bunq-Client-Authentication: text
Accept: */*
{
  "id": 1,
  "created": "text",
  "updated": "text",
  "counter_alias": {
    "iban": "text",
    "display_name": "text",
    "avatar": {
      "uuid": "text",
      "anchor_uuid": "text",
      "image": [
        {
          "attachment_public_uuid": "text",
          "content_type": "text",
          "height": 1,
          "width": 1
        }
      ],
      "style": "text"
    },
    "label_user": {
      "uuid": "text",
      "display_name": "text",
      "country": "text",
      "avatar": {
        "uuid": "text",
        "anchor_uuid": "text",
        "image": [
          {
            "attachment_public_uuid": "text",
            "content_type": "text",
            "height": 1,
            "width": 1
          }
        ],
        "style": "text"
      },
      "public_nick_name": "text"
    },
    "country": "text",
    "bunq_me": {
      "type": "text",
      "value": "text",
      "name": "text"
    },
    "is_light": true,
    "swift_bic": "text",
    "swift_account_number": "text",
    "transferwise_account_number": "text",
    "transferwise_bank_code": "text",
    "merchant_category_code": "text"
  },
  "user_alias_cancelled": {
    "uuid": "text",
    "display_name": "text",
    "country": "text",
    "avatar": {
      "uuid": "text",
      "anchor_uuid": "text",
      "image": [
        {
          "attachment_public_uuid": "text",
          "content_type": "text",
          "height": 1,
          "width": 1
        }
      ],
      "style": "text"
    },
    "public_nick_name": "text"
  },
  "monetary_account_id": 1,
  "draft_share_invite_bank_id": 1,
  "share_detail": {
    "payment": {
      "make_payments": true,
      "make_draft_payments": true,
      "view_balance": true,
      "view_old_events": true,
      "view_new_events": true
    },
    "read_only": {
      "view_balance": true,
      "view_old_events": true,
      "view_new_events": true
    },
    "draft_payment": {
      "make_draft_payments": true,
      "view_balance": true,
      "view_old_events": true,
      "view_new_events": true
    }
  },
  "access_type": "text",
  "status": "text",
  "relation_user": {
    "user_id": "text",
    "counter_user_id": "text",
    "label_user": {
      "uuid": "text",
      "display_name": "text",
      "country": "text",
      "avatar": {
        "uuid": "text",
        "anchor_uuid": "text",
        "image": [
          {
            "attachment_public_uuid": "text",
            "content_type": "text",
            "height": 1,
            "width": 1
          }
        ],
        "style": "text"
      },
      "public_nick_name": "text"
    },
    "counter_label_user": {
      "uuid": "text",
      "display_name": "text",
      "country": "text",
      "avatar": {
        "uuid": "text",
        "anchor_uuid": "text",
        "image": [
          {
            "attachment_public_uuid": "text",
            "content_type": "text",
            "height": 1,
            "width": 1
          }
        ],
        "style": "text"
      },
      "public_nick_name": "text"
    },
    "relationship": "text",
    "status": "text",
    "user_status": "text",
    "counter_user_status": "text",
    "company_employee_setting_adyen_card_transaction": {
      "status": "text",
      "monetary_account_payout_id": 1
    },
    "all_company_employee_card": [
      {
        "company_name_on_card": "text",
        "amount_limit_monthly": {
          "value": "text",
          "currency": "text"
        },
        "status": "text",
        "card": {
          "status": "text",
          "order_status": "text",
          "card_limit": {
            "value": "text",
            "currency": "text"
          },
          "card_limit_atm": {
            "value": "text",
            "currency": "text"
          },
          "country_permission": [
            {
              "country": "text",
              "id": 1
            }
          ],
          "pin_code_assignment": [
            {
              "type": "text",
              "routing_type": "text",
              "monetary_account_id": 1,
              "status": "text"
            }
          ],
          "primary_account_numbers": [
            {
              "id": 1,
              "description": "text",
              "status": "text",
              "monetary_account_id": 1,
              "uuid": "text",
              "four_digit": "text",
              "type": "text"
            }
          ],
          "monetary_account_id_fallback": 1,
          "preferred_name_on_card": "text",
          "second_line": "text"
        },
        "amount_spent_monthly": {
          "value": "text",
          "currency": "text"
        },
        "number_of_company_employee_card_receipt_pending": 1
      }
    ]
  },
  "share_type": "text",
  "start_date": "text",
  "end_date": "text",
  "description": "text"
}
put

Accept or reject a share a user was invited to.

Path parameters
userIDintegerRequired
itemIdintegerRequired
Header parameters
Cache-ControlstringOptional

The standard HTTP Cache-Control header is required for all signed requests.

User-AgentstringRequired

The User-Agent header field should contain information about the user agent originating the request. There are no restrictions on the value of this header.

X-Bunq-LanguagestringOptional

The X-Bunq-Language header must contain a preferred language indication. The value of this header is formatted as a ISO 639-1 language code plus a ISO 3166-1 alpha-2 country code, separated by an underscore. Currently only the languages en_US and nl_NL are supported. Anything else will default to en_US.

X-Bunq-RegionstringOptional

The X-Bunq-Region header must contain the region (country) of the client device. The value of this header is formatted as a ISO 639-1 language code plus a ISO 3166-1 alpha-2 country code, separated by an underscore.

X-Bunq-Client-Request-IdstringOptional

This header must specify an ID with each request that is unique for the logged in user. There are no restrictions for the format of this ID. However, the server will respond with an error when the same ID is used again on the same DeviceServer.

X-Bunq-GeolocationstringOptional

This header must specify the geolocation of the device. The format of this value is longitude latitude altitude radius country. The country is expected to be formatted of an ISO 3166-1 alpha-2 country code. When no geolocation is available or known the header must still be included but can be zero valued.

X-Bunq-Client-AuthenticationstringRequired

The authentication token is used to authenticate the source of the API call. It is required by all API calls except for POST /v1/installation. It is important to note that the device and session calls are using the token from the response of the installation call, while all the other calls use the token from the response of the session-server call

Body
statusstringOptional

The status of the share. Can be ACTIVE, REVOKED, REJECTED.

card_idintegerWrite-onlyOptional

The card to link to the shared monetary account. Used only if share_detail is ShareDetailCardPayment.

idintegerRead-onlyOptional

The id of the ShareInviteBankResponse.

createdstringRead-onlyOptional

The timestamp of the ShareInviteBankResponse creation.

updatedstringRead-onlyOptional

The timestamp of the ShareInviteBankResponse last update.

monetary_account_idintegerRead-onlyOptional

The id of the monetary account the ACCEPTED share applies to. null otherwise.

draft_share_invite_bank_idintegerRead-onlyOptional

The id of the draft share invite bank.

access_typestringRead-onlyOptional

Type of access that is wanted, one of VIEW_BALANCE, VIEW_TRANSACTION, DRAFT_PAYMENT or FULL_TRANSIENT

share_typestringRead-onlyOptional

The share type, either STANDARD or MUTUAL.

start_datestringRead-onlyOptional

The start date of this share.

end_datestringRead-onlyOptional

The expiration date of this share.

descriptionstringRead-onlyOptional

The description of this share. It is basically the monetary account description.

Responses
200
Used to view or respond to shares a user was invited to. See 'share-invite-bank-inquiry' for more information about the inquiring endpoint.
application/json
put
PUT /v1/user/{userID}/share-invite-monetary-account-response/{itemId} HTTP/1.1
Host: public-api.sandbox.bunq.com
User-Agent: text
X-Bunq-Client-Authentication: text
Content-Type: application/json
Accept: */*
Content-Length: 29

{
  "status": "text",
  "card_id": 1
}
{
  "Id": {
    "id": 1
  }
}
get

Return all the shares a user was invited to.

Path parameters
userIDintegerRequired
Header parameters
Cache-ControlstringOptional

The standard HTTP Cache-Control header is required for all signed requests.

User-AgentstringRequired

The User-Agent header field should contain information about the user agent originating the request. There are no restrictions on the value of this header.

X-Bunq-LanguagestringOptional

The X-Bunq-Language header must contain a preferred language indication. The value of this header is formatted as a ISO 639-1 language code plus a ISO 3166-1 alpha-2 country code, separated by an underscore. Currently only the languages en_US and nl_NL are supported. Anything else will default to en_US.

X-Bunq-RegionstringOptional

The X-Bunq-Region header must contain the region (country) of the client device. The value of this header is formatted as a ISO 639-1 language code plus a ISO 3166-1 alpha-2 country code, separated by an underscore.

X-Bunq-Client-Request-IdstringOptional

This header must specify an ID with each request that is unique for the logged in user. There are no restrictions for the format of this ID. However, the server will respond with an error when the same ID is used again on the same DeviceServer.

X-Bunq-GeolocationstringOptional

This header must specify the geolocation of the device. The format of this value is longitude latitude altitude radius country. The country is expected to be formatted of an ISO 3166-1 alpha-2 country code. When no geolocation is available or known the header must still be included but can be zero valued.

X-Bunq-Client-AuthenticationstringRequired

The authentication token is used to authenticate the source of the API call. It is required by all API calls except for POST /v1/installation. It is important to note that the device and session calls are using the token from the response of the installation call, while all the other calls use the token from the response of the session-server call

Responses
200
Used to view or respond to shares a user was invited to. See 'share-invite-bank-inquiry' for more information about the inquiring endpoint.
application/json
get
GET /v1/user/{userID}/share-invite-monetary-account-response HTTP/1.1
Host: public-api.sandbox.bunq.com
User-Agent: text
X-Bunq-Client-Authentication: text
Accept: */*
[
  {
    "id": 1,
    "created": "text",
    "updated": "text",
    "counter_alias": {
      "iban": "text",
      "display_name": "text",
      "avatar": {
        "uuid": "text",
        "anchor_uuid": "text",
        "image": [
          {
            "attachment_public_uuid": "text",
            "content_type": "text",
            "height": 1,
            "width": 1
          }
        ],
        "style": "text"
      },
      "label_user": {
        "uuid": "text",
        "display_name": "text",
        "country": "text",
        "avatar": {
          "uuid": "text",
          "anchor_uuid": "text",
          "image": [
            {
              "attachment_public_uuid": "text",
              "content_type": "text",
              "height": 1,
              "width": 1
            }
          ],
          "style": "text"
        },
        "public_nick_name": "text"
      },
      "country": "text",
      "bunq_me": {
        "type": "text",
        "value": "text",
        "name": "text"
      },
      "is_light": true,
      "swift_bic": "text",
      "swift_account_number": "text",
      "transferwise_account_number": "text",
      "transferwise_bank_code": "text",
      "merchant_category_code": "text"
    },
    "user_alias_cancelled": {
      "uuid": "text",
      "display_name": "text",
      "country": "text",
      "avatar": {
        "uuid": "text",
        "anchor_uuid": "text",
        "image": [
          {
            "attachment_public_uuid": "text",
            "content_type": "text",
            "height": 1,
            "width": 1
          }
        ],
        "style": "text"
      },
      "public_nick_name": "text"
    },
    "monetary_account_id": 1,
    "draft_share_invite_bank_id": 1,
    "share_detail": {
      "payment": {
        "make_payments": true,
        "make_draft_payments": true,
        "view_balance": true,
        "view_old_events": true,
        "view_new_events": true
      },
      "read_only": {
        "view_balance": true,
        "view_old_events": true,
        "view_new_events": true
      },
      "draft_payment": {
        "make_draft_payments": true,
        "view_balance": true,
        "view_old_events": true,
        "view_new_events": true
      }
    },
    "access_type": "text",
    "status": "text",
    "relation_user": {
      "user_id": "text",
      "counter_user_id": "text",
      "label_user": {
        "uuid": "text",
        "display_name": "text",
        "country": "text",
        "avatar": {
          "uuid": "text",
          "anchor_uuid": "text",
          "image": [
            {
              "attachment_public_uuid": "text",
              "content_type": "text",
              "height": 1,
              "width": 1
            }
          ],
          "style": "text"
        },
        "public_nick_name": "text"
      },
      "counter_label_user": {
        "uuid": "text",
        "display_name": "text",
        "country": "text",
        "avatar": {
          "uuid": "text",
          "anchor_uuid": "text",
          "image": [
            {
              "attachment_public_uuid": "text",
              "content_type": "text",
              "height": 1,
              "width": 1
            }
          ],
          "style": "text"
        },
        "public_nick_name": "text"
      },
      "relationship": "text",
      "status": "text",
      "user_status": "text",
      "counter_user_status": "text",
      "company_employee_setting_adyen_card_transaction": {
        "status": "text",
        "monetary_account_payout_id": 1
      },
      "all_company_employee_card": [
        {
          "company_name_on_card": "text",
          "amount_limit_monthly": {
            "value": "text",
            "currency": "text"
          },
          "status": "text",
          "card": {
            "status": "text",
            "order_status": "text",
            "card_limit": {
              "value": "text",
              "currency": "text"
            },
            "card_limit_atm": {
              "value": "text",
              "currency": "text"
            },
            "country_permission": [
              {
                "country": "text",
                "id": 1
              }
            ],
            "pin_code_assignment": [
              {
                "type": "text",
                "routing_type": "text",
                "monetary_account_id": 1,
                "status": "text"
              }
            ],
            "primary_account_numbers": [
              {
                "id": 1,
                "description": "text",
                "status": "text",
                "monetary_account_id": 1,
                "uuid": "text",
                "four_digit": "text",
                "type": "text"
              }
            ],
            "monetary_account_id_fallback": 1,
            "preferred_name_on_card": "text",
            "second_line": "text"
          },
          "amount_spent_monthly": {
            "value": "text",
            "currency": "text"
          },
          "number_of_company_employee_card_receipt_pending": 1
        }
      ]
    },
    "share_type": "text",
    "start_date": "text",
    "end_date": "text",
    "description": "text"
  }
]

Last updated

Was this helpful?