POST
/
v2
/
requests
/
{request_type}
/
{id}
/
decline
curl --request POST \
  --url https://thirdparty.qonto.com/v2/requests/{request_type}/{id}/decline \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --header 'X-Qonto-Idempotency-Key: <x-qonto-idempotency-key>' \
  --data '{
  "declined_note": "Contact your manager please"
}'
{
"request_virtual_card": {
"id": "be160c90-058e-487a-b775-5b5cad3992aa",
"request_type": "virtual_card",
"initiator_id": "8fdb86eb-8e49-4be8-ab60-658b680629af",
"approver_id": null,
"note": "personal needs",
"declined_note": "Contact your manager please",
"status": "declined",
"payment_monthly_limit": "500.00",
"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-Staging-Token
string

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

X-Qonto-Idempotency-Key
string
required

Learn more in Idempotent Requests.

Example:

"123e4567-e89b-12d3-a456-426614174000"

Path Parameters

id
string
required

UUID of the request to be processed.

request_type
enum<string>
required

Type of a request to be declined.

Available options:
flash_cards,
virtual_cards,
transfers,
multi_transfers

Body

application/json

Response

200
application/json

Returns the declined request.

The response is of type object.