PATCH
/
v2
/
beneficiaries
/
untrust
curl --request PATCH \
  --url https://thirdparty.qonto.com/v2/beneficiaries/untrust \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "ids": [
    "921c60fc-df0e-4289-a864-38a438ad2366"
  ]
}'
{
  "beneficiaries": [
    {
      "id": "ce91bc4e-68d6-4ab0-bfab-4a9403f7f316",
      "name": "Alice In Wonderland",
      "status": "validated",
      "trusted": true,
      "bank_account": {
        "iban": "<string>",
        "bic": "<string>",
        "currency": "<string>",
        "account_number": "<string>",
        "routing_number": "<string>",
        "intermediary_bank_bic": "<string>",
        "swift_sort_code": "<string>"
      },
      "created_at": "2021-01-27T22:05:07.000Z",
      "updated_at": "2021-01-27T22:05:07.000Z"
    }
  ]
}

Authorizations

Authorization
string
header
required

Bearer authorization header: Bearer <token>, where <token> is the access token received from the authorization server at the end of the OAuth 2.0 flow.

Headers

X-Qonto-Staging-Token
string

Required only for Sandbox API requests; to get one, please sign up to the Developer Portal.

Body

application/json

Response

200
application/json
Returns the untrusted beneficiaries.

The response is of type object.