POST
/
v2
/
requests
/
{request_type}
/
{id}
/
approve
curl --request POST \
  --url https://thirdparty.qonto.com/v2/requests/{request_type}/{id}/approve \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --header 'X-Qonto-Idempotency-Key: <x-qonto-idempotency-key>' \
  --data '{
  "debit_iban": "FR7616958000019475096658493"
}'
{
  "request_transfer": {
    "id": "be160c90-058e-487a-b775-5b5cad3992aa",
    "request_type": "transfer",
    "initiator_id": "8fdb86eb-8e49-4be8-ab60-658b680629af",
    "approver_id": null,
    "note": "personal needs",
    "declined_note": null,
    "status": "approved",
    "currency": "EUR",
    "processed_at": null,
    "created_at": "2021-10-11T14:28:28Z"
  }
}

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-Idempotency-Key
string
required

The API supports idempotency for safely retrying requests without accidentally performing the same operation twice.

Example:

"219439cf-b519-4d62-86d0-57b6d15ebaa5"

X-Qonto-Staging-Token
string

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

Path Parameters

id
string
required

UUID of the request to be processed.

request_type
enum<string>
required

Type of a request to be approved.

Available options:
flash_cards,
virtual_cards,
transfers,
multi_transfers

Body

application/json

IBAN of account to debit for transfers or multi_transfers or IBAN of the account to link to the card for flash_cards or virtual_cards. If empty, the main account will be debited or linked.

Response

200
application/json
Returns the approved request.

The response is of type object.