SmartGare
API referenceEndpoints

Reject a beneficiary version

Turns a waiting version down with why; it never comes into force and stays in the history. **Required permission:** `referential.carrier:approve-beneficiary`

POST/referential/v1/carrier-beneficiaries/{id}/rejection

Turns a waiting version down with why; it never comes into force and stays in the history.

Required permission: referential.carrier:approve-beneficiary

AuthorizationBearer <token>

In: header

Path Parameters

id*string

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

body*RejectCarrierPaymentDetailsRequest

Response Body

*/*

*/*

curl -X POST "https://example.com/referential/v1/carrier-beneficiaries/string/rejection" \  -H "Content-Type: application/json" \  -d '{    "reason": "string"  }'
{  "approved_at": "2019-08-24T14:15:22Z",  "approved_by": "string",  "bank_name": "string",  "beneficiary_name": "string",  "carrier_id": "string",  "effective_from": "2019-08-24",  "iban": "string",  "id": "string",  "recorded_at": "2019-08-24T14:15:22Z",  "recorded_by": "string",  "reference": "string",  "rejected_at": "2019-08-24T14:15:22Z",  "rejected_by": "string",  "rejection_reason": "string",  "status": "AWAITING_APPROVAL",  "swift_bic": "string"}